Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_ccm.function35 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 …]
Dtest_suite_gcm.function36 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 );
Dtest_suite_psa_crypto_entropy.function87 ASSERT_ALLOC( input, input_size );
88 ASSERT_ALLOC( signature, signature_size );
139 ASSERT_ALLOC( seed, seed_size );
Dtest_suite_psa_crypto_driver_wrappers.function454 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 …]
Dtest_suite_psa_crypto.function393 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 …]
Dtest_suite_psa_crypto_persistent_key.function59 ASSERT_ALLOC( file_data, file_data_length );
124 ASSERT_ALLOC( data, data_length );
266 ASSERT_ALLOC( exported, export_size );
Dtest_suite_psa_its.function90 ASSERT_ALLOC( buffer, data->len );
120 ASSERT_ALLOC( buffer, MAX( data1->len, data2->len ) );
215 ASSERT_ALLOC( buffer, length + 16 );
Dtest_suite_pkcs12.function45 ASSERT_ALLOC( output_data, key_size );
Dtest_suite_asn1parse.function138 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 ) );
Dtest_suite_psa_crypto_storage_format.function39 ASSERT_ALLOC( actual_representation, storage_info.size );
103 ASSERT_ALLOC( exported_material, expected_material->len );
Dtest_suite_asn1write.function19 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 );
Dtest_suite_psa_crypto_slot_management.function308 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 );
Dtest_suite_cipher.function881 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 );
Dtest_suite_random.function166 ASSERT_ALLOC( output, n );
Dtest_suite_psa_crypto_init.function271 ASSERT_ALLOC( seed, seed_size );
Dtest_suite_mps.function834 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 );
Dtest_suite_ssl.function2180 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 );
Dtest_suite_ecp.function950 ASSERT_ALLOC( actual, expected->len );
Dtest_suite_psa_crypto_se_driver_hal.function611 ASSERT_ALLOC( loaded, info.size );
Dtest_suite_mpi.function1302 ASSERT_ALLOC( stats, stats_len );
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c523 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/
Dmacros.h112 #define ASSERT_ALLOC( pointer, length ) \ macro