/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/psa/ |
H 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) 790 #define PSA_ALG_CATEGORY_KEY_DERIVATION ((psa_algorithm_t) 0x08000000) 791 #define PSA_ALG_CATEGORY_KEY_AGREEMENT ((psa_algorithm_t) 0x09000000) [all …]
|
H A 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 …]
|
H 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() 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 …]
|
H 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 …]
|
/aosp_15_r20/external/mbedtls/include/psa/ |
H A D | crypto_values.h | 761 #define PSA_ALG_VENDOR_FLAG ((psa_algorithm_t) 0x80000000) 763 #define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t) 0x7f000000) 764 #define PSA_ALG_CATEGORY_HASH ((psa_algorithm_t) 0x02000000) 765 #define PSA_ALG_CATEGORY_MAC ((psa_algorithm_t) 0x03000000) 766 #define PSA_ALG_CATEGORY_CIPHER ((psa_algorithm_t) 0x04000000) 767 #define PSA_ALG_CATEGORY_AEAD ((psa_algorithm_t) 0x05000000) 768 #define PSA_ALG_CATEGORY_SIGN ((psa_algorithm_t) 0x06000000) 769 #define PSA_ALG_CATEGORY_ASYMMETRIC_ENCRYPTION ((psa_algorithm_t) 0x07000000) 770 #define PSA_ALG_CATEGORY_KEY_DERIVATION ((psa_algorithm_t) 0x08000000) 771 #define PSA_ALG_CATEGORY_KEY_AGREEMENT ((psa_algorithm_t) 0x09000000) [all …]
|
H A D | crypto.h | 273 psa_algorithm_t alg); 286 static psa_algorithm_t psa_get_key_algorithm( 853 psa_status_t psa_hash_compute(psa_algorithm_t alg, 888 psa_status_t psa_hash_compare(psa_algorithm_t alg, 983 psa_algorithm_t alg); 1205 psa_algorithm_t alg, 1246 psa_algorithm_t alg, 1353 psa_algorithm_t alg); 1415 psa_algorithm_t alg); 1612 psa_algorithm_t alg, [all …]
|
H 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() 352 #define PSA_ALG_DSA_BASE ((psa_algorithm_t) 0x06000400) 369 #define PSA_ALG_DETERMINISTIC_DSA_BASE ((psa_algorithm_t) 0x06000500) 761 #define PSA_ALG_CATEGORY_PAKE ((psa_algorithm_t) 0x0a000000) 890 #define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100) 1115 static psa_algorithm_t psa_pake_cs_get_algorithm( 1131 psa_algorithm_t algorithm); 1180 static psa_algorithm_t psa_pake_cs_get_hash( 1200 psa_algorithm_t hash); [all …]
|
H 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 …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A 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 …]
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A 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 …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/test/ |
H 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, 221 psa_algorithm_t arg2_alg); [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H 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,
|
H 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,
|
H A D | psa_crypto.c | 284 int psa_can_do_hash(psa_algorithm_t hash_alg) in psa_can_do_hash() 290 int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg) in psa_can_do_cipher() 680 psa_algorithm_t algorithm, in psa_mac_key_can_do() 812 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection() 814 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() 815 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection() 912 psa_algorithm_t policy_alg, in psa_key_algorithm_permits() 913 psa_algorithm_t requested_alg) in psa_key_algorithm_permits() 1011 psa_algorithm_t alg) in psa_key_policy_permits() 1054 psa_algorithm_t intersection_alg = in psa_restrict_key_policy() [all …]
|
/aosp_15_r20/external/mbedtls/library/ |
H 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,
|
H A D | psa_crypto.c | 114 int psa_can_do_hash(psa_algorithm_t hash_alg) in psa_can_do_hash() 658 psa_algorithm_t algorithm, in psa_mac_key_can_do() 790 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection() 792 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() 793 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection() 890 psa_algorithm_t policy_alg, in psa_key_algorithm_permits() 891 psa_algorithm_t requested_alg) in psa_key_algorithm_permits() 989 psa_algorithm_t alg) in psa_key_policy_permits() 1032 psa_algorithm_t intersection_alg = in psa_restrict_key_policy() 1035 psa_algorithm_t intersection_alg2 = in psa_restrict_key_policy() [all …]
|
H A D | psa_crypto_core.h | 27 int psa_can_do_hash(psa_algorithm_t hash_alg); 379 psa_algorithm_t alg, const uint8_t *input, size_t input_length, 416 psa_algorithm_t alg, const uint8_t *input, size_t input_length, 455 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 490 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, 563 psa_algorithm_t alg, 678 size_t key_buffer_size, psa_algorithm_t alg, 784 psa_algorithm_t alg,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/test/drivers/ |
H 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,
|
H 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);
|
/aosp_15_r20/external/mbedtls/tests/include/test/drivers/ |
H 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,
|
H A D | cipher.h | 43 psa_algorithm_t alg, 51 psa_algorithm_t alg, 59 psa_algorithm_t alg); 65 psa_algorithm_t alg); 89 psa_algorithm_t alg, 97 psa_algorithm_t alg, 105 psa_algorithm_t alg); 111 psa_algorithm_t alg);
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/ |
H 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 …]
|
/aosp_15_r20/external/mbedtls/tests/src/drivers/ |
H A D | test_driver_signature.c | 46 psa_algorithm_t alg, in sign_hash() 114 psa_algorithm_t alg, in verify_hash() 180 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message() 236 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message() 260 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message() 303 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message() 324 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash() 352 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash() 372 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash() 390 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/drivers/ |
H 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()
|
/aosp_15_r20/external/mbedtls/tests/src/ |
H A D | psa_exercise_key.c | 103 psa_algorithm_t alg) in exercise_mac_key() 145 psa_algorithm_t alg) in exercise_cipher_key() 220 psa_algorithm_t alg) in exercise_aead_key() 271 psa_algorithm_t alg) in can_sign_or_verify_message() 284 psa_algorithm_t alg) in exercise_signature_key() 292 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); in exercise_signature_key() 363 psa_algorithm_t alg) in exercise_asymmetric_encryption_key() 400 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap() 456 psa_algorithm_t alg) in exercise_key_derivation_key() 529 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self() [all …]
|