Skip to content

Commit b013146

Browse files
committed
test: Remove redundant 0-byte decryption test
Remove the "Decrypt empty buffer" test, as ChaCha20 is a stream cipher and 0 bytes encrypted is identical to a 0 length buffer. The "ChaCha20 Encrypt and decrypt 0 bytes" test will test decryption of a 0 length buffer.
1 parent 5ab80ef commit b013146

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/suites/test_suite_cipher.chacha20.data

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Decrypt empty buffer
2-
depends_on:MBEDTLS_CHACHA20_C
3-
dec_empty_buf:MBEDTLS_CIPHER_CHACHA20
4-
51
Chacha20 RFC 7539 Test Vector #1
62
depends_on:MBEDTLS_CHACHA20_C
73
decrypt_test_vec:MBEDTLS_CIPHER_CHACHA20:-1:"0000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000":"76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"":"":0:0

0 commit comments

Comments
 (0)