/mbedtls-3.7.0/include/psa/ |
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) 790 #define PSA_ALG_CATEGORY_KEY_DERIVATION ((psa_algorithm_t) 0x08000000) 791 #define PSA_ALG_CATEGORY_KEY_AGREEMENT ((psa_algorithm_t) 0x09000000) [all …]
|
D | crypto.h | 275 psa_algorithm_t alg); 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, 1360 psa_algorithm_t alg); 1422 psa_algorithm_t alg); 1619 psa_algorithm_t alg, [all …]
|
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() 353 #define PSA_ALG_DSA_BASE ((psa_algorithm_t) 0x06000400) 370 #define PSA_ALG_DETERMINISTIC_DSA_BASE ((psa_algorithm_t) 0x06000500) 572 #define PSA_ALG_CATEGORY_PAKE ((psa_algorithm_t) 0x0a000000) 701 #define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100) 926 static psa_algorithm_t psa_pake_cs_get_algorithm( 942 psa_algorithm_t algorithm); 991 static psa_algorithm_t psa_pake_cs_get_hash( 1011 psa_algorithm_t hash); [all …]
|
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 …]
|
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);
|
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-3.7.0/tests/include/test/drivers/ |
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,
|
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);
|
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);
|
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,
|
D | aead.h | 50 psa_algorithm_t alg, 59 psa_algorithm_t alg, 69 psa_algorithm_t alg); 75 psa_algorithm_t alg);
|
/mbedtls-3.7.0/library/ |
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,
|
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,
|
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,
|
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() 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 …]
|
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);
|
D | psa_crypto.c | 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() 817 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection() 819 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() 820 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection() 917 psa_algorithm_t policy_alg, in psa_key_algorithm_permits() 918 psa_algorithm_t requested_alg) in psa_key_algorithm_permits() 1016 psa_algorithm_t alg) in psa_key_policy_permits() 1059 psa_algorithm_t intersection_alg = in psa_restrict_key_policy() [all …]
|
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-3.7.0/tests/suites/ |
D | test_suite_psa_crypto_metadata.function | 119 void algorithm_classification(psa_algorithm_t alg, unsigned flags) 195 void mac_algorithm_core(psa_algorithm_t alg, int classification_flags, 221 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-3.7.0/tests/include/test/ |
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, 221 psa_algorithm_t arg2_alg); [all …]
|
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-3.7.0/tests/src/drivers/ |
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()
|
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-3.7.0/tests/src/ |
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-3.7.0/programs/ssl/ |
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,
|