Home
last modified time | relevance | path

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

12345

/mbedtls-latest/include/psa/
Dcrypto_values.h781 #define PSA_ALG_VENDOR_FLAG ((psa_algorithm_t) 0x80000000)
783 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t) 0x7f000000)
784 #define PSA_ALG_CATEGORY_HASH ((psa_algorithm_t) 0x02000000)
785 #define PSA_ALG_CATEGORY_MAC ((psa_algorithm_t) 0x03000000)
786 #define PSA_ALG_CATEGORY_CIPHER ((psa_algorithm_t) 0x04000000)
787 #define PSA_ALG_CATEGORY_AEAD ((psa_algorithm_t) 0x05000000)
788 #define PSA_ALG_CATEGORY_SIGN ((psa_algorithm_t) 0x06000000)
789 #define PSA_ALG_CATEGORY_ASYMMETRIC_ENCRYPTION ((psa_algorithm_t) 0x07000000)
790 #define PSA_ALG_CATEGORY_KEY_DERIVATION ((psa_algorithm_t) 0x08000000)
791 #define PSA_ALG_CATEGORY_KEY_AGREEMENT ((psa_algorithm_t) 0x09000000)
[all …]
Dcrypto.h278 psa_algorithm_t alg);
291 static psa_algorithm_t psa_get_key_algorithm(
863 psa_status_t psa_hash_compute(psa_algorithm_t alg,
898 psa_status_t psa_hash_compare(psa_algorithm_t alg,
993 psa_algorithm_t alg);
1215 psa_algorithm_t alg,
1256 psa_algorithm_t alg,
1363 psa_algorithm_t alg);
1425 psa_algorithm_t alg);
1622 psa_algorithm_t alg,
[all …]
Dcrypto_extra.h70 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm()
81 static inline psa_algorithm_t psa_get_key_enrollment_algorithm( in psa_get_key_enrollment_algorithm()
371 #define PSA_ALG_DSA_BASE ((psa_algorithm_t) 0x06000400)
388 #define PSA_ALG_DETERMINISTIC_DSA_BASE ((psa_algorithm_t) 0x06000500)
590 #define PSA_ALG_CATEGORY_PAKE ((psa_algorithm_t) 0x0a000000)
719 #define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100)
944 static psa_algorithm_t psa_pake_cs_get_algorithm(
960 psa_algorithm_t algorithm);
1009 static psa_algorithm_t psa_pake_cs_get_hash(
1029 psa_algorithm_t hash);
[all …]
Dcrypto_se_driver.h176 psa_algorithm_t algorithm);
263 psa_algorithm_t alg,
292 psa_algorithm_t alg,
382 psa_algorithm_t algorithm,
481 psa_algorithm_t algorithm,
549 psa_algorithm_t alg,
575 psa_algorithm_t alg,
613 psa_algorithm_t alg,
653 psa_algorithm_t alg,
726 psa_algorithm_t algorithm,
[all …]
Dcrypto_builtin_composites.h47 psa_algorithm_t MBEDTLS_PRIVATE(alg);
58 psa_algorithm_t MBEDTLS_PRIVATE(alg);
80 psa_algorithm_t MBEDTLS_PRIVATE(alg);
118 psa_algorithm_t MBEDTLS_PRIVATE(alg);
192 psa_algorithm_t MBEDTLS_PRIVATE(alg);
Dcrypto_struct.h171 psa_algorithm_t MBEDTLS_PRIVATE(alg);
206 psa_algorithm_t MBEDTLS_PRIVATE(alg);
270 psa_algorithm_t MBEDTLS_PRIVATE(alg);
271 psa_algorithm_t MBEDTLS_PRIVATE(alg2);
408 psa_algorithm_t alg) in psa_set_key_algorithm()
413 static inline psa_algorithm_t psa_get_key_algorithm( in psa_get_key_algorithm()
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_metadata.function119 static void algorithm_classification(psa_algorithm_t alg, unsigned flags)
195 static void mac_algorithm_core(psa_algorithm_t alg, int classification_flags,
221 static void aead_algorithm_core(psa_algorithm_t alg, int classification_flags,
253 psa_algorithm_t alg = alg_arg;
255 psa_algorithm_t hmac_alg = PSA_ALG_HMAC(alg);
256 psa_algorithm_t rsa_pkcs1v15_sign_alg = PSA_ALG_RSA_PKCS1V15_SIGN(alg);
257 psa_algorithm_t rsa_pss_alg = PSA_ALG_RSA_PSS(alg);
258 psa_algorithm_t dsa_alg = PSA_ALG_DSA(alg);
259 psa_algorithm_t deterministic_dsa_alg = PSA_ALG_DETERMINISTIC_DSA(alg);
260 psa_algorithm_t ecdsa_alg = PSA_ALG_ECDSA(alg);
[all …]
/mbedtls-latest/library/
Dssl_tls13_keys.h112 psa_algorithm_t hash_alg,
151 psa_algorithm_t hash_alg,
198 psa_algorithm_t hash_alg,
249 psa_algorithm_t hash_alg,
295 psa_algorithm_t hash_alg,
346 psa_algorithm_t hash_alg,
377 psa_algorithm_t hash_alg,
451 psa_algorithm_t hash_alg,
481 const psa_algorithm_t hash_alg,
Dpsa_crypto_core.h37 int psa_can_do_hash(psa_algorithm_t hash_alg);
49 int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg);
478 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
515 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
554 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
589 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
662 psa_algorithm_t alg,
777 size_t key_buffer_size, psa_algorithm_t alg,
883 psa_algorithm_t alg,
Dpsa_crypto_cipher.h32 psa_status_t mbedtls_cipher_values_from_psa(psa_algorithm_t alg, psa_key_type_t key_type,
50 psa_algorithm_t alg, psa_key_type_t key_type, size_t key_bits,
82 psa_algorithm_t alg);
112 psa_algorithm_t alg);
258 psa_algorithm_t alg,
309 psa_algorithm_t alg,
Dpsa_crypto.c288 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()
[all …]
Dssl_tls13_keys.c141 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_hkdf_expand_label()
222 psa_algorithm_t hash_alg, in ssl_tls13_make_traffic_key()
265 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_make_traffic_keys()
296 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_derive_secret()
335 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_evolve_secret()
424 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_derive_early_secrets()
482 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_derive_handshake_secrets()
548 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_derive_application_secrets()
624 psa_algorithm_t hash_alg, in mbedtls_ssl_tls13_derive_resumption_master_secret()
675 psa_algorithm_t const hash_alg = mbedtls_md_psa_alg_from_type( in ssl_tls13_key_schedule_stage_application()
[all …]
Dpsa_crypto_rsa.c287 static psa_status_t psa_rsa_decode_md_type(psa_algorithm_t alg, in psa_rsa_decode_md_type()
291 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); in psa_rsa_decode_md_type()
319 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_sign_hash()
393 static int rsa_pss_expected_salt_len(psa_algorithm_t alg, in rsa_pss_expected_salt_len()
418 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_verify_hash()
499 static int psa_rsa_oaep_set_padding_mode(psa_algorithm_t alg, in psa_rsa_oaep_set_padding_mode()
502 psa_algorithm_t hash_alg = PSA_ALG_RSA_OAEP_GET_HASH(alg); in psa_rsa_oaep_set_padding_mode()
518 psa_algorithm_t alg, in mbedtls_psa_asymmetric_encrypt()
612 psa_algorithm_t alg, in mbedtls_psa_asymmetric_decrypt()
Dpsa_crypto_mac.c35 psa_algorithm_t hash_alg) in psa_hmac_setup_internal()
117 psa_algorithm_t hash_alg = hmac->alg; in psa_hmac_finish_internal()
204 psa_algorithm_t alg) in mac_init()
275 psa_algorithm_t alg) in psa_mac_setup()
324 psa_algorithm_t alg) in mbedtls_psa_mac_sign_setup()
335 psa_algorithm_t alg) in mbedtls_psa_mac_verify_setup()
459 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
Dpsa_crypto_aead.h70 psa_algorithm_t alg,
133 psa_algorithm_t alg,
180 psa_algorithm_t alg);
223 psa_algorithm_t alg);
/mbedtls-latest/tests/include/test/drivers/
Dsignature.h45 psa_algorithm_t alg,
56 psa_algorithm_t alg,
67 psa_algorithm_t alg,
77 psa_algorithm_t alg,
86 psa_algorithm_t alg,
93 psa_algorithm_t alg,
100 psa_algorithm_t alg,
107 psa_algorithm_t alg,
Dcipher.h49 psa_algorithm_t alg,
57 psa_algorithm_t alg,
65 psa_algorithm_t alg);
71 psa_algorithm_t alg);
95 psa_algorithm_t alg,
103 psa_algorithm_t alg,
111 psa_algorithm_t alg);
117 psa_algorithm_t alg);
Dmac.h40 psa_algorithm_t alg,
52 psa_algorithm_t alg);
59 psa_algorithm_t alg);
84 psa_algorithm_t alg,
96 psa_algorithm_t alg);
103 psa_algorithm_t alg);
Dasymmetric_encryption.h44 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input,
50 size_t key_length, psa_algorithm_t alg, const uint8_t *input,
56 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input,
62 size_t key_length, psa_algorithm_t alg, const uint8_t *input,
/mbedtls-latest/tests/include/test/
Dpsa_test_wrappers.h55 psa_algorithm_t arg1_alg,
71 psa_algorithm_t arg2_alg);
77 psa_algorithm_t arg1_alg,
93 psa_algorithm_t arg2_alg);
159 psa_algorithm_t arg1_alg,
172 psa_algorithm_t arg1_alg,
190 psa_algorithm_t arg1_alg,
202 psa_algorithm_t arg2_alg);
208 psa_algorithm_t arg1_alg,
220 psa_algorithm_t arg2_alg);
[all …]
Dpsa_exercise_key.h135 psa_algorithm_t alg,
156 psa_algorithm_t alg,
247 psa_algorithm_t alg,
251 psa_algorithm_t alg);
267 int mbedtls_test_can_exercise_psa_algorithm(psa_algorithm_t alg);
/mbedtls-latest/tests/src/
Dpsa_test_wrappers.c61 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_aead_decrypt()
92 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_aead_decrypt_setup()
101 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_aead_encrypt()
132 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_aead_encrypt_setup()
264 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_asymmetric_decrypt()
290 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_asymmetric_encrypt()
324 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_cipher_decrypt()
347 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_cipher_decrypt_setup()
356 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_cipher_encrypt()
379 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_cipher_encrypt_setup()
[all …]
Dpsa_exercise_key.c122 psa_algorithm_t alg, in exercise_mac_key()
177 psa_algorithm_t alg, in exercise_cipher_key()
265 psa_algorithm_t alg, in exercise_aead_key()
327 psa_algorithm_t alg) in can_sign_or_verify_message()
340 psa_algorithm_t alg, in exercise_signature_key()
344 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); in exercise_signature_key()
441 psa_algorithm_t alg, in exercise_asymmetric_encryption_key()
489 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
590 psa_algorithm_t alg, in exercise_key_derivation_key()
684 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
[all …]
/mbedtls-latest/tests/src/drivers/
Dtest_driver_signature.c45 psa_algorithm_t alg, in sign_hash()
113 psa_algorithm_t alg, in verify_hash()
179 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
235 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
259 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
302 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
323 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
351 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
371 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
389 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_cipher.c34 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
87 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
134 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
166 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
319 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
341 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
361 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
375 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()

12345