/third_party/mbedtls/tests/suites/ |
D | test_suite_ccm.function | 35 ASSERT_ALLOC( output, n1 ); 43 ASSERT_ALLOC( output, n2 ); 51 ASSERT_ALLOC( output, tag->len ); 191 ASSERT_ALLOC( io_msg_buf, msg->len ); 196 ASSERT_ALLOC( tag_buf, expected_tag_len ); 247 ASSERT_ALLOC( output, msg->len ); 273 ASSERT_ALLOC( io_msg_buf, expected_msg_len ); 345 ASSERT_ALLOC( io_msg_buf, msg->len ); 351 ASSERT_ALLOC( tag_buf, 16 ); 353 ASSERT_ALLOC( tag_buf, expected_tag_len ); [all …]
|
D | test_suite_gcm.function | 36 ASSERT_ALLOC( output, n1 ); 44 ASSERT_ALLOC( output, n2 ); 52 ASSERT_ALLOC( output, tag->len ); 91 ASSERT_ALLOC( output, input->len ); 99 ASSERT_ALLOC( output, tag->len ); 129 ASSERT_ALLOC( output_tag, tag->len ); 149 ASSERT_ALLOC( output, tag->len ); 448 ASSERT_ALLOC( output, output_len );
|
D | test_suite_psa_crypto_entropy.function | 87 ASSERT_ALLOC( input, input_size ); 88 ASSERT_ALLOC( signature, signature_size ); 139 ASSERT_ALLOC( seed, seed_size );
|
D | test_suite_psa_crypto_driver_wrappers.function | 454 ASSERT_ALLOC( output1, output1_buffer_size ); 455 ASSERT_ALLOC( output2, output2_buffer_size ); 572 ASSERT_ALLOC( output, output_buffer_size ); 704 ASSERT_ALLOC( output, output_buffer_size ); 808 ASSERT_ALLOC( input, input_buffer_size ); 814 ASSERT_ALLOC( output, output_buffer_size ); 863 ASSERT_ALLOC( output, input->len + 16 ); 1103 ASSERT_ALLOC( output_data, output_size ); 1166 ASSERT_ALLOC( output_data, output_size ); 1230 ASSERT_ALLOC( actual_mac, mac_buffer_size ); [all …]
|
D | test_suite_psa_crypto.function | 393 ASSERT_ALLOC( output_data, output_size ); 406 ASSERT_ALLOC( final_data, final_output_size ); 482 ASSERT_ALLOC( part_data, part_data_size ); 779 ASSERT_ALLOC( buffer, buffer_size ); 824 ASSERT_ALLOC( exported, export_size ); 826 ASSERT_ALLOC( reexported, export_size ); 940 ASSERT_ALLOC( exported, export_size ); 1328 ASSERT_ALLOC( buffer, buffer_length ); 1689 ASSERT_ALLOC( export_buffer, material->len ); 1844 ASSERT_ALLOC( output, output_size ); [all …]
|
D | test_suite_psa_crypto_persistent_key.function | 59 ASSERT_ALLOC( file_data, file_data_length ); 124 ASSERT_ALLOC( data, data_length ); 266 ASSERT_ALLOC( exported, export_size );
|
D | test_suite_psa_its.function | 90 ASSERT_ALLOC( buffer, data->len ); 120 ASSERT_ALLOC( buffer, MAX( data1->len, data2->len ) ); 215 ASSERT_ALLOC( buffer, length + 16 );
|
D | test_suite_pkcs12.function | 45 ASSERT_ALLOC( output_data, key_size );
|
D | test_suite_asn1parse.function | 138 ASSERT_ALLOC( buf, 1 ); 258 ASSERT_ALLOC( buf, buffer_size ); 529 ASSERT_ALLOC( buf, size ); 755 ASSERT_ALLOC( head.oid.p, 1 ); 757 ASSERT_ALLOC( head.val.p, 1 ); 782 ASSERT_ALLOC( new, sizeof( mbedtls_asn1_named_data ) );
|
D | test_suite_psa_crypto_storage_format.function | 39 ASSERT_ALLOC( actual_representation, storage_info.size ); 103 ASSERT_ALLOC( exported_material, expected_material->len );
|
D | test_suite_asn1write.function | 19 ASSERT_ALLOC( data->output, data->size == 0 ? 1 : data->size ); 348 ASSERT_ALLOC( nd[i].oid.p, oid[i]->len ); 402 ASSERT_ALLOC( nd.val.p, (size_t) old_len );
|
D | test_suite_psa_crypto_slot_management.function | 308 ASSERT_ALLOC( reexported, key_data->len ); 587 ASSERT_ALLOC( export_buffer, material->len ); 708 ASSERT_ALLOC( export_buffer, target_material->len ); 831 ASSERT_ALLOC( keys, max_keys ); 960 ASSERT_ALLOC( keys, MBEDTLS_PSA_KEY_SLOT_COUNT );
|
D | test_suite_cipher.function | 881 ASSERT_ALLOC( cipher_plus_tag, cipher_plus_tag_len ); 899 ASSERT_ALLOC( decrypt_buf, decrypt_buf_len - 1 ); 914 ASSERT_ALLOC( decrypt_buf, decrypt_buf_len ); 962 ASSERT_ALLOC( encrypt_buf, encrypt_buf_len - 1 ); 976 ASSERT_ALLOC( encrypt_buf, encrypt_buf_len );
|
D | test_suite_random.function | 166 ASSERT_ALLOC( output, n );
|
D | test_suite_psa_crypto_init.function | 271 ASSERT_ALLOC( seed, seed_size );
|
D | test_suite_mps.function | 834 ASSERT_ALLOC( acc, acc_size ); 841 ASSERT_ALLOC( outgoing, num_out_chunks * max_chunk_size ); 842 ASSERT_ALLOC( incoming, num_out_chunks * max_chunk_size ); 879 ASSERT_ALLOC( tmp, tmp_size );
|
D | test_suite_ssl.function | 2180 ASSERT_ALLOC( input, input_len ); 2195 ASSERT_ALLOC( output, output_len ); 3531 ASSERT_ALLOC( buf, buflen ); 3532 ASSERT_ALLOC( buf_save, buflen ); 4003 ASSERT_ALLOC( buf, buf_len ); 4680 ASSERT_ALLOC( out, out_len ); 4700 ASSERT_ALLOC( data, max_in_len ); 4754 ASSERT_ALLOC( dst, len ); 4755 ASSERT_ALLOC( src, src_len );
|
D | test_suite_ecp.function | 950 ASSERT_ALLOC( actual, expected->len );
|
D | test_suite_psa_crypto_se_driver_hal.function | 611 ASSERT_ALLOC( loaded, info.size );
|
D | test_suite_mpi.function | 1302 ASSERT_ALLOC( stats, stats_len );
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 523 ASSERT_ALLOC( public_key, public_key_length ); in mbedtls_test_psa_key_agreement_with_self() 565 ASSERT_ALLOC( public_key, public_key_length ); in mbedtls_test_psa_raw_key_agreement_with_self() 809 ASSERT_ALLOC( exported, exported_size ); in exercise_export_key() 854 ASSERT_ALLOC( exported, exported_size ); in exercise_export_public_key() 867 ASSERT_ALLOC( exported, exported_size ); in exercise_export_public_key()
|
/third_party/mbedtls/tests/include/test/ |
D | macros.h | 112 #define ASSERT_ALLOC( pointer, length ) \ macro
|