Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/tests/include/spe/
Dcrypto_spe.h64 #define psa_export_key \ macro
65 PSA_FUNCTION_NAME(psa_export_key)
/openthread-latest/third_party/mbedtls/repo/library/
Dpkwrite.c70 if (psa_export_key(pk->priv_id, tmp, sizeof(tmp), &tmp_len) != PSA_SUCCESS) { in pk_write_rsa_der()
165 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
171 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
194 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
Dpk.c598 psa_status_t status = psa_export_key(old_key_id, in export_import_into_psa()
890 status = psa_export_key(key_id, exp_key, sizeof(exp_key), &exp_key_len); in copy_from_psa()
Dssl_tls13_keys.c1866 status = psa_export_key(ssl->handshake->psk_opaque, in mbedtls_ssl_tls13_export_handshake_psk()
Dssl_tls12_server.c2653 status = psa_export_key(pk->priv_id, buf, sizeof(buf), &key_len); in ssl_get_ecdh_params_from_cert()
Dssl_msg.c116 PSA_CHK(psa_export_key(key, key_buf, block_size, &mac_key_length)); in mbedtls_ct_hmac()
Dpsa_crypto.c1475 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, in psa_export_key() function
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_slot_management.function307 PSA_ASSERT(psa_export_key(id, reexported, key_data->len,
312 TEST_EQUAL(psa_export_key(id, reexported,
401 PSA_ASSERT(psa_export_key(id,
578 PSA_ASSERT(psa_export_key(returned_target_id, export_buffer,
585 TEST_EQUAL(psa_export_key(returned_target_id, export_buffer,
692 PSA_ASSERT(psa_export_key(returned_target_id, export_buffer,
832 PSA_ASSERT(psa_export_key(keys[i],
909 PSA_ASSERT(psa_export_key(key,
984 PSA_ASSERT(psa_export_key(keys[available_key_slots - 1],
1013 PSA_ASSERT(psa_export_key(keys[i],
[all …]
Dtest_suite_psa_crypto_persistent_key.function305 PSA_ASSERT(psa_export_key(key_id, exported, export_size,
Dtest_suite_psa_crypto_storage_format.function179 PSA_ASSERT(psa_export_key(key_id,
Dtest_suite_psa_crypto_se_driver_hal_mocks.function423 TEST_ASSERT(psa_export_key(id,
Dtest_suite_psa_crypto_se_driver_hal.function675 SMOKE_ASSERT(psa_export_key(key,
965 PSA_ASSERT(psa_export_key(returned_id,
Dtest_suite_psa_crypto.function64 /** An invalid export length that will never be set by psa_export_key(). */
267 TEST_EQUAL(psa_export_key(key, buffer, sizeof(buffer), &length),
1698 PSA_ASSERT(psa_export_key(key, buffer, byte_size, &n));
1816 status = psa_export_key(key, exported, export_size, &exported_length);
1819 /* The exported length must be set by psa_export_key() to a value between 0
1848 PSA_ASSERT(psa_export_key(key2,
2850 PSA_ASSERT(psa_export_key(target_key, export_buffer,
9507 PSA_ASSERT(psa_export_key(derived_key,
9515 PSA_ASSERT(psa_export_key(derived_key,
9579 PSA_ASSERT(psa_export_key(derived_key,
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function795 psa_export_key(key, actual_output, sizeof(actual_output), &actual_output_length);
918 actual_status = psa_export_key(handle,
2152 actual_status = psa_export_key(key, output_buffer, expected_output->len, &output_size);
/openthread-latest/third_party/mbedtls/repo/tests/src/
Dpsa_crypto_stubs.c25 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, in psa_export_key() function
Dpsa_exercise_key.c1028 status = psa_export_key(key, exported, exported_size, &exported_length); in exercise_export_key()
Dpsa_test_wrappers.c561 psa_status_t status = (psa_export_key)(arg0_key, arg1_data, arg2_data_size, arg3_data_length); in mbedtls_test_wrap_psa_export_key()
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md61 * key material: output of `psa_export_key`
212 * key material: output of `psa_export_key`
273 * For a transparent key: output of `psa_export_key`.
333 * For a transparent key: output of `psa_export_key`.
424 * For a transparent key: output of `psa_export_key`.
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto.h741 psa_status_t psa_export_key(mbedtls_svc_key_id_t key,
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c163 PSA_CHECK(psa_export_key(key, in save_key()
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md98 If you need access to the key material, call [`psa_export_key`](https://mbed-tls.readthedocs.io/pro…
194 …* `PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_EXPORT` enables support for `psa_export_key` to export a key of …
784 …ort format for key pairs and public keys; see the documentation of [`psa_export_key`](https://mbed…
899 To export a PSA key pair or public key, call [`psa_export_key`](https://mbed-tls.readthedocs.io/pro…
1070 …lent of the debug functionality provided by `mbedtls_pk_debug`. Use `psa_export_key` to export the…
1203 * Accessing our private key: call [`psa_export_key`](https://mbed-tls.readthedocs.io/projects/api/e…
1209 * `mbedtls_dhm_get_value` for `MBEDTLS_DHM_PARAM_X` (our private key): call [`psa_export_key`](http…
1275 …xport/#group__import__export_1ga0336ea76bf30587ab204a8296462327b), [`psa_export_key`](https://mbed…
1276 …xport/#group__import__export_1ga0336ea76bf30587ab204a8296462327b), [`psa_export_key`](https://mbed…
1300 …ort some of the numbers in a key. You can export the whole key with `psa_export_key`, or with `psa…
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dpsa_test_wrappers.h327 #define psa_export_key(arg0_key, arg1_data, arg2_data_size, arg3_data_length) \ macro
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md192 …buffer contains the key material, in the same format as defined for `psa_export_key()` and `psa_ex…
881 …o the documentation of [`psa_export_key()`](https://armmbed.github.io/mbed-crypto/html/api/keys/ma…
909 …ttps://armmbed.github.io/mbed-crypto/html/api/keys/management.html#c.psa_export_key) in the PSA Cr…
912 … format documented for [`psa_export_key()`](https://armmbed.github.io/mbed-crypto/html/api/keys/ma…
1100 * `"export_key"`: called by `psa_export_key()`, or by `psa_copy_key()` when copying a key from or t…
Dpsa-conditional-inclusion-c.md90 * `PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_EXPORT` enables support for `psa_export_key` to export a key of t…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog2271 APIs. psa_import_key and psa_export_key will now correctly expect/output