Home
last modified time | relevance | path

Searched refs:msg_len_test_data (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.5.0/library/
Dccm.c632 static const size_t msg_len_test_data[NB_TESTS] = { 4, 16, 24 }; variable
677 memcpy(plaintext, msg_test_data, msg_len_test_data[i]); in mbedtls_ccm_self_test()
679 ret = mbedtls_ccm_encrypt_and_tag(&ctx, msg_len_test_data[i], in mbedtls_ccm_self_test()
683 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test()
688 msg_len_test_data[i] + tag_len_test_data[i]) != 0) { in mbedtls_ccm_self_test()
697 ret = mbedtls_ccm_auth_decrypt(&ctx, msg_len_test_data[i], in mbedtls_ccm_self_test()
701 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test()
705 memcmp(plaintext, msg_test_data, msg_len_test_data[i]) != 0) { in mbedtls_ccm_self_test()