Add MD5_Hmac

This commit is contained in:
Samuel Thibault 2024-10-19 21:42:32 +02:00
parent e856f0a920
commit 42ef80e0b4
2 changed files with 48 additions and 0 deletions

1
md5.h
View file

@ -25,5 +25,6 @@ typedef struct {
extern void MD5_Init(MD5_CTX *ctx);
extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size);
extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
extern void MD5_Hmac(unsigned char *result, const void *data, unsigned long size, const void *key, unsigned long key_size);
#endif /* __MD5_H__ */