Lines Matching refs:psa_algorithm_t

288 int psa_can_do_hash(psa_algorithm_t hash_alg)  in psa_can_do_hash()
295 int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg) in psa_can_do_cipher()
685 psa_algorithm_t algorithm, in psa_mac_key_can_do()
823 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection()
825 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection()
826 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection()
923 psa_algorithm_t policy_alg, in psa_key_algorithm_permits()
924 psa_algorithm_t requested_alg) in psa_key_algorithm_permits()
1022 psa_algorithm_t alg) in psa_key_policy_permits()
1065 psa_algorithm_t intersection_alg = in psa_restrict_key_policy()
1068 psa_algorithm_t intersection_alg2 = in psa_restrict_key_policy()
1106 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy()
1172 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy()
2349 psa_algorithm_t alg)
2482 psa_status_t psa_hash_compute(psa_algorithm_t alg,
2509 psa_status_t psa_hash_compare(psa_algorithm_t alg,
2590 psa_algorithm_t alg,
2644 psa_algorithm_t alg,
2700 psa_algorithm_t alg)
2707 psa_algorithm_t alg)
2840 psa_algorithm_t alg,
2900 psa_algorithm_t alg,
2927 psa_algorithm_t alg,
2972 psa_algorithm_t alg)
2995 psa_algorithm_t alg,
3061 psa_algorithm_t alg,
3108 psa_algorithm_t alg,
3140 psa_algorithm_t alg,
3168 psa_algorithm_t alg,
3199 psa_algorithm_t alg,
3226 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
3272 psa_algorithm_t alg,
3300 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
3345 psa_algorithm_t alg,
3370 psa_algorithm_t alg,
3429 psa_algorithm_t alg,
3540 mbedtls_svc_key_id_t key, psa_algorithm_t alg,
3698 mbedtls_svc_key_id_t key, psa_algorithm_t alg,
3871 size_t key_buffer_size, psa_algorithm_t alg,
3907 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg);
4085 psa_algorithm_t alg,
4308 psa_algorithm_t alg,
4373 psa_algorithm_t alg)
4380 psa_algorithm_t alg)
4584 psa_algorithm_t alg,
4661 psa_algorithm_t alg,
4722 static psa_algorithm_t psa_aead_get_base_algorithm(psa_algorithm_t alg)
4728 static psa_status_t psa_aead_check_nonce_length(psa_algorithm_t alg,
4731 psa_algorithm_t base_alg = psa_aead_get_base_algorithm(alg);
4771 static psa_status_t psa_aead_check_algorithm(psa_algorithm_t alg)
4781 psa_algorithm_t alg,
4847 psa_algorithm_t alg,
4913 static psa_status_t psa_validate_tag_length(psa_algorithm_t alg)
4956 psa_algorithm_t alg)
5031 psa_algorithm_t alg)
5039 psa_algorithm_t alg)
5501 psa_algorithm_t hash_alg,
5529 static psa_algorithm_t psa_key_derivation_get_kdf_alg(
5542 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation);
5637 psa_algorithm_t kdf_alg,
5641 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg);
5731 psa_algorithm_t alg)
5733 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(alg);
5851 psa_algorithm_t alg,
5855 psa_algorithm_t hash_alg = PSA_ALG_TLS12_PRF_GET_HASH(alg);
5931 psa_algorithm_t prf_alg,
6001 psa_algorithm_t kdf_alg,
6006 psa_algorithm_t prf_alg;
6074 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation);
6145 psa_algorithm_t alg = operation->alg;
6571 static int is_kdf_alg_supported(psa_algorithm_t kdf_alg)
6616 static psa_status_t psa_hash_try_support(psa_algorithm_t alg)
6626 psa_algorithm_t kdf_alg)
6650 psa_algorithm_t hash_alg = PSA_ALG_GET_HASH(kdf_alg);
6711 psa_algorithm_t kdf_alg)
6727 static psa_status_t psa_key_agreement_try_support(psa_algorithm_t alg)
6744 psa_algorithm_t kdf_alg)
6757 psa_algorithm_t alg)
6769 psa_algorithm_t kdf_alg = PSA_ALG_KEY_AGREEMENT_GET_KDF(alg);
6770 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(alg);
6800 psa_algorithm_t kdf_alg,
6805 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg);
7221 static psa_status_t psa_pbkdf2_hmac_set_password(psa_algorithm_t hash_alg,
7272 psa_algorithm_t kdf_alg,
7283 psa_algorithm_t hash_alg = PSA_ALG_PBKDF2_HMAC_GET_HASH(kdf_alg);
7306 psa_algorithm_t kdf_alg,
7386 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation);
7444 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg(operation);
7536 psa_algorithm_t alg,
7585 static psa_status_t psa_key_agreement_raw_internal(psa_algorithm_t alg,
7618 psa_algorithm_t ka_alg = PSA_ALG_KEY_AGREEMENT_GET_BASE(operation->alg);
7688 psa_status_t psa_raw_key_agreement(psa_algorithm_t alg,