Make ipad/opad dynamic and more opaque
This commit is contained in:
parent
80c988ba79
commit
dfb3dc8b53
2 changed files with 46 additions and 16 deletions
|
@ -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 { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue