]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - crypto/gcm.c
crypto: gcm - Fix IV buffer size in crypto_gcm_setkey
[mirror_ubuntu-zesty-kernel.git] / crypto / gcm.c
index 70a892e87ccb527d774c8aba72463813faca8b22..f624ac98c94e4d9b1910178feb279a610c603e28 100644 (file)
@@ -117,7 +117,7 @@ static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key,
        struct crypto_skcipher *ctr = ctx->ctr;
        struct {
                be128 hash;
-               u8 iv[8];
+               u8 iv[16];
 
                struct crypto_gcm_setkey_result result;