libft_ssl/src/libft_ssl.c

13 lines
331 B
C

#include "libft_ssl.h"
#define DIGEST_ALGO(lower, ds, bs) \
const struct digest_algo g_##lower = { \
.name = #lower, \
.digest_size = (ds), \
.block_size = (bs), \
.init = lower##_init, \
.update = lower##_update, \
.final = lower##_final, \
};
#include "digest_algos.h"
#undef DIGEST_ALGO