Lines Matching refs:psa_algorithm_t
284 int psa_can_do_hash(psa_algorithm_t hash_alg) in psa_can_do_hash()
290 int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg) in psa_can_do_cipher()
680 psa_algorithm_t algorithm, in psa_mac_key_can_do()
812 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection()
814 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection()
815 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection()
912 psa_algorithm_t policy_alg, in psa_key_algorithm_permits()
913 psa_algorithm_t requested_alg) in psa_key_algorithm_permits()
1011 psa_algorithm_t alg) in psa_key_policy_permits()
1054 psa_algorithm_t intersection_alg = in psa_restrict_key_policy()
1057 psa_algorithm_t intersection_alg2 = in psa_restrict_key_policy()
1095 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy()
1161 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy()
2293 psa_algorithm_t alg) in psa_hash_setup()
2426 psa_status_t psa_hash_compute(psa_algorithm_t alg, in psa_hash_compute()
2453 psa_status_t psa_hash_compare(psa_algorithm_t alg, in psa_hash_compare()
2534 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation()
2588 psa_algorithm_t alg, in psa_mac_setup()
2644 psa_algorithm_t alg) in psa_mac_sign_setup()
2651 psa_algorithm_t alg) in psa_mac_verify_setup()
2784 psa_algorithm_t alg, in psa_mac_compute_internal()
2844 psa_algorithm_t alg, in psa_mac_compute()
2871 psa_algorithm_t alg, in psa_mac_verify()
2916 psa_algorithm_t alg) in psa_sign_verify_check_alg()
2939 psa_algorithm_t alg, in psa_sign_internal()
3005 psa_algorithm_t alg, in psa_verify_internal()
3052 psa_algorithm_t alg, in psa_sign_message_builtin()
3084 psa_algorithm_t alg, in psa_sign_message()
3112 psa_algorithm_t alg, in psa_verify_message_builtin()
3143 psa_algorithm_t alg, in psa_verify_message()
3170 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_sign_hash_builtin()
3216 psa_algorithm_t alg, in psa_sign_hash()
3244 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_verify_hash_builtin()
3289 psa_algorithm_t alg, in psa_verify_hash()
3314 psa_algorithm_t alg, in psa_asymmetric_encrypt()
3373 psa_algorithm_t alg, in psa_asymmetric_decrypt()
3484 mbedtls_svc_key_id_t key, psa_algorithm_t alg, in psa_sign_hash_start()
3642 mbedtls_svc_key_id_t key, psa_algorithm_t alg, in psa_verify_hash_start()
3815 size_t key_buffer_size, psa_algorithm_t alg, in mbedtls_psa_sign_hash_start()
3851 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); in mbedtls_psa_sign_hash_start()
4029 psa_algorithm_t alg, in mbedtls_psa_verify_hash_start()
4252 psa_algorithm_t alg, in psa_cipher_setup()
4317 psa_algorithm_t alg) in psa_cipher_encrypt_setup()
4324 psa_algorithm_t alg) in psa_cipher_decrypt_setup()
4528 psa_algorithm_t alg, in psa_cipher_encrypt()
4605 psa_algorithm_t alg, in psa_cipher_decrypt()
4670 static psa_algorithm_t psa_aead_get_base_algorithm(psa_algorithm_t alg) in psa_aead_get_base_algorithm()
4676 static psa_status_t psa_aead_check_nonce_length(psa_algorithm_t alg, in psa_aead_check_nonce_length()
4679 psa_algorithm_t base_alg = psa_aead_get_base_algorithm(alg); in psa_aead_check_nonce_length()
4719 static psa_status_t psa_aead_check_algorithm(psa_algorithm_t alg) in psa_aead_check_algorithm()
4729 psa_algorithm_t alg, in psa_aead_encrypt()
4795 psa_algorithm_t alg, in psa_aead_decrypt()
4861 static psa_status_t psa_validate_tag_length(psa_algorithm_t alg) in psa_validate_tag_length()
4904 psa_algorithm_t alg) in psa_aead_setup()
4979 psa_algorithm_t alg) in psa_aead_encrypt_setup()
4987 psa_algorithm_t alg) in psa_aead_decrypt_setup()
5443 psa_algorithm_t hash_alg, in psa_key_derivation_start_hmac()
5471 static psa_algorithm_t psa_key_derivation_get_kdf_alg( in psa_key_derivation_get_kdf_alg()
5484 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_abort()
5579 psa_algorithm_t kdf_alg, in psa_key_derivation_hkdf_read()
5583 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); in psa_key_derivation_hkdf_read()
5673 psa_algorithm_t alg) in psa_key_derivation_tls12_prf_generate_next_block()
5675 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(alg); in psa_key_derivation_tls12_prf_generate_next_block()
5793 psa_algorithm_t alg, in psa_key_derivation_tls12_prf_read()
5797 psa_algorithm_t hash_alg = PSA_ALG_TLS12_PRF_GET_HASH(alg); in psa_key_derivation_tls12_prf_read()
5873 psa_algorithm_t prf_alg, in psa_key_derivation_pbkdf2_generate_block()
5943 psa_algorithm_t kdf_alg, in psa_key_derivation_pbkdf2_read()
5948 psa_algorithm_t prf_alg; in psa_key_derivation_pbkdf2_read()
6016 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_output_bytes()
6087 psa_algorithm_t alg = operation->alg; in psa_key_derivation_output_bytes()
6496 static int is_kdf_alg_supported(psa_algorithm_t kdf_alg) in is_kdf_alg_supported()
6541 static psa_status_t psa_hash_try_support(psa_algorithm_t alg) in psa_hash_try_support()
6551 psa_algorithm_t kdf_alg) in psa_key_derivation_set_maximum_capacity()
6575 psa_algorithm_t hash_alg = PSA_ALG_GET_HASH(kdf_alg); in psa_key_derivation_set_maximum_capacity()
6636 psa_algorithm_t kdf_alg) in psa_key_derivation_setup_kdf()
6652 static psa_status_t psa_key_agreement_try_support(psa_algorithm_t alg) in psa_key_agreement_try_support()
6669 psa_algorithm_t kdf_alg) in psa_key_derivation_allows_free_form_secret_input()
6682 psa_algorithm_t alg) in psa_key_derivation_setup()
6694 psa_algorithm_t kdf_alg = PSA_ALG_KEY_AGREEMENT_GET_KDF(alg); in psa_key_derivation_setup()
6695 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(alg); in psa_key_derivation_setup()
6725 psa_algorithm_t kdf_alg, in psa_hkdf_input()
6730 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); in psa_hkdf_input()
7146 static psa_status_t psa_pbkdf2_hmac_set_password(psa_algorithm_t hash_alg, in psa_pbkdf2_hmac_set_password()
7197 psa_algorithm_t kdf_alg, in psa_pbkdf2_set_password()
7208 psa_algorithm_t hash_alg = PSA_ALG_PBKDF2_HMAC_GET_HASH(kdf_alg); in psa_pbkdf2_set_password()
7231 psa_algorithm_t kdf_alg, in psa_pbkdf2_input()
7311 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_input_internal()
7369 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_input_integer_internal()
7461 psa_algorithm_t alg, in psa_key_agreement_raw_builtin()
7510 static psa_status_t psa_key_agreement_raw_internal(psa_algorithm_t alg, in psa_key_agreement_raw_internal()
7543 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(operation->alg); in psa_key_agreement_internal()
7613 psa_status_t psa_raw_key_agreement(psa_algorithm_t alg, in psa_raw_key_agreement()