projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
drivers
/
crypto
/
inside-secure
/
safexcel_hash.c
diff --git
a/drivers/crypto/inside-secure/safexcel_hash.c
b/drivers/crypto/inside-secure/safexcel_hash.c
index
d138d6b
..
c77b0e1
100644
(file)
--- a/
drivers/crypto/inside-secure/safexcel_hash.c
+++ b/
drivers/crypto/inside-secure/safexcel_hash.c
@@
-922,7
+922,7
@@
int safexcel_hmac_setkey(const char *alg, const u8 *key, unsigned int keylen,
crypto_ahash_clear_flags(tfm, ~0);
blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
- ipad = k
zalloc(2 *
blocksize, GFP_KERNEL);
+ ipad = k
calloc(2,
blocksize, GFP_KERNEL);
if (!ipad) {
ret = -ENOMEM;
goto free_request;