Make ipad/opad dynamic and more opaque

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-25 11:49:07 +01:00
parent 80c988ba79
commit dfb3dc8b53
2 changed files with 46 additions and 16 deletions

View file

@ -79,9 +79,8 @@ typedef struct {
/** Digest-specific context */
void *md_ctx;
/** HMAC part of the context (WIP: fixed size) */
unsigned char ipad[128];
unsigned char opad[128];
/** HMAC part of the context */
void *hmac_ctx;
} md_context_t;
#define MD_CONTEXT_T_INIT { \