Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
crypto
/
keywrap.c
diff --git
a/kernel/crypto/keywrap.c
b/kernel/crypto/keywrap.c
index
b1d106c
..
72014f9
100644
(file)
--- a/
kernel/crypto/keywrap.c
+++ b/
kernel/crypto/keywrap.c
@@
-212,7
+212,7
@@
static int crypto_kw_decrypt(struct blkcipher_desc *desc,
SEMIBSIZE))
ret = -EBADMSG;
SEMIBSIZE))
ret = -EBADMSG;
- memzero_explicit(
&
block, sizeof(struct crypto_kw_block));
+ memzero_explicit(block, sizeof(struct crypto_kw_block));
return ret;
}
return ret;
}
@@
-297,7
+297,7
@@
static int crypto_kw_encrypt(struct blkcipher_desc *desc,
/* establish the IV for the caller to pick up */
memcpy(desc->info, block->A, SEMIBSIZE);
/* establish the IV for the caller to pick up */
memcpy(desc->info, block->A, SEMIBSIZE);
- memzero_explicit(
&
block, sizeof(struct crypto_kw_block));
+ memzero_explicit(block, sizeof(struct crypto_kw_block));
return 0;
}
return 0;
}