Home
last modified time | relevance | path

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

/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c698 const uint8_t *exported, size_t exported_length ) in mbedtls_test_psa_exported_key_sanity_check() argument
700 TEST_ASSERT( exported_length <= PSA_EXPORT_KEY_OUTPUT_SIZE( type, bits ) ); in mbedtls_test_psa_exported_key_sanity_check()
703 TEST_EQUAL( exported_length, PSA_BITS_TO_BYTES( bits ) ); in mbedtls_test_psa_exported_key_sanity_check()
710 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check()
750 TEST_ASSERT( exported_length <= PSA_EXPORT_KEY_PAIR_MAX_SIZE ); in mbedtls_test_psa_exported_key_sanity_check()
759 TEST_EQUAL( exported_length, PSA_BITS_TO_BYTES( bits ) ); in mbedtls_test_psa_exported_key_sanity_check()
761 TEST_ASSERT( exported_length <= PSA_EXPORT_KEY_PAIR_MAX_SIZE ); in mbedtls_test_psa_exported_key_sanity_check()
770 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check()
788 TEST_ASSERT( exported_length <= in mbedtls_test_psa_exported_key_sanity_check()
790 TEST_ASSERT( exported_length <= in mbedtls_test_psa_exported_key_sanity_check()
[all …]
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_slot_management.function829 size_t exported_length;
857 &exported_length ) );
858 ASSERT_COMPARE( exported, exported_length,
876 size_t exported_length;
934 &exported_length ) );
935 ASSERT_COMPARE( exported, exported_length,
952 size_t exported_length;
1005 &exported_length ) );
1007 ASSERT_COMPARE( exported, exported_length, (uint8_t *) &i, sizeof( i ) );
1035 &exported_length ) );
[all …]
Dtest_suite_psa_crypto_persistent_key.function268 size_t exported_length;
311 &exported_length ) );
313 ASSERT_COMPARE( data->x, data->len, exported, exported_length );
Dtest_suite_psa_crypto_se_driver_hal_mocks.function408 size_t exported_length;
434 &exported_length ) == expected_result );
529 size_t exported_length;
554 &exported_length ) == expected_result );
Dtest_suite_psa_crypto.function1567 size_t exported_length = INVALID_EXPORT_LENGTH;
1593 status = psa_export_key( key, exported, export_size, &exported_length );
1598 TEST_ASSERT( exported_length != INVALID_EXPORT_LENGTH );
1599 TEST_ASSERT( status == PSA_SUCCESS || exported_length == 0 );
1600 TEST_LE_U( exported_length, export_size );
1602 TEST_ASSERT( mem_is_char( exported + exported_length, 0,
1603 export_size - exported_length ) );
1606 TEST_EQUAL( exported_length, 0 );
1621 ASSERT_COMPARE( data->x, data->len, exported, exported_length );
1625 PSA_ASSERT( psa_import_key( &attributes, exported, exported_length,
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function877 size_t exported_length;
973 &exported_length ) );
975 exported, exported_length );
/mbedtls-3.4.0/tests/include/test/
Dpsa_exercise_key.h198 const uint8_t *exported, size_t exported_length );
/mbedtls-3.4.0/docs/
Dgetting_started.md848 size_t exported_length = 0;
878 &exported_length);