summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/crypto/aes_cbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest/crypto/aes_cbc.c')
-rw-r--r--src/plugins/unittest/crypto/aes_cbc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/unittest/crypto/aes_cbc.c b/src/plugins/unittest/crypto/aes_cbc.c
index b3e95e4c093..05a16c29a5c 100644
--- a/src/plugins/unittest/crypto/aes_cbc.c
+++ b/src/plugins/unittest/crypto/aes_cbc.c
@@ -137,6 +137,20 @@ UNITTEST_REGISTER_CRYPTO_TEST (nist_aes256_cbc_chained) = {
TEST_DATA_CHUNK (ciphertext256, 32, 32),
},
};
+
+UNITTEST_REGISTER_CRYPTO_TEST (nist_aes256_incr) = {
+ .name = "NIST SP 800-38A incr (1024 B)",
+ .alg = VNET_CRYPTO_ALG_AES_256_CBC,
+ .key.length = 32,
+ .plaintext_incremental = 1024,
+};
+
+UNITTEST_REGISTER_CRYPTO_TEST (nist_aes256_incr2) = {
+ .name = "NIST SP 800-38A incr (1056 B)",
+ .alg = VNET_CRYPTO_ALG_AES_256_CBC,
+ .key.length = 32,
+ .plaintext_incremental = 1056,
+};
/* *INDENT-ON* */
/*