Home
last modified time | relevance | path

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

/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_slot_management.function332 PSA_ASSERT(psa_export_key(id, reexported, key_data->len,
337 TEST_EQUAL(psa_export_key(id, reexported,
426 PSA_ASSERT(psa_export_key(id,
603 PSA_ASSERT(psa_export_key(returned_target_id, export_buffer,
610 TEST_EQUAL(psa_export_key(returned_target_id, export_buffer,
717 PSA_ASSERT(psa_export_key(returned_target_id, export_buffer,
855 PSA_ASSERT(psa_export_key(keys[i],
930 PSA_ASSERT(psa_export_key(keys[i],
959 PSA_ASSERT(psa_export_key(keys[i],
1045 PSA_ASSERT(psa_export_key(key,
[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.function42 /** An invalid export length that will never be set by psa_export_key(). */
245 TEST_EQUAL(psa_export_key(key, buffer, sizeof(buffer), &length),
1678 PSA_ASSERT(psa_export_key(key, buffer, byte_size, &n));
1796 status = psa_export_key(key, exported, export_size, &exported_length);
1799 /* The exported length must be set by psa_export_key() to a value between 0
1828 PSA_ASSERT(psa_export_key(key2,
2830 PSA_ASSERT(psa_export_key(target_key, export_buffer,
9487 PSA_ASSERT(psa_export_key(derived_key,
9495 PSA_ASSERT(psa_export_key(derived_key,
9559 PSA_ASSERT(psa_export_key(derived_key,
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function688 SMOKE_ASSERT(psa_export_key(key,
980 PSA_ASSERT(psa_export_key(returned_id,
Dtest_suite_psa_crypto_driver_wrappers.function811 psa_export_key(key, actual_output, sizeof(actual_output), &actual_output_length);
934 actual_status = psa_export_key(handle,
2168 actual_status = psa_export_key(key, output_buffer, expected_output->len, &output_size);
/mbedtls-latest/library/
Dpkwrite.c70 if (psa_export_key(pk->priv_id, tmp, sizeof(tmp), &tmp_len) != PSA_SUCCESS) { in pk_write_rsa_der()
173 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
179 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
202 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
Dpk.c594 psa_status_t status = psa_export_key(old_key_id, in export_import_into_psa()
885 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.c2650 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.c1513 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, in psa_export_key() function
/mbedtls-latest/tests/include/spe/
Dcrypto_spe.h64 #define psa_export_key \ macro
65 PSA_FUNCTION_NAME(psa_export_key)
/mbedtls-latest/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.c574 psa_status_t status = (psa_export_key)(arg0_key, arg1_data, arg2_data_size, arg3_data_length); in mbedtls_test_wrap_psa_export_key()
/mbedtls-latest/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`.
/mbedtls-latest/include/psa/
Dcrypto.h744 psa_status_t psa_export_key(mbedtls_svc_key_id_t key,
/mbedtls-latest/programs/psa/
Dkey_ladder_demo.c163 PSA_CHECK(psa_export_key(key, in save_key()
/mbedtls-latest/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…
/mbedtls-latest/tests/include/test/
Dpsa_test_wrappers.h340 #define psa_export_key(arg0_key, arg1_data, arg2_data_size, arg3_data_length) \ macro
/mbedtls-latest/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…
/mbedtls-latest/
DChangeLog2466 APIs. psa_import_key and psa_export_key will now correctly expect/output