git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: gcm - Fix IV buffer size in crypto_gcm_setkey
[pandora-kernel.git]
/
crypto
/
gcm.c
diff --git
a/crypto/gcm.c
b/crypto/gcm.c
index
9e47c4d
..
dd3bf30
100644
(file)
--- a/
crypto/gcm.c
+++ b/
crypto/gcm.c
@@
-103,7
+103,7
@@
static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key,
struct crypto_ablkcipher *ctr = ctx->ctr;
struct {
be128 hash;
- u8 iv[
8
];
+ u8 iv[
16
];
struct crypto_gcm_setkey_result result;