Home
last modified time | relevance | path

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

/openthread-3.6.0/third_party/mbedtls/repo/tests/include/spe/
Dcrypto_spe.h57 #define psa_import_key \ macro
58 PSA_FUNCTION_NAME(psa_import_key)
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_persistent_key.function131 TEST_EQUAL( psa_import_key( &attributes, data, data_length, &key_id ),
161 PSA_ASSERT( psa_import_key( &attributes, first_data->x, first_data->len,
185 PSA_ASSERT( psa_import_key( &attributes, second_data->x, second_data->len,
210 TEST_EQUAL( psa_import_key( &attributes, data->x, data->len, &returned_key_id ),
275 PSA_ASSERT( psa_import_key( &attributes, data->x, data->len,
Dtest_suite_psa_crypto_slot_management.function141 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
232 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
378 PSA_ASSERT( psa_import_key( &attributes, material1, sizeof( material1 ),
386 TEST_EQUAL( psa_import_key( &attributes, material2, sizeof( material2 ),
472 TEST_EQUAL( psa_import_key( &attributes, material, sizeof( material ),
527 PSA_ASSERT( psa_import_key( &source_attributes,
659 PSA_ASSERT( psa_import_key( &attributes,
675 PSA_ASSERT( psa_import_key( &attributes1,
749 PSA_ASSERT( psa_import_key( &attributes,
783 PSA_ASSERT( psa_import_key( &attributes,
[all …]
Dtest_suite_psa_crypto.function149 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) );
182 PSA_ASSERT( psa_import_key( &attributes, key_bytes, key_length, &key ) );
377 status = psa_import_key( &attributes,
424 status = psa_import_key( &attributes, data->x, data->len, &key );
474 status = psa_import_key( &attributes, buffer, byte_size, &key );
532 status = psa_import_key( &attributes, p, length, &key );
577 PSA_ASSERT( psa_import_key( &attributes, data->x, data->len, &key ) );
615 PSA_ASSERT( psa_import_key( &attributes, exported, exported_length,
673 PSA_ASSERT( psa_import_key( &attributes, data->x, data->len, &key ) );
731 PSA_ASSERT( psa_import_key( &attributes, data->x, data->len, &key ) );
[all …]
Dtest_suite_psa_crypto_not_supported.function23 TEST_EQUAL( psa_import_key( &attributes,
Dtest_suite_psa_crypto_driver_wrappers.function34 psa_import_key( &attributes,
92 psa_import_key( &attributes,
102 psa_import_key( &attributes,
148 psa_import_key( &attributes,
208 psa_import_key( &attributes,
218 psa_import_key( &attributes,
339 actual_status = psa_import_key( &attributes, key_input->x, key_input->len, &key );
379 PSA_ASSERT( psa_import_key( &attributes, key_in->x, key_in->len, &handle ) );
457 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
559 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function357 TEST_ASSERT( psa_import_key( &attributes,
428 PSA_ASSERT( psa_import_key( &attributes,
549 PSA_ASSERT( psa_import_key( &attributes,
607 PSA_ASSERT( psa_import_key( &attributes,
667 PSA_ASSERT( psa_import_key( &attributes,
Dtest_suite_psa_crypto_entropy.function91 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
102 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
Dtest_suite_psa_crypto_se_driver_hal.function379 status = psa_import_key( &attributes,
463 DRIVER_ASSERT( psa_import_key( &attributes,
496 DRIVER_ASSERT( psa_import_key( &attributes,
891 PSA_ASSERT( psa_import_key( &attributes,
931 PSA_ASSERT( psa_import_key( &attributes,
1025 status = psa_import_key( &attributes,
1114 PSA_ASSERT( psa_import_key( &attributes,
1347 PSA_ASSERT( psa_import_key( &drv_attributes,
1358 PSA_ASSERT( psa_import_key( &sw_attributes,
1371 PSA_ASSERT( psa_import_key( &sw_attributes,
Dtest_suite_psa_crypto_init.function211 status = psa_import_key( &attributes, data, sizeof( data ), &key );
Dtest_suite_psa_crypto_storage_format.function31 PSA_ASSERT( psa_import_key( attributes, material->x, material->len,
/openthread-3.6.0/third_party/mbedtls/repo/docs/architecture/testing/
Dpsa-storage-format-testing.md62 Method: Create a key with a given identifier (using `psa_import_key`) and verify that a file with t…
68 Method: Create a key with certain metadata with `psa_import_key`. Read the file content and validat…
83 Method: Each test case creates a key with `psa_import_key`, purges it from memory, then reads it ba…
/openthread-3.6.0/third_party/mbedtls/repo/docs/
Dgetting_started.md98 status = psa_import_key(&attributes, key, key_len, &key_id);
157 status = psa_import_key(&attributes, key, key_len, &key_id);
235 status = psa_import_key(&attributes, key, key_len, &key_id);
319 status = psa_import_key(&attributes, key, key_len, &key_id);
613 status = psa_import_key(&attributes, key, sizeof(key), &base_key);
729 status = psa_import_key(&attributes, key, sizeof(key), &key_id);
800 status = psa_import_key(&attributes, key_data, sizeof(key_data), &key_id);
/openthread-3.6.0/third_party/mbedtls/repo/include/psa/
Dcrypto.h658 psa_status_t psa_import_key(const psa_key_attributes_t *attributes,
/openthread-3.6.0/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c253 PSA_CHECK( psa_import_key( &attributes, key_data, key_size, master_key ) ); in import_key_from_file()
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpk.c631 if( PSA_SUCCESS != psa_import_key( &attributes, d, d_len, key ) ) in mbedtls_pk_wrap_as_opaque()
Dpk_wrap.c577 status = psa_import_key( &attributes, in ecdsa_verify_wrap()
Dcipher.c300 status = psa_import_key( &attributes, key, key_bytelen, in mbedtls_cipher_setkey()
Dpsa_crypto.c1957 psa_status_t psa_import_key( const psa_key_attributes_t *attributes, in psa_import_key() function
Dssl_tls.c639 status = psa_import_key( &key_attributes, secret, slen, &master_key ); in tls_prf_generic()
/openthread-3.6.0/third_party/mbedtls/repo/docs/architecture/
Dpsa-crypto-implementation-structure.md60 …ail_key_creation(). Implementations of key creation PSA APIs, namely psa_import_key(), psa_generat…
/openthread-3.6.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md340 …ation-specific format that the core documents as an acceptable input format for `psa_import_key()`.
353 …to `psa_import_key`, it passes an `attributes` structure such that `psa_get_key_bits(attributes)` …
447 * [`"import_key"`](#key-import-with-transparent-drivers): called by `psa_import_key()`, only when i…
469 … may support additional formats as specified in the description of [`psa_import_key()`](https://ar…
662 * `"import_key"`: called by `psa_import_key()`, or by `psa_copy_key()` when copying a key from anot…
670 * `"allocate_key"`: called by `psa_import_key()`, `psa_generate_key()`, `psa_key_derivation_output_…
/openthread-3.6.0/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c1958 status = psa_import_key( &key_attributes, psk, psk_len, &slot ); in main()
Dssl_server2.c1202 status = psa_import_key( &key_attributes, psk, psk_len, slot ); in psa_setup_psk_key_slot()
/openthread-3.6.0/third_party/mbedtls/repo/
DChangeLog676 APIs. psa_import_key and psa_export_key will now correctly expect/output