/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 2526 #define PSA_KEY_USAGE_EXPORT ((psa_key_usage_t) 0x00000001) 2542 #define PSA_KEY_USAGE_COPY ((psa_key_usage_t) 0x00000002) 2553 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t) 0x00000100) 2564 #define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t) 0x00000200) 2574 #define PSA_KEY_USAGE_SIGN_MESSAGE ((psa_key_usage_t) 0x00000400) 2584 #define PSA_KEY_USAGE_VERIFY_MESSAGE ((psa_key_usage_t) 0x00000800) 2594 #define PSA_KEY_USAGE_SIGN_HASH ((psa_key_usage_t) 0x00001000) 2604 #define PSA_KEY_USAGE_VERIFY_HASH ((psa_key_usage_t) 0x00002000) 2618 #define PSA_KEY_USAGE_DERIVE ((psa_key_usage_t) 0x00004000) 2633 #define PSA_KEY_USAGE_VERIFY_DERIVATION ((psa_key_usage_t) 0x00008000)
|
D | crypto_struct.h | 282 psa_key_usage_t MBEDTLS_PRIVATE(usage); 414 static inline void psa_extend_key_usage_flags(psa_key_usage_t *usage_flags) in psa_extend_key_usage_flags() 426 psa_key_usage_t usage_flags) in psa_set_key_usage_flags() 432 static inline psa_key_usage_t psa_get_key_usage_flags( in psa_get_key_usage_flags()
|
D | crypto_types.h | 328 typedef uint32_t psa_key_usage_t; typedef
|
D | crypto.h | 239 psa_key_usage_t usage_flags); 251 static psa_key_usage_t psa_get_key_usage_flags(
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 114 psa_key_usage_t usage, in exercise_mac_key() 156 psa_key_usage_t usage, in exercise_cipher_key() 231 psa_key_usage_t usage, in exercise_aead_key() 282 static int can_sign_or_verify_message(psa_key_usage_t usage, in can_sign_or_verify_message() 295 psa_key_usage_t usage, in exercise_signature_key() 373 psa_key_usage_t usage, in exercise_asymmetric_encryption_key() 455 psa_key_usage_t usage, in exercise_key_derivation_key() 578 psa_key_usage_t usage, in exercise_raw_key_agreement_key() 595 psa_key_usage_t usage, in exercise_key_agreement_key() 827 psa_key_usage_t usage) in exercise_export_key() [all …]
|
D | psa_crypto_helpers.c | 126 psa_key_usage_t mbedtls_test_update_key_usage_flags(psa_key_usage_t usage_flags) in mbedtls_test_update_key_usage_flags() 128 psa_key_usage_t updated_usage = usage_flags; in mbedtls_test_update_key_usage_flags()
|
/third_party/mbedtls/tests/include/test/ |
D | psa_crypto_helpers.h | 201 psa_key_usage_t mbedtls_test_update_key_usage_flags(psa_key_usage_t usage_flags);
|
D | psa_exercise_key.h | 228 psa_key_usage_t usage, 231 psa_key_usage_t mbedtls_test_psa_usage_to_exercise(psa_key_type_t type,
|
/third_party/mbedtls/include/mbedtls/ |
D | pk.h | 450 psa_key_usage_t usage); 1044 psa_key_usage_t usage,
|
D | psa_util.h | 110 static inline psa_key_usage_t mbedtls_psa_translate_cipher_operation( in mbedtls_psa_translate_cipher_operation()
|
D | ssl_ciphersuites.h | 403 psa_key_usage_t mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage(const mbedtls_ssl_ciphersuite_t *info);
|
/third_party/mbedtls/programs/psa/ |
D | psa_constant_names.c | 280 (psa_key_usage_t) value); in process_unsigned() 316 return process_unsigned(TYPE_KEY_USAGE, (psa_key_usage_t) (-1), in main()
|
D | key_ladder_demo.c | 223 static psa_status_t import_key_from_file(psa_key_usage_t usage, in import_key_from_file() 322 static psa_status_t derive_wrapping_key(psa_key_usage_t usage, in derive_wrapping_key()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 115 psa_key_usage_t usage_flags = usage_arg; 202 psa_key_usage_t usage_flags = usage_arg; 492 psa_key_usage_t source_usage = source_usage_arg; 500 psa_key_usage_t target_usage = target_usage_arg; 505 psa_key_usage_t expected_usage = expected_usage_arg; 617 psa_key_usage_t source_usage = source_usage_arg; 624 psa_key_usage_t target_usage = target_usage_arg;
|
D | test_suite_psa_crypto_storage_format.function | 168 psa_key_usage_t usage = psa_get_key_usage_flags(attributes); 318 psa_key_usage_t usage = usage_arg; 362 psa_key_usage_t usage = usage_arg;
|
D | test_suite_psa_crypto_attributes.function | 18 psa_key_usage_t usage_flags = usage_flags_arg;
|
D | test_suite_psa_crypto.function | 1295 psa_key_usage_t usage = usage_arg; 1666 psa_key_usage_t usage = mbedtls_test_psa_usage_to_exercise(type, alg); 1718 psa_key_usage_t usage = usage_arg; 1719 psa_key_usage_t expected_usage = expected_usage_arg; 1812 psa_key_usage_t policy_usage = policy_usage_arg; 1909 psa_key_usage_t policy_usage = policy_usage_arg; 2000 psa_key_usage_t policy_usage = policy_usage_arg; 2087 psa_key_usage_t policy_usage = policy_usage_arg; 2164 psa_key_usage_t policy_usage = policy_usage_arg; 2165 psa_key_usage_t expected_usage = expected_usage_arg; [all …]
|
D | test_suite_psa_crypto_pake.function | 557 psa_key_usage_t key_usage_pw = key_usage_pw_arg;
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_test_lib.h | 243 psa_key_usage_t *usage,
|
D | ssl_test_lib.c | 236 psa_key_usage_t *usage, in key_opaque_set_alg_usage()
|
D | ssl_client2.c | 1743 psa_key_usage_t usage = 0; in main()
|
/third_party/mbedtls/library/ |
D | pk.c | 248 psa_key_usage_t usage) in mbedtls_pk_can_do_ext() 250 psa_key_usage_t key_usage; in mbedtls_pk_can_do_ext() 862 psa_key_usage_t usage, in mbedtls_pk_wrap_as_opaque()
|
D | ssl_ciphersuites.c | 1985 psa_key_usage_t mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage(const mbedtls_ssl_ciphersuite_t *info) in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
|
D | psa_crypto.c | 945 psa_key_usage_t usage, in psa_get_and_lock_key_slot_with_policy() 1005 psa_key_usage_t usage, in psa_get_and_lock_transparent_key_slot_with_policy() 3927 psa_key_usage_t usage = (cipher_operation == MBEDTLS_ENCRYPT ? in psa_cipher_setup() 4513 psa_key_usage_t key_usage = 0; in psa_aead_setup()
|
/third_party/mbedtls/docs/architecture/ |
D | mbed-crypto-storage-specification.md | 56 * policy usage flags (4 bytes): `psa_key_usage_t` value 206 * policy usage flags (4 bytes): `psa_key_usage_t` value 266 * policy usage flags (4 bytes): `psa_key_usage_t` value. 326 * policy usage flags (4 bytes): `psa_key_usage_t` value. 363 * The numerical encodings of `psa_key_type_t`, `psa_key_usage_t` and `psa_algorithm_t` have changed. 417 * policy usage flags (4 bytes): `psa_key_usage_t` value.
|