/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 161 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, 253 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, 397 PSA_ASSERT(psa_import_key(&attributes, material1, sizeof(material1), 406 TEST_EQUAL(psa_import_key(&attributes, material2, sizeof(material2), 492 TEST_EQUAL(psa_import_key(&attributes, material, sizeof(material), 547 PSA_ASSERT(psa_import_key(&source_attributes, 671 PSA_ASSERT(psa_import_key(&attributes, 684 PSA_ASSERT(psa_import_key(&attributes1, 758 PSA_ASSERT(psa_import_key(&attributes, 785 PSA_ASSERT(psa_import_key(&attributes, [all …]
|
D | test_suite_psa_crypto_op_fail.function | 92 PSA_ASSERT(psa_import_key(&attributes, 138 PSA_ASSERT(psa_import_key(&attributes, 184 PSA_ASSERT(psa_import_key(&attributes, 239 PSA_ASSERT(psa_import_key(&attributes, 307 PSA_ASSERT(psa_import_key(&attributes, 373 PSA_ASSERT(psa_import_key(&attributes,
|
D | test_suite_psa_crypto_persistent_key.function | 135 TEST_EQUAL(psa_import_key(&attributes, data, data_length, &key_id), 166 PSA_ASSERT(psa_import_key(&attributes, first_data->x, first_data->len, 189 PSA_ASSERT(psa_import_key(&attributes, second_data->x, second_data->len, 214 TEST_EQUAL(psa_import_key(&attributes, data->x, data->len, &returned_key_id), 277 PSA_ASSERT(psa_import_key(&attributes, data->x, data->len,
|
D | test_suite_psa_crypto.function | 169 PSA_ASSERT(psa_import_key(&attributes, key_bytes, key_length, &key)); 201 PSA_ASSERT(psa_import_key(&attributes, key_bytes, key_length, &key)); 381 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, 624 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, 1343 psa_status_t status = psa_import_key(skc->attributes, skc->data->x, 1385 * 2: N threads reserve an empty key slot in psa_import_key, 1552 status = psa_import_key(&attributes, 1600 status = psa_import_key(&attributes, data->x, data->len, &key); 1667 status = psa_import_key(&attributes, buffer, byte_size, &key); 1729 status = psa_import_key(&attributes, p, length, &key); [all …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 536 psa_import_key(&attributes, 606 psa_import_key(&attributes, 613 psa_import_key(&attributes, 663 psa_import_key(&attributes, 735 psa_import_key(&attributes, 742 psa_import_key(&attributes, 868 actual_status = psa_import_key(&attributes, key_input->x, key_input->len, &key); 909 PSA_ASSERT(psa_import_key(&attributes, key_in->x, key_in->len, &handle)); 989 PSA_ASSERT(psa_import_key(&attributes, 1076 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 352 TEST_ASSERT(psa_import_key(&attributes, 419 PSA_ASSERT(psa_import_key(&attributes, 536 PSA_ASSERT(psa_import_key(&attributes, 594 PSA_ASSERT(psa_import_key(&attributes, 654 PSA_ASSERT(psa_import_key(&attributes,
|
D | test_suite_psa_crypto_se_driver_hal.function | 394 status = psa_import_key(&attributes, 478 DRIVER_ASSERT(psa_import_key(&attributes, 511 DRIVER_ASSERT(psa_import_key(&attributes, 911 PSA_ASSERT(psa_import_key(&attributes, 948 PSA_ASSERT(psa_import_key(&attributes, 1044 status = psa_import_key(&attributes, 1136 PSA_ASSERT(psa_import_key(&attributes, 1376 PSA_ASSERT(psa_import_key(&drv_attributes, 1386 PSA_ASSERT(psa_import_key(&sw_attributes, 1400 PSA_ASSERT(psa_import_key(&sw_attributes,
|
D | test_suite_psa_crypto_entropy.function | 121 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, 132 PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len,
|
D | test_suite_psa_crypto_not_supported.function | 23 TEST_EQUAL(psa_import_key(&attributes,
|
D | test_suite_psa_crypto_pake.function | 627 PSA_ASSERT(psa_import_key(&attributes, password, sizeof(password), 796 PSA_ASSERT(psa_import_key(&attributes, pw_data->x, pw_data->len, 860 PSA_ASSERT(psa_import_key(&attributes, pw_data->x, pw_data->len, 1007 PSA_ASSERT(psa_import_key(&attributes, (uint8_t *) password, strlen(password), &key));
|
D | test_suite_psa_crypto_hash.function | 57 PSA_ASSERT(psa_import_key(&attributes, key_data, sizeof(key_data), &key));
|
D | test_suite_constant_time_hmac.function | 67 TEST_EQUAL(PSA_SUCCESS, psa_import_key(&attributes,
|
/mbedtls-latest/library/ |
D | pk_ecc.c | 70 status = psa_import_key(&attributes, key, key_len, &pk->priv_id); in mbedtls_pk_ecc_set_key() 115 status = psa_import_key(&key_attr, prv, prv_len, &key_id); in mbedtls_pk_ecc_set_pubkey_from_prv() 234 if ((psa_import_key(&key_attrs, pk->pub_raw, pk->pub_raw_len, in mbedtls_pk_ecc_set_pubkey()
|
D | pk_wrap.c | 105 status = psa_import_key(&attributes, in rsa_verify_wrap() 203 status = psa_import_key(&attributes, in mbedtls_pk_psa_rsa_sign_ext() 316 status = psa_import_key(&attributes, in rsa_decrypt_wrap() 399 status = psa_import_key(&attributes, in rsa_encrypt_wrap() 561 status = psa_import_key(&attributes, key, key_len, &key_id); in ecdsa_verify_psa() 790 status = psa_import_key(&attributes, buf, key_len, &key_id); in ecdsa_sign_wrap() 984 status = psa_import_key(&key_attr, prv_key_buf, curve_bytes, &key_id); in eckey_check_pair_psa()
|
D | pk.c | 600 status = psa_import_key(attributes, key_buffer, key_length, new_key_id); in export_import_into_psa() 662 ret = PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_pair_into_psa() 716 ret = PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_pair_into_psa() 833 return PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_public_into_psa() 1171 status = psa_import_key(&attributes, in mbedtls_pk_verify_ext()
|
D | ssl_ticket.c | 99 psa_import_key(&attributes, buf, in ssl_ticket_gen_key() 187 if ((status = psa_import_key(&attributes, k, in mbedtls_ssl_ticket_rotate()
|
D | block_cipher.c | 140 status = psa_import_key(&key_attr, key, PSA_BITS_TO_BYTES(key_bitlen), &ctx->psa_key_id); in mbedtls_block_cipher_setkey()
|
D | ssl_tls13_keys.c | 750 status = psa_import_key(&attributes, finished_key, hash_len, &key); in ssl_tls13_calc_finished_core() 1067 if ((status = psa_import_key(&attributes, in mbedtls_ssl_tls13_populate_transform() 1078 if ((status = psa_import_key(&attributes, in mbedtls_ssl_tls13_populate_transform()
|
/mbedtls-latest/tests/include/spe/ |
D | crypto_spe.h | 56 #define psa_import_key \ macro 57 PSA_FUNCTION_NAME(psa_import_key)
|
/mbedtls-latest/tests/src/test_helpers/ |
D | ssl_helpers.c | 1381 CHK(psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1385 CHK(psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1398 CHK(psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1402 CHK(psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1560 status = psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1570 status = psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1582 status = psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms() 1592 status = psa_import_key(&attributes, in mbedtls_test_ssl_build_transforms()
|
/mbedtls-latest/tests/src/ |
D | psa_crypto_stubs.c | 63 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, in psa_import_key() function
|
/mbedtls-latest/docs/architecture/testing/ |
D | psa-storage-format-testing.md | 62 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…
|
/mbedtls-latest/programs/psa/ |
D | hmac_demo.c | 110 status = psa_import_key(&attributes, in hmac_demo()
|
D | aead_demo.c | 156 PSA_CHECK(psa_import_key(&attributes, key_bytes, key_bits / 8, key)); in aead_prepare()
|
/mbedtls-latest/docs/ |
D | psa-transition.md | 92 … object with a key creation function. The two most common ones are [`psa_import_key`](https://mbed… 191 …* `PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_IMPORT` enables support for `psa_import_key` to import a key of … 349 …262b5afbfa018) to set the key's size in bits. This is optional with `psa_import_key`, which determ… 353 …* Use [`psa_import_key`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/gro… 537 …262b5afbfa018) to set the key's size in bits. This is optional with `psa_import_key`, which determ… 541 …* Use [`psa_import_key`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/gro… 669 …18) to set the key's conceptual size in bits. This is optional with `psa_import_key`, which determ… 673 …* Use [`psa_import_key`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/gro… 784 To create a key object from existing material, use [`psa_import_key`](https://mbed-tls.readthedocs.… 805 * Parsing a key in a format that the PK module supports, but `psa_import_key` doesn't. [all …]
|