diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-05-30 12:53:20 +0000 |
---|---|---|
committer | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-05-30 12:53:20 +0000 |
commit | 727f7e78024854a6dc7b422e57c751ecb7013b43 (patch) | |
tree | f1eacc499b385774e775f06b2f0aad6fd76521be /tests | |
parent | a7a821d78eab24b9ef84d4ec4078a223497e7e8e (diff) | |
parent | 2e0f47858fd85dbb4ffa1cd0c741b3b1ff7203fe (diff) | |
download | gnutls-727f7e78024854a6dc7b422e57c751ecb7013b43.tar.gz |
Merge branch 'add-aes192-gcm' into 'master'
lib: add support for AES-192-GCM
See merge request gnutls/gnutls!1267
Diffstat (limited to 'tests')
-rw-r--r-- | tests/aead-cipher-vec.c | 1 | ||||
-rw-r--r-- | tests/slow/cipher-api-test.c | 2 | ||||
-rw-r--r-- | tests/slow/cipher-openssl-compat.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/aead-cipher-vec.c b/tests/aead-cipher-vec.c index 10e3db8626..fba9010d9e 100644 --- a/tests/aead-cipher-vec.c +++ b/tests/aead-cipher-vec.c @@ -116,6 +116,7 @@ doit(void) } start("aes-128-gcm", GNUTLS_CIPHER_AES_128_GCM); + start("aes-192-gcm", GNUTLS_CIPHER_AES_192_GCM); start("aes-256-gcm", GNUTLS_CIPHER_AES_256_GCM); start("aes-128-ccm", GNUTLS_CIPHER_AES_128_CCM); if (!gnutls_fips140_mode_enabled()) diff --git a/tests/slow/cipher-api-test.c b/tests/slow/cipher-api-test.c index a29963aa5a..17872b7a43 100644 --- a/tests/slow/cipher-api-test.c +++ b/tests/slow/cipher-api-test.c @@ -266,8 +266,10 @@ void start(const char *name, int algo, unsigned aead) void doit(void) { start("aes128-gcm", GNUTLS_CIPHER_AES_128_GCM, 1); + start("aes192-gcm", GNUTLS_CIPHER_AES_192_GCM, 1); start("aes256-gcm", GNUTLS_CIPHER_AES_256_GCM, 1); start("aes128-cbc", GNUTLS_CIPHER_AES_128_CBC, 0); + start("aes192-cbc", GNUTLS_CIPHER_AES_192_CBC, 0); start("aes256-cbc", GNUTLS_CIPHER_AES_256_CBC, 0); start("3des-cbc", GNUTLS_CIPHER_3DES_CBC, 0); if (!gnutls_fips140_mode_enabled()) { diff --git a/tests/slow/cipher-openssl-compat.c b/tests/slow/cipher-openssl-compat.c index 64adf25a45..3d55131e52 100644 --- a/tests/slow/cipher-openssl-compat.c +++ b/tests/slow/cipher-openssl-compat.c @@ -195,6 +195,7 @@ void doit(void) /* ciphers */ cipher_test("aes-128-gcm", GNUTLS_CIPHER_AES_128_GCM, 16); + cipher_test("aes-192-gcm", GNUTLS_CIPHER_AES_192_GCM, 16); cipher_test("aes-256-gcm", GNUTLS_CIPHER_AES_256_GCM, 16); #if OPENSSL_VERSION_NUMBER >= 0x10100000L if (!gnutls_fips140_mode_enabled()) { |