Home
last modified time | relevance | path

Searched refs:location (Results 1 – 23 of 23) sorted by relevance

/mbedtls-3.5.0/library/
Dpsa_crypto_se.c57 psa_key_location_t location; member
71 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION(lifetime); in psa_get_se_driver_entry() local
76 if (location == 0) { in psa_get_se_driver_entry()
80 if (driver_table[i].location == location) { in psa_get_se_driver_entry()
123 if (driver->location > PSA_MAX_SE_LOCATION) { in psa_get_se_driver_its_file_uid()
133 *uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + driver->location; in psa_get_se_driver_its_file_uid()
182 psa_status_t psa_destroy_se_persistent_data(psa_key_location_t location) in psa_destroy_se_persistent_data() argument
185 if (location > PSA_MAX_SE_LOCATION) { in psa_destroy_se_persistent_data()
188 uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + location; in psa_destroy_se_persistent_data()
203 if (driver->location != key_location) { in psa_find_se_slot_for_key()
[all …]
Dpsa_crypto_driver_wrappers.c174 psa_key_location_t location = in psa_driver_wrapper_sign_message() local
177 switch( location ) in psa_driver_wrapper_sign_message()
266 psa_key_location_t location = in psa_driver_wrapper_verify_message() local
269 switch( location ) in psa_driver_wrapper_verify_message()
369 psa_key_location_t location = in psa_driver_wrapper_sign_hash() local
372 switch( location ) in psa_driver_wrapper_sign_hash()
469 psa_key_location_t location = in psa_driver_wrapper_verify_hash() local
472 switch( location ) in psa_driver_wrapper_verify_hash()
592 psa_key_location_t location = in psa_driver_wrapper_sign_hash_start() local
596 switch( location ) in psa_driver_wrapper_sign_hash_start()
[all …]
Dpsa_crypto_se.h188 psa_status_t psa_destroy_se_persistent_data(psa_key_location_t location);
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.function21 /** The minimum valid location value for a secure element driver. */
24 /** The location and lifetime used for tests that use a single driver. */
585 /* Get the file UID corresponding to the specified location.
589 psa_storage_uid_t file_uid_for_location(psa_key_location_t location)
591 if (location > PSA_MAX_SE_LOCATION) {
594 return 0xfffffe00 + location;
598 static int check_persistent_data(psa_key_location_t location,
602 psa_storage_uid_t uid = file_uid_for_location(location);
618 /* Check that no persistent data exists for the given location. */
619 static int check_no_persistent_data(psa_key_location_t location)
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function7 /** The location and lifetime used for tests that use a single driver. */
15 psa_key_location_t location;
83 psa_key_location_t location;
95 for (location = 0; location < PSA_MAX_SE_LOCATION; location++) {
96 psa_destroy_se_persistent_data(location);
116 psa_key_location_t location)
122 mock_init_data.location = location;
288 psa_key_location_t location = location_arg;
300 TEST_EQUAL(psa_register_se_driver(location, &driver),
308 TEST_EQUAL(mock_init_data.location, location);
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.data7 SE init mock test: invalid location (0)
10 SE init mock test: location not supported (INT_MAX)
Dtest_suite_psa_crypto_se_driver_hal.data9 Register SE driver: invalid location (0)
12 Register SE driver: invalid location (local)
Dtest_suite_psa_crypto_slot_management.data135 Create failure: invalid location for a persistent key
139 Create failure: invalid location for a volatile key
Dtest_suite_psa_crypto_metadata.function725 psa_key_location_t location = location_arg;
735 TEST_EQUAL(PSA_KEY_LIFETIME_GET_LOCATION(lifetime), location);
Dtest_suite_psa_crypto_driver_wrappers.function820 int location,
829 PSA_KEY_PERSISTENCE_DEFAULT, location);
854 TEST_EQUAL(mbedtls_test_driver_key_management_hooks.location, location);
Dtest_suite_psa_crypto.data1439 Copy fail: AES, invalid lifetime (unknown location) in attributes
/mbedtls-3.5.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja137 psa_key_location_t location =
140 switch( location )
211 psa_key_location_t location =
214 switch( location )
298 psa_key_location_t location =
301 switch( location )
382 psa_key_location_t location =
385 switch( location )
491 psa_key_location_t location =
495 switch( location )
[all …]
DOS-template-opaque.jinja12 case {{ driver.location }}:
/mbedtls-3.5.0/docs/proposed/
Dpsa-driver-wrappers-codegen-migration-guide.md32location, this path includes the schemas against which the driver schemas will be validated (drive…
Dpsa-driver-interface.md23 … secure enclave, etc. An opaque driver is invoked for the specific [key location](#lifetimes-and-l…
37 [Req.location] Applications can tell which location values correspond to which secure element drive…
77 … of headers is empty. The header files must be present at the specified location relative to a dir…
82 * `"location"` (not permitted for transparent drivers, optional for opaque drivers, integer or stri…
110 …* either the key is transparent (its location is `PSA_KEY_LOCATION_LOCAL_STORAGE`) and the driver …
111 … is opaque (its location is not `PSA_KEY_LOCATION_LOCAL_STORAGE`) and the driver is an opaque driv…
123 If multiple opaque drivers have the same location, the list of driver specifications is invalid.
329 The core decides whether to dispatch a PAKE operation to a driver based on the location of the prov…
332 1. If the location of the `password` is the local storage
335 2. If the location of the `password` is the location of a secure element
[all …]
Dpsa-driver-developer-guide.md21 …a secure enclave, etc. An opaque driver is invoked for the specific key location that the driver i…
/mbedtls-3.5.0/include/psa/
Dcrypto_se_driver.h138 psa_key_location_t location);
1386 psa_key_location_t location,
Dcrypto_values.h2378 #define PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(persistence, location) \ argument
2379 ((location) << 8 | (persistence))
/mbedtls-3.5.0/tests/include/test/drivers/
Dkey_management.h42 psa_key_location_t location; member
/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_key_management.c272 mbedtls_test_driver_key_management_hooks.location = PSA_KEY_LOCATION_LOCAL_STORAGE; in mbedtls_test_transparent_import_key()
342 mbedtls_test_driver_key_management_hooks.location = PSA_CRYPTO_TEST_DRIVER_LOCATION; in mbedtls_test_opaque_import_key()
/mbedtls-3.5.0/docs/architecture/testing/
Dpsa-storage-format-testing.md93 * For alternative locations: have tests conditional on the presence of a driver for that location.
/mbedtls-3.5.0/
DChangeLog681 * Fix runtime library install location when building with CMake and MinGW.
1512 execution depending on the location of the output buffer.
1732 key lifetimes to encode a persistence level and the location. Although C
1734 psa_register_se_driver() must be modified to pass the driver's location
5306 * Fixed include location of endian.h on FreeBSD (found by
5308 * Fixed include location of endian.h and name clash on
/mbedtls-3.5.0/docs/
D3.0-migration-guide.md519 ### Internal / alt-focused headers were moved to a private location