diff options
-rw-r--r-- | crypto/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac.c b/crypto/hmac.c index f403b6946047..d52b234835cf 100644 --- a/crypto/hmac.c +++ b/crypto/hmac.c | |||
@@ -98,7 +98,7 @@ static int hmac_init(struct hash_desc *pdesc) | |||
98 | sg_set_buf(&tmp, ipad, bs); | 98 | sg_set_buf(&tmp, ipad, bs); |
99 | 99 | ||
100 | return unlikely(crypto_hash_init(&desc)) ?: | 100 | return unlikely(crypto_hash_init(&desc)) ?: |
101 | crypto_hash_update(&desc, &tmp, 1); | 101 | crypto_hash_update(&desc, &tmp, bs); |
102 | } | 102 | } |
103 | 103 | ||
104 | static int hmac_update(struct hash_desc *pdesc, | 104 | static int hmac_update(struct hash_desc *pdesc, |