summaryrefslogtreecommitdiffstats
path: root/providers/implementations/include/prov/ciphercommon_gcm.h
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-09-15 11:08:27 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-09-17 12:55:39 +1000
commit8230710f04ed70fee41ec3ed8f3e4b1af55be05a (patch)
tree4d5e61c9cb5093b6593f0392bde9f281a61170dd /providers/implementations/include/prov/ciphercommon_gcm.h
parenteb750219f2ab7886f174a071f880b31cedeeb0a8 (diff)
Update AES GCM IV max length to be 1024 bits (was 512)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12875)
Diffstat (limited to 'providers/implementations/include/prov/ciphercommon_gcm.h')
-rw-r--r--providers/implementations/include/prov/ciphercommon_gcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/include/prov/ciphercommon_gcm.h b/providers/implementations/include/prov/ciphercommon_gcm.h
index c7d8b3c0a3..b6d5c74949 100644
--- a/providers/implementations/include/prov/ciphercommon_gcm.h
+++ b/providers/implementations/include/prov/ciphercommon_gcm.h
@@ -14,7 +14,7 @@
typedef struct prov_gcm_hw_st PROV_GCM_HW;
#define GCM_IV_DEFAULT_SIZE 12 /* IV's for AES_GCM should normally be 12 bytes */
-#define GCM_IV_MAX_SIZE 64
+#define GCM_IV_MAX_SIZE (1024 / 8)
#define GCM_TAG_MAX_SIZE 16
#if defined(OPENSSL_CPUID_OBJ) && defined(__s390__)