From 49019783087ba969727a2ef7770f755be44022cb Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Mon, 21 Feb 2022 09:39:20 +0000 Subject: [PATCH] Modifies data files to match new test function name This commit alters the relevant .data files such that the new function name change of check_iv to iv_len_validity is relfected there. Signed-off-by: Thomas Daubney --- tests/suites/test_suite_cipher.chacha20.data | 10 +++++----- tests/suites/test_suite_cipher.chachapoly.data | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/suites/test_suite_cipher.chacha20.data b/tests/suites/test_suite_cipher.chacha20.data index bcd0032ea..31caf3ab1 100644 --- a/tests/suites/test_suite_cipher.chacha20.data +++ b/tests/suites/test_suite_cipher.chacha20.data @@ -116,20 +116,20 @@ enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:16:-1:16:16:16:16 ChaCha20 IV Length 0 depends_on:MBEDTLS_CHACHA20_C -check_iv:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20 IV Length 11 depends_on:MBEDTLS_CHACHA20_C -check_iv:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":11:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":11:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20 IV Length 12 depends_on:MBEDTLS_CHACHA20_C -check_iv:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":12:0 +iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":12:0 ChaCha20 IV Length 13 depends_on:MBEDTLS_CHACHA20_C -check_iv:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":13:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":13:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20 IV Length 16 depends_on:MBEDTLS_CHACHA20_C -check_iv:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":16:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":16:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA diff --git a/tests/suites/test_suite_cipher.chachapoly.data b/tests/suites/test_suite_cipher.chachapoly.data index 908951a18..df7891792 100644 --- a/tests/suites/test_suite_cipher.chachapoly.data +++ b/tests/suites/test_suite_cipher.chachapoly.data @@ -124,20 +124,20 @@ decrypt_test_vec:MBEDTLS_CIPHER_CHACHA20_POLY1305:-1:"1c9240a5eb55d38af333888604 ChaCha20+Poly1305 IV Length 0 depends_on:MBEDTLS_CHACHAPOLY_C -check_iv:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20+Poly1305 IV Length 11 depends_on:MBEDTLS_CHACHAPOLY_C -check_iv:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":11:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":11:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20+Poly1305 IV Length 12 depends_on:MBEDTLS_CHACHAPOLY_C -check_iv:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":12:0 +iv_len_validity:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":12:0 ChaCha20+Poly1305 IV Length 13 depends_on:MBEDTLS_CHACHAPOLY_C -check_iv:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":13:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":13:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ChaCha20+Poly1305 IV Length 16 depends_on:MBEDTLS_CHACHAPOLY_C -check_iv:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":16:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +iv_len_validity:MBEDTLS_CIPHER_CHACHA20_POLY1305:"CHACHA20-POLY1305":16:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA