2022-07-04 18:04:08 +02:00
|
|
|
#ifndef MD2_COMMON_H
|
|
|
|
#define MD2_COMMON_H
|
|
|
|
|
2022-07-20 10:36:19 +02:00
|
|
|
#include <errno.h>
|
2022-07-04 18:04:08 +02:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Some digits of pi
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
extern unsigned char MD2_PI_SUBST[256];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Print a buffer for debugging
|
|
|
|
*
|
|
|
|
* @param len length
|
|
|
|
* @param buf buffer
|
|
|
|
*/
|
|
|
|
void md2_print_buf(size_t len, uint8_t buf[len]);
|
|
|
|
|
|
|
|
#endif // MD2_COMMON_H
|