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()
818 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection()
820 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection()
821 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection()
918 psa_algorithm_t policy_alg, in psa_key_algorithm_permits()
919 psa_algorithm_t requested_alg) in psa_key_algorithm_permits()
1017 psa_algorithm_t alg) in psa_key_policy_permits()
1060 psa_algorithm_t intersection_alg = in psa_restrict_key_policy()
1063 psa_algorithm_t intersection_alg2 = in psa_restrict_key_policy()
1101 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy()
1167 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy()
2322 static int is_hash_supported(psa_algorithm_t alg) in is_hash_supported()
2388 psa_algorithm_t alg) in psa_hash_setup()
2524 psa_status_t psa_hash_compute(psa_algorithm_t alg, in psa_hash_compute()
2551 psa_status_t psa_hash_compare(psa_algorithm_t alg, in psa_hash_compare()
2639 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation()
2693 psa_algorithm_t alg, in psa_mac_setup()
2756 psa_algorithm_t alg) in psa_mac_sign_setup()
2763 psa_algorithm_t alg) in psa_mac_verify_setup()
2896 psa_algorithm_t alg, in psa_mac_compute_internal()
2956 psa_algorithm_t alg, in psa_mac_compute()
2983 psa_algorithm_t alg, in psa_mac_verify()
3028 psa_algorithm_t alg) in psa_sign_verify_check_alg()
3036 psa_algorithm_t hash_alg = 0; in psa_sign_verify_check_alg()
3079 psa_algorithm_t alg, in psa_sign_internal()
3145 psa_algorithm_t alg, in psa_verify_internal()
3192 psa_algorithm_t alg, in psa_sign_message_builtin()
3224 psa_algorithm_t alg, in psa_sign_message()
3252 psa_algorithm_t alg, in psa_verify_message_builtin()
3283 psa_algorithm_t alg, in psa_verify_message()
3310 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_sign_hash_builtin()
3356 psa_algorithm_t alg, in psa_sign_hash()
3384 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_verify_hash_builtin()
3429 psa_algorithm_t alg, in psa_verify_hash()
3454 psa_algorithm_t alg, in psa_asymmetric_encrypt()
3513 psa_algorithm_t alg, in psa_asymmetric_decrypt()
3624 mbedtls_svc_key_id_t key, psa_algorithm_t alg, in psa_sign_hash_start()
3789 mbedtls_svc_key_id_t key, psa_algorithm_t alg, in psa_verify_hash_start()
3976 static inline int can_do_interruptible_sign_verify(psa_algorithm_t alg) in can_do_interruptible_sign_verify()
3997 size_t key_buffer_size, psa_algorithm_t alg, in mbedtls_psa_sign_hash_start()
4037 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); in mbedtls_psa_sign_hash_start()
4215 psa_algorithm_t alg, in mbedtls_psa_verify_hash_start()
4442 psa_algorithm_t alg, in psa_cipher_setup()
4515 psa_algorithm_t alg) in psa_cipher_encrypt_setup()
4522 psa_algorithm_t alg) in psa_cipher_decrypt_setup()
4726 psa_algorithm_t alg, in psa_cipher_encrypt()
4803 psa_algorithm_t alg, in psa_cipher_decrypt()
4864 static psa_algorithm_t psa_aead_get_base_algorithm(psa_algorithm_t alg) in psa_aead_get_base_algorithm()
4870 static psa_status_t psa_aead_check_nonce_length(psa_algorithm_t alg, in psa_aead_check_nonce_length()
4873 psa_algorithm_t base_alg = psa_aead_get_base_algorithm(alg); in psa_aead_check_nonce_length()
4913 static psa_status_t psa_aead_check_algorithm(psa_algorithm_t alg) in psa_aead_check_algorithm()
4923 psa_algorithm_t alg, in psa_aead_encrypt()
4989 psa_algorithm_t alg, in psa_aead_decrypt()
5055 static psa_status_t psa_validate_tag_length(psa_algorithm_t alg) in psa_validate_tag_length()
5098 psa_algorithm_t alg) in psa_aead_setup()
5180 psa_algorithm_t alg) in psa_aead_encrypt_setup()
5188 psa_algorithm_t alg) in psa_aead_decrypt_setup()
5661 psa_algorithm_t hash_alg, in psa_key_derivation_start_hmac()
5697 static psa_algorithm_t psa_key_derivation_get_kdf_alg( in psa_key_derivation_get_kdf_alg()
5710 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_abort()
5805 psa_algorithm_t kdf_alg, in psa_key_derivation_hkdf_read()
5809 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); in psa_key_derivation_hkdf_read()
5899 psa_algorithm_t alg) in psa_key_derivation_tls12_prf_generate_next_block()
5901 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(alg); in psa_key_derivation_tls12_prf_generate_next_block()
6019 psa_algorithm_t alg, in psa_key_derivation_tls12_prf_read()
6023 psa_algorithm_t hash_alg = PSA_ALG_TLS12_PRF_GET_HASH(alg); in psa_key_derivation_tls12_prf_read()
6099 psa_algorithm_t prf_alg, in psa_key_derivation_pbkdf2_generate_block()
6176 psa_algorithm_t kdf_alg, in psa_key_derivation_pbkdf2_read()
6181 psa_algorithm_t prf_alg; in psa_key_derivation_pbkdf2_read()
6249 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_output_bytes()
6320 psa_algorithm_t alg = operation->alg; in psa_key_derivation_output_bytes()
6746 static int is_kdf_alg_supported(psa_algorithm_t kdf_alg) in is_kdf_alg_supported()
6791 static psa_status_t psa_hash_try_support(psa_algorithm_t alg) in psa_hash_try_support()
6801 psa_algorithm_t kdf_alg) in psa_key_derivation_set_maximum_capacity()
6825 psa_algorithm_t hash_alg = PSA_ALG_GET_HASH(kdf_alg); in psa_key_derivation_set_maximum_capacity()
6886 psa_algorithm_t kdf_alg) in psa_key_derivation_setup_kdf()
6902 static psa_status_t psa_key_agreement_try_support(psa_algorithm_t alg) in psa_key_agreement_try_support()
6919 psa_algorithm_t kdf_alg) in psa_key_derivation_allows_free_form_secret_input()
6932 psa_algorithm_t alg) in psa_key_derivation_setup()
6944 psa_algorithm_t kdf_alg = PSA_ALG_KEY_AGREEMENT_GET_KDF(alg); in psa_key_derivation_setup()
6945 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(alg); in psa_key_derivation_setup()
6975 psa_algorithm_t kdf_alg, in psa_hkdf_input()
6980 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); in psa_hkdf_input()
7396 static psa_status_t psa_pbkdf2_hmac_set_password(psa_algorithm_t hash_alg, in psa_pbkdf2_hmac_set_password()
7447 psa_algorithm_t kdf_alg, in psa_pbkdf2_set_password()
7458 psa_algorithm_t hash_alg = PSA_ALG_PBKDF2_HMAC_GET_HASH(kdf_alg); in psa_pbkdf2_set_password()
7481 psa_algorithm_t kdf_alg, in psa_pbkdf2_input()
7561 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_input_internal()
7625 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation); in psa_key_derivation_input_integer_internal()
7724 psa_algorithm_t alg, in psa_key_agreement_raw_builtin()
7773 static psa_status_t psa_key_agreement_raw_internal(psa_algorithm_t alg, in psa_key_agreement_raw_internal()
7806 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(operation->alg); in psa_key_agreement_internal()
7876 psa_status_t psa_raw_key_agreement(psa_algorithm_t alg, in psa_raw_key_agreement()