Home
last modified time | relevance | path

Searched refs:psa_key_usage_t (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mbedtls/include/psa/
Dcrypto_values.h2526 #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)
Dcrypto_struct.h282 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()
Dcrypto_types.h328 typedef uint32_t psa_key_usage_t; typedef
Dcrypto.h239 psa_key_usage_t usage_flags);
251 static psa_key_usage_t psa_get_key_usage_flags(
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c114 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 …]
Dpsa_crypto_helpers.c126 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/
Dpsa_crypto_helpers.h201 psa_key_usage_t mbedtls_test_update_key_usage_flags(psa_key_usage_t usage_flags);
Dpsa_exercise_key.h228 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/
Dpk.h450 psa_key_usage_t usage);
1044 psa_key_usage_t usage,
Dpsa_util.h110 static inline psa_key_usage_t mbedtls_psa_translate_cipher_operation( in mbedtls_psa_translate_cipher_operation()
Dssl_ciphersuites.h403 psa_key_usage_t mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage(const mbedtls_ssl_ciphersuite_t *info);
/third_party/mbedtls/programs/psa/
Dpsa_constant_names.c280 (psa_key_usage_t) value); in process_unsigned()
316 return process_unsigned(TYPE_KEY_USAGE, (psa_key_usage_t) (-1), in main()
Dkey_ladder_demo.c223 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/
Dtest_suite_psa_crypto_slot_management.function115 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;
Dtest_suite_psa_crypto_storage_format.function168 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;
Dtest_suite_psa_crypto_attributes.function18 psa_key_usage_t usage_flags = usage_flags_arg;
Dtest_suite_psa_crypto.function1295 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 …]
Dtest_suite_psa_crypto_pake.function557 psa_key_usage_t key_usage_pw = key_usage_pw_arg;
/third_party/mbedtls/programs/ssl/
Dssl_test_lib.h243 psa_key_usage_t *usage,
Dssl_test_lib.c236 psa_key_usage_t *usage, in key_opaque_set_alg_usage()
Dssl_client2.c1743 psa_key_usage_t usage = 0; in main()
/third_party/mbedtls/library/
Dpk.c248 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()
Dssl_ciphersuites.c1985 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()
Dpsa_crypto.c945 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/
Dmbed-crypto-storage-specification.md56 * 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.

12