/mbedtls-3.5.0/library/ |
D | psa_crypto_se.c | 57 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 …]
|
D | psa_crypto_driver_wrappers.c | 174 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 …]
|
D | psa_crypto_se.h | 188 psa_status_t psa_destroy_se_persistent_data(psa_key_location_t location);
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 21 /** 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 …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 7 /** 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 …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.data | 7 SE init mock test: invalid location (0) 10 SE init mock test: location not supported (INT_MAX)
|
D | test_suite_psa_crypto_se_driver_hal.data | 9 Register SE driver: invalid location (0) 12 Register SE driver: invalid location (local)
|
D | test_suite_psa_crypto_slot_management.data | 135 Create failure: invalid location for a persistent key 139 Create failure: invalid location for a volatile key
|
D | test_suite_psa_crypto_metadata.function | 725 psa_key_location_t location = location_arg; 735 TEST_EQUAL(PSA_KEY_LIFETIME_GET_LOCATION(lifetime), location);
|
D | test_suite_psa_crypto_driver_wrappers.function | 820 int location, 829 PSA_KEY_PERSISTENCE_DEFAULT, location); 854 TEST_EQUAL(mbedtls_test_driver_key_management_hooks.location, location);
|
D | test_suite_psa_crypto.data | 1439 Copy fail: AES, invalid lifetime (unknown location) in attributes
|
/mbedtls-3.5.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 137 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 …]
|
D | OS-template-opaque.jinja | 12 case {{ driver.location }}:
|
/mbedtls-3.5.0/docs/proposed/ |
D | psa-driver-wrappers-codegen-migration-guide.md | 32 …location, this path includes the schemas against which the driver schemas will be validated (drive…
|
D | psa-driver-interface.md | 23 … 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 …]
|
D | psa-driver-developer-guide.md | 21 …a secure enclave, etc. An opaque driver is invoked for the specific key location that the driver i…
|
/mbedtls-3.5.0/include/psa/ |
D | crypto_se_driver.h | 138 psa_key_location_t location); 1386 psa_key_location_t location,
|
D | crypto_values.h | 2378 #define PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(persistence, location) \ argument 2379 ((location) << 8 | (persistence))
|
/mbedtls-3.5.0/tests/include/test/drivers/ |
D | key_management.h | 42 psa_key_location_t location; member
|
/mbedtls-3.5.0/tests/src/drivers/ |
D | test_driver_key_management.c | 272 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/ |
D | psa-storage-format-testing.md | 93 * For alternative locations: have tests conditional on the presence of a driver for that location.
|
/mbedtls-3.5.0/ |
D | ChangeLog | 681 * 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/ |
D | 3.0-migration-guide.md | 519 ### Internal / alt-focused headers were moved to a private location
|