Searched refs:msg_len_test_data (Results 1 – 1 of 1) sorted by relevance
/third_party/mbedtls/library/ |
D | ccm.c | 642 static const size_t msg_len_test_data[NB_TESTS] = { 4, 16, 24 }; variable 687 memcpy( plaintext, msg_test_data, msg_len_test_data[i] ); in mbedtls_ccm_self_test() 689 ret = mbedtls_ccm_encrypt_and_tag( &ctx, msg_len_test_data[i], in mbedtls_ccm_self_test() 693 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test() 698 msg_len_test_data[i] + tag_len_test_data[i] ) != 0 ) in mbedtls_ccm_self_test() 707 ret = mbedtls_ccm_auth_decrypt( &ctx, msg_len_test_data[i], in mbedtls_ccm_self_test() 711 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test() 715 memcmp( plaintext, msg_test_data, msg_len_test_data[i] ) != 0 ) in mbedtls_ccm_self_test()
|