Home
last modified time | relevance | path

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

12

/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_slot_management.function161 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 …]
Dtest_suite_psa_crypto_op_fail.function92 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,
Dtest_suite_psa_crypto_persistent_key.function135 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,
Dtest_suite_psa_crypto.function169 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 …]
Dtest_suite_psa_crypto_driver_wrappers.function536 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 …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function352 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,
Dtest_suite_psa_crypto_se_driver_hal.function394 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,
Dtest_suite_psa_crypto_entropy.function121 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,
Dtest_suite_psa_crypto_not_supported.function23 TEST_EQUAL(psa_import_key(&attributes,
Dtest_suite_psa_crypto_pake.function627 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));
Dtest_suite_psa_crypto_hash.function57 PSA_ASSERT(psa_import_key(&attributes, key_data, sizeof(key_data), &key));
Dtest_suite_constant_time_hmac.function67 TEST_EQUAL(PSA_SUCCESS, psa_import_key(&attributes,
/mbedtls-latest/library/
Dpk_ecc.c70 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()
Dpk_wrap.c105 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()
Dpk.c600 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()
Dssl_ticket.c99 psa_import_key(&attributes, buf, in ssl_ticket_gen_key()
187 if ((status = psa_import_key(&attributes, k, in mbedtls_ssl_ticket_rotate()
Dblock_cipher.c140 status = psa_import_key(&key_attr, key, PSA_BITS_TO_BYTES(key_bitlen), &ctx->psa_key_id); in mbedtls_block_cipher_setkey()
Dssl_tls13_keys.c750 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/
Dcrypto_spe.h56 #define psa_import_key \ macro
57 PSA_FUNCTION_NAME(psa_import_key)
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c1381 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/
Dpsa_crypto_stubs.c63 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, in psa_import_key() function
/mbedtls-latest/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…
/mbedtls-latest/programs/psa/
Dhmac_demo.c110 status = psa_import_key(&attributes, in hmac_demo()
Daead_demo.c156 PSA_CHECK(psa_import_key(&attributes, key_bytes, key_bits / 8, key)); in aead_prepare()
/mbedtls-latest/docs/
Dpsa-transition.md92 … 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 …]

12