projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO] hmac: Fix hmac_init update call
[platform/kernel/linux-rpi.git]
/
crypto
/
hmac.c
diff --git
a/crypto/hmac.c
b/crypto/hmac.c
index
f403b69
..
d52b234
100644
(file)
--- a/
crypto/hmac.c
+++ b/
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,