/mbedtls/include/psa/ |
A D | crypto_values.h | 781 #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) 911 #define PSA_ALG_NONE ((psa_algorithm_t)0) 1422 #define PSA_ALG_RSA_PSS_BASE ((psa_algorithm_t) 0x06000300) [all …]
|
A D | crypto.h | 288 static psa_algorithm_t psa_get_key_algorithm( 860 psa_status_t psa_hash_compute(psa_algorithm_t alg, 895 psa_status_t psa_hash_compare(psa_algorithm_t alg, 990 psa_algorithm_t alg); 1212 psa_algorithm_t alg, 1253 psa_algorithm_t alg, 2107 psa_algorithm_t alg, 2180 psa_algorithm_t alg, 2992 psa_algorithm_t alg, 3043 psa_algorithm_t alg, [all …]
|
A D | crypto_extra.h | 60 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm() 71 static inline psa_algorithm_t psa_get_key_enrollment_algorithm( in psa_get_key_enrollment_algorithm() 926 static psa_algorithm_t psa_pake_cs_get_algorithm( 991 static psa_algorithm_t psa_pake_cs_get_hash( 1011 psa_algorithm_t hash); 1711 psa_algorithm_t algorithm; 1715 psa_algorithm_t hash; 1718 static inline psa_algorithm_t psa_pake_cs_get_algorithm( in psa_pake_cs_get_algorithm() 1726 psa_algorithm_t algorithm) in psa_pake_cs_set_algorithm() 1763 static inline psa_algorithm_t psa_pake_cs_get_hash( in psa_pake_cs_get_hash() [all …]
|
A D | crypto_se_driver.h | 176 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 …]
|
A D | crypto_builtin_composites.h | 47 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);
|
A D | crypto_struct.h | 171 psa_algorithm_t MBEDTLS_PRIVATE(alg); 206 psa_algorithm_t MBEDTLS_PRIVATE(alg); 244 psa_algorithm_t MBEDTLS_PRIVATE(alg); 245 psa_algorithm_t MBEDTLS_PRIVATE(alg2); 382 psa_algorithm_t alg) in psa_set_key_algorithm() 387 static inline psa_algorithm_t psa_get_key_algorithm( in psa_get_key_algorithm()
|
/mbedtls/tests/include/test/drivers/ |
A D | signature.h | 45 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,
|
A D | cipher.h | 49 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);
|
A D | mac.h | 40 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);
|
A D | asymmetric_encryption.h | 44 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,
|
A D | aead.h | 50 psa_algorithm_t alg, 59 psa_algorithm_t alg, 69 psa_algorithm_t alg); 75 psa_algorithm_t alg);
|
/mbedtls/library/ |
A D | ssl_tls13_keys.h | 112 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,
|
A D | psa_crypto_core.h | 37 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); 428 psa_algorithm_t alg, const uint8_t *input, size_t input_length, 465 psa_algorithm_t alg, const uint8_t *input, size_t input_length, 504 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 539 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 612 psa_algorithm_t alg, 727 size_t key_buffer_size, psa_algorithm_t alg, 833 psa_algorithm_t alg,
|
A D | psa_crypto_cipher.h | 32 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,
|
A D | ssl_tls13_keys.c | 141 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() 711 psa_algorithm_t alg; in ssl_tls13_calc_finished_core() 943 psa_algorithm_t alg; in mbedtls_ssl_tls13_populate_transform() [all …]
|
A D | psa_crypto_aead.h | 70 psa_algorithm_t alg, 133 psa_algorithm_t alg, 180 psa_algorithm_t alg); 223 psa_algorithm_t alg);
|
A D | psa_crypto.c | 814 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() 815 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection() 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() 2534 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation() 3052 psa_algorithm_t alg, in psa_sign_message_builtin() 3112 psa_algorithm_t alg, in psa_verify_message_builtin() 4029 psa_algorithm_t alg, in mbedtls_psa_verify_hash_start() 4670 static psa_algorithm_t psa_aead_get_base_algorithm(psa_algorithm_t alg) in psa_aead_get_base_algorithm() 5673 psa_algorithm_t alg) in psa_key_derivation_tls12_prf_generate_next_block() [all …]
|
A D | psa_crypto_rsa.h | 174 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 210 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 260 psa_algorithm_t alg, 318 psa_algorithm_t alg,
|
/mbedtls/tests/suites/ |
A D | test_suite_psa_crypto_metadata.function | 253 psa_algorithm_t alg = alg_arg; 258 psa_algorithm_t dsa_alg = PSA_ALG_DSA(alg); 299 psa_algorithm_t alg = alg_arg; 379 psa_algorithm_t alg = alg_arg; 404 psa_algorithm_t alg = alg_arg; 425 psa_algorithm_t alg = alg_arg; 504 psa_algorithm_t alg = alg_arg; 536 psa_algorithm_t alg = alg_arg; 555 psa_algorithm_t alg = alg_arg; 583 psa_algorithm_t alg = alg_arg; [all …]
|
/mbedtls/tests/include/test/ |
A D | psa_test_wrappers.h | 56 psa_algorithm_t arg1_alg, 72 psa_algorithm_t arg2_alg); 78 psa_algorithm_t arg1_alg, 94 psa_algorithm_t arg2_alg); 160 psa_algorithm_t arg1_alg, 173 psa_algorithm_t arg1_alg, 191 psa_algorithm_t arg1_alg, 203 psa_algorithm_t arg2_alg); 209 psa_algorithm_t arg1_alg, 376 psa_algorithm_t arg0_alg, [all …]
|
A D | psa_exercise_key.h | 135 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/tests/src/drivers/ |
A D | test_driver_signature.c | 45 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()
|
A D | test_driver_cipher.c | 34 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()
|
/mbedtls/tests/src/ |
A D | psa_test_wrappers.c | 62 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_aead_decrypt() 93 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_aead_decrypt_setup() 102 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_aead_encrypt() 133 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_aead_encrypt_setup() 265 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_asymmetric_decrypt() 291 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_asymmetric_encrypt() 325 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_cipher_decrypt() 348 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_cipher_decrypt_setup() 357 psa_algorithm_t arg1_alg, in mbedtls_test_wrap_psa_cipher_encrypt() 380 psa_algorithm_t arg2_alg) in mbedtls_test_wrap_psa_cipher_encrypt_setup() [all …]
|
/mbedtls/programs/ssl/ |
A D | ssl_test_lib.h | 234 psa_algorithm_t *psa_alg1, 235 psa_algorithm_t *psa_alg2, 260 int pk_wrap_as_opaque(mbedtls_pk_context *pk, psa_algorithm_t psa_alg, psa_algorithm_t psa_alg2,
|