X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fmac%2Fhmac.c;h=b438798878a4f65b6e106061a0294e8b8b6ed800;hp=765e454d93f53c2c4a0f423d807da030bf6dcc81;hb=b715b43e411dc5d5949df6f75ef7bb65952db11c;hpb=3210f38e0491b39aec1ef419cb4114e9483089fb diff --git a/src/mac/hmac.c b/src/mac/hmac.c index 765e454..b438798 100644 --- a/src/mac/hmac.c +++ b/src/mac/hmac.c @@ -57,7 +57,7 @@ void br_hmac_key_init(br_hmac_key_context *kc, const br_hash_class *dig, const void *key, size_t key_len) { - br_hmac_allhash_context hc; + br_hash_compat_context hc; unsigned char kbuf[64]; kc->dig_vtable = dig; @@ -105,7 +105,7 @@ size_t br_hmac_out(const br_hmac_context *ctx, void *out) { const br_hash_class *dig; - br_hmac_allhash_context hc; + br_hash_compat_context hc; unsigned char tmp[64]; size_t blen, hlen;