Home
last modified time | relevance | path

Searched refs:psa_algorithm_t (Results 1 – 25 of 64) sorted by relevance

123

/third_party/mbedtls/include/psa/
Dcrypto_values.h722 #define PSA_ALG_VENDOR_FLAG ((psa_algorithm_t)0x80000000)
724 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000)
725 #define PSA_ALG_CATEGORY_HASH ((psa_algorithm_t)0x02000000)
726 #define PSA_ALG_CATEGORY_MAC ((psa_algorithm_t)0x03000000)
727 #define PSA_ALG_CATEGORY_CIPHER ((psa_algorithm_t)0x04000000)
728 #define PSA_ALG_CATEGORY_AEAD ((psa_algorithm_t)0x05000000)
729 #define PSA_ALG_CATEGORY_SIGN ((psa_algorithm_t)0x06000000)
730 #define PSA_ALG_CATEGORY_ASYMMETRIC_ENCRYPTION ((psa_algorithm_t)0x07000000)
731 #define PSA_ALG_CATEGORY_KEY_DERIVATION ((psa_algorithm_t)0x08000000)
732 #define PSA_ALG_CATEGORY_KEY_AGREEMENT ((psa_algorithm_t)0x09000000)
[all …]
Dcrypto.h281 psa_algorithm_t alg);
294 static psa_algorithm_t psa_get_key_algorithm(
867 psa_status_t psa_hash_compute(psa_algorithm_t alg,
903 psa_status_t psa_hash_compare(psa_algorithm_t alg,
999 psa_algorithm_t alg);
1226 psa_algorithm_t alg,
1267 psa_algorithm_t alg,
1375 psa_algorithm_t alg);
1438 psa_algorithm_t alg);
1638 psa_algorithm_t alg,
[all …]
Dcrypto_extra.h74 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm()
85 static inline psa_algorithm_t psa_get_key_enrollment_algorithm( in psa_get_key_enrollment_algorithm()
369 #define PSA_ALG_DSA_BASE ((psa_algorithm_t)0x06000400)
386 #define PSA_ALG_DETERMINISTIC_DSA_BASE ((psa_algorithm_t)0x06000500)
822 #define PSA_ALG_CATEGORY_PAKE ((psa_algorithm_t)0x0a000000)
951 #define PSA_ALG_JPAKE ((psa_algorithm_t)0x0a000100)
1169 static psa_algorithm_t psa_pake_cs_get_algorithm(
1191 psa_algorithm_t algorithm
1238 static psa_algorithm_t psa_pake_cs_get_hash(
1264 psa_algorithm_t hash
[all …]
Dcrypto_se_driver.h188 psa_algorithm_t algorithm);
275 psa_algorithm_t alg,
304 psa_algorithm_t alg,
394 psa_algorithm_t algorithm,
493 psa_algorithm_t algorithm,
561 psa_algorithm_t alg,
587 psa_algorithm_t alg,
625 psa_algorithm_t alg,
665 psa_algorithm_t alg,
738 psa_algorithm_t algorithm,
[all …]
Dcrypto_builtin_composites.h51 psa_algorithm_t MBEDTLS_PRIVATE(alg);
65 psa_algorithm_t MBEDTLS_PRIVATE(alg);
89 psa_algorithm_t MBEDTLS_PRIVATE(alg);
Dcrypto_struct.h162 psa_algorithm_t MBEDTLS_PRIVATE(alg);
245 psa_algorithm_t MBEDTLS_PRIVATE(alg);
274 psa_algorithm_t MBEDTLS_PRIVATE(alg);
275 psa_algorithm_t MBEDTLS_PRIVATE(alg2);
432 psa_algorithm_t alg ) in psa_set_key_algorithm()
437 static inline psa_algorithm_t psa_get_key_algorithm( in psa_get_key_algorithm()
/third_party/mbedtls/library/
Dpsa_crypto_driver_wrappers.h41 psa_algorithm_t alg,
52 psa_algorithm_t alg,
61 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
67 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
121 psa_algorithm_t alg,
134 psa_algorithm_t alg,
145 psa_algorithm_t alg );
151 psa_algorithm_t alg );
179 psa_algorithm_t alg,
188 psa_algorithm_t alg );
[all …]
Dpsa_crypto_cipher.h40 psa_algorithm_t alg, psa_key_type_t key_type, size_t key_bits,
71 psa_algorithm_t alg );
101 psa_algorithm_t alg );
247 psa_algorithm_t alg,
298 psa_algorithm_t alg,
Dpsa_crypto.c496 psa_algorithm_t algorithm, in psa_mac_key_can_do()
613 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection()
615 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection()
616 psa_algorithm_t alg2 ) in psa_key_policy_algorithm_intersection()
717 psa_algorithm_t policy_alg, in psa_key_algorithm_permits()
718 psa_algorithm_t requested_alg ) in psa_key_algorithm_permits()
819 psa_algorithm_t alg ) in psa_key_policy_permits()
859 psa_algorithm_t intersection_alg = in psa_restrict_key_policy()
862 psa_algorithm_t intersection_alg2 = in psa_restrict_key_policy()
892 psa_algorithm_t alg ) in psa_get_and_lock_key_slot_with_policy()
[all …]
Dpsa_crypto_aead.h82 psa_algorithm_t alg,
145 psa_algorithm_t alg,
192 psa_algorithm_t alg );
235 psa_algorithm_t alg );
Dpsa_crypto_core.h262 psa_algorithm_t alg, psa_key_type_t key_type, size_t key_bits,
417 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
454 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
493 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
528 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
Dpsa_crypto_hash.h35 const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg );
64 psa_algorithm_t alg,
105 psa_algorithm_t alg );
Dpsa_crypto_mac.c45 psa_algorithm_t hash_alg ) in psa_hmac_setup_internal()
120 psa_algorithm_t hash_alg = hmac->alg; in psa_hmac_finish_internal()
199 psa_algorithm_t alg ) in mac_init()
279 psa_algorithm_t alg ) in psa_mac_setup()
329 psa_algorithm_t alg ) in mbedtls_psa_mac_sign_setup()
340 psa_algorithm_t alg ) in mbedtls_psa_mac_verify_setup()
464 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
Dpsa_crypto_mac.h62 psa_algorithm_t alg,
102 psa_algorithm_t alg);
137 psa_algorithm_t alg);
Dpsa_crypto_driver_wrappers.c113 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
188 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
258 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash()
342 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash()
875 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
967 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1049 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1122 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup()
1350 psa_algorithm_t alg, in psa_driver_wrapper_hash_compute()
1387 psa_algorithm_t alg ) in psa_driver_wrapper_hash_setup()
[all …]
/third_party/mbedtls/tests/include/test/drivers/
Dsignature.h57 psa_algorithm_t alg,
68 psa_algorithm_t alg,
79 psa_algorithm_t alg,
89 psa_algorithm_t alg,
98 psa_algorithm_t alg,
105 psa_algorithm_t alg,
112 psa_algorithm_t alg,
119 psa_algorithm_t alg,
Dcipher.h55 psa_algorithm_t alg,
63 psa_algorithm_t alg,
71 psa_algorithm_t alg);
77 psa_algorithm_t alg);
101 psa_algorithm_t alg,
109 psa_algorithm_t alg,
117 psa_algorithm_t alg);
123 psa_algorithm_t alg);
Dmac.h52 psa_algorithm_t alg,
64 psa_algorithm_t alg );
71 psa_algorithm_t alg );
96 psa_algorithm_t alg,
108 psa_algorithm_t alg );
115 psa_algorithm_t alg );
Daead.h62 psa_algorithm_t alg,
71 psa_algorithm_t alg,
81 psa_algorithm_t alg );
87 psa_algorithm_t alg );
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_metadata.function117 void algorithm_classification( psa_algorithm_t alg, unsigned flags )
191 void mac_algorithm_core( psa_algorithm_t alg, int classification_flags,
217 void aead_algorithm_core( psa_algorithm_t alg, int classification_flags,
249 psa_algorithm_t alg = alg_arg;
251 psa_algorithm_t hmac_alg = PSA_ALG_HMAC( alg );
252 psa_algorithm_t rsa_pkcs1v15_sign_alg = PSA_ALG_RSA_PKCS1V15_SIGN( alg );
253 psa_algorithm_t rsa_pss_alg = PSA_ALG_RSA_PSS( alg );
254 psa_algorithm_t dsa_alg = PSA_ALG_DSA( alg );
255 psa_algorithm_t deterministic_dsa_alg = PSA_ALG_DETERMINISTIC_DSA( alg );
256 psa_algorithm_t ecdsa_alg = PSA_ALG_ECDSA( alg );
[all …]
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_signature.c58 psa_algorithm_t alg, in sign_hash()
135 psa_algorithm_t alg, in verify_hash()
210 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
264 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
288 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
329 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
350 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
377 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
397 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
414 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_cipher.c46 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
94 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
140 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
171 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
316 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
338 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
358 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
372 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_mac.c38 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute()
90 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_sign_setup()
130 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_verify_setup()
301 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute()
337 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_sign_setup()
364 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_verify_setup()
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c119 psa_algorithm_t alg ) in exercise_mac_key()
164 psa_algorithm_t alg ) in exercise_cipher_key()
237 psa_algorithm_t alg ) in exercise_aead_key()
299 psa_algorithm_t alg ) in exercise_signature_key()
307 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH( alg ); in exercise_signature_key()
383 psa_algorithm_t alg ) in exercise_asymmetric_encryption_key()
422 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
471 psa_algorithm_t alg ) in exercise_key_derivation_key()
544 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
595 psa_algorithm_t alg ) in exercise_raw_key_agreement_key()
[all …]
/third_party/mbedtls/tests/include/test/
Dpsa_exercise_key.h162 psa_algorithm_t alg,
180 psa_algorithm_t alg,
253 psa_algorithm_t alg );
256 psa_algorithm_t alg );

123