diff --git a/[refs] b/[refs] index 512dcd1a2c54..fd7cd0cadd9a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4c8bd7eeee4c8f157fb61fb64b57500990b42e0e +refs/heads/master: 5f77043f0f7851aa6139fb9a8b297497b540b397 diff --git a/trunk/crypto/hmac.c b/trunk/crypto/hmac.c index f403b6946047..d52b234835cf 100644 --- a/trunk/crypto/hmac.c +++ b/trunk/crypto/hmac.c @@ -98,7 +98,7 @@ static int hmac_init(struct hash_desc *pdesc) sg_set_buf(&tmp, ipad, bs); return unlikely(crypto_hash_init(&desc)) ?: - crypto_hash_update(&desc, &tmp, 1); + crypto_hash_update(&desc, &tmp, bs); } static int hmac_update(struct hash_desc *pdesc,