crypto: gcm - Fix IV buffer size in crypto_gcm_setkey
[pandora-kernel.git] / crypto / gcm.c
index 9e47c4d..dd3bf30 100644 (file)
@@ -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;