commit | dfb3dc8b5395b990ef283f117fed0010754ac1e3 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Mar 25 11:49:07 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Mar 25 21:55:56 2015 +0100 |
tree | 7fc68b6ffb3b48902440419d8bf071d875ea04e3 | |
parent | 80c988ba7998cb9655510abed9addcedf795c048 [diff] [blame] |
Make ipad/opad dynamic and more opaque
diff --git a/include/mbedtls/md.h b/include/mbedtls/md.h index 335bc72..490845a 100644 --- a/include/mbedtls/md.h +++ b/include/mbedtls/md.h
@@ -79,9 +79,8 @@ /** 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 { \