comparison th_crypto.h @ 624:36c50873e02c

Add one function argument name to the prototype.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Jan 2020 04:20:03 +0200
parents 9148bc3fa838
children
comparison
equal deleted inserted replaced
623:893b2deeb5be 624:36c50873e02c
43 43
44 44
45 void th_md5_init(th_md5state_t *ctx); 45 void th_md5_init(th_md5state_t *ctx);
46 void th_md5_append(th_md5state_t *ctx, const uint8_t *buf, size_t len); 46 void th_md5_append(th_md5state_t *ctx, const uint8_t *buf, size_t len);
47 void th_md5_finish(th_md5state_t *ctx, th_md5hash_t digest); 47 void th_md5_finish(th_md5state_t *ctx, th_md5hash_t digest);
48 void th_md5_print(FILE *, const th_md5hash_t digest); 48 void th_md5_print(FILE *fp, const th_md5hash_t digest);
49 49
50 void th_md5_append_u8(th_md5state_t *ctx, uint8_t val); 50 void th_md5_append_u8(th_md5state_t *ctx, uint8_t val);
51 51
52 #define TH_DEFINE_HEADER(xname) \ 52 #define TH_DEFINE_HEADER(xname) \
53 void th_md5_append_ ## xname ## 16 (th_md5state_t *ctx, uint16_t val); \ 53 void th_md5_append_ ## xname ## 16 (th_md5state_t *ctx, uint16_t val); \