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
Merge branch 'mhi-net-immutable' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
crypto
/
asymmetric_keys
/
asym_tpm.c
diff --git
a/crypto/asymmetric_keys/asym_tpm.c
b/crypto/asymmetric_keys/asym_tpm.c
index
511932a
..
0959613
100644
(file)
--- a/
crypto/asymmetric_keys/asym_tpm.c
+++ b/
crypto/asymmetric_keys/asym_tpm.c
@@
-354,7
+354,7
@@
static uint32_t derive_pub_key(const void *pub_key, uint32_t len, uint8_t *buf)
memcpy(cur, e, sizeof(e));
cur += sizeof(e);
/* Zero parameters to satisfy set_pub_key ABI. */
- mem
set(cur, 0
, SETKEY_PARAMS_SIZE);
+ mem
zero_explicit(cur
, SETKEY_PARAMS_SIZE);
return cur - buf;
}