Home
last modified time | relevance | path

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

123

/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A 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 …]
H A Dcrypto.h290 psa_algorithm_t alg);
303 static psa_algorithm_t psa_get_key_algorithm(
875 psa_status_t psa_hash_compute(psa_algorithm_t alg,
910 psa_status_t psa_hash_compare(psa_algorithm_t alg,
1005 psa_algorithm_t alg);
1227 psa_algorithm_t alg,
1268 psa_algorithm_t alg,
1375 psa_algorithm_t alg);
1437 psa_algorithm_t alg);
1634 psa_algorithm_t alg,
[all …]
H A 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)
611 int psa_can_do_hash(psa_algorithm_t hash_alg);
619 #define PSA_ALG_CATEGORY_PAKE ((psa_algorithm_t) 0x0a000000)
748 #define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100)
1058 psa_algorithm_t algorithm;
1062 psa_algorithm_t hash;
1133 psa_algorithm_t MBEDTLS_PRIVATE(alg);
[all …]
H A 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 …]
H A 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);
H A 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()
H A Dcrypto_builtin_primitives.h53 psa_algorithm_t MBEDTLS_PRIVATE(alg);
103 psa_algorithm_t MBEDTLS_PRIVATE(alg);
H A Dcrypto_types.h134 typedef uint32_t psa_algorithm_t; typedef
/optee_os/lib/libmbedtls/mbedtls/library/
H A 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,
660 int mbedtls_ssl_tls13_exporter(const psa_algorithm_t hash_alg,
H A 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,
H A Dpsa_crypto_core.h37 int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg);
466 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
503 psa_algorithm_t alg, const uint8_t *input, size_t input_length,
542 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
577 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
650 psa_algorithm_t alg,
765 size_t key_buffer_size, psa_algorithm_t alg,
871 psa_algorithm_t alg,
H A Dpsa_crypto_aead.h70 psa_algorithm_t alg,
133 psa_algorithm_t alg,
180 psa_algorithm_t alg);
223 psa_algorithm_t alg);
H A Dpsa_crypto_mac.h50 psa_algorithm_t alg,
90 psa_algorithm_t alg);
125 psa_algorithm_t alg);
H A Dpsa_crypto_rsa.h168 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
204 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
254 psa_algorithm_t alg,
312 psa_algorithm_t alg,
H A Dpsa_crypto_ecp.h181 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
216 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
264 psa_algorithm_t alg, const uint8_t *peer_key, size_t peer_key_length,
H A Dpsa_crypto_hash.h41 psa_algorithm_t alg,
82 psa_algorithm_t alg);
H A 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 …]
H A 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()
H A 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()
H A Dpsa_crypto.c284 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()
818 static psa_algorithm_t psa_key_policy_algorithm_intersection( in psa_key_policy_algorithm_intersection()
820 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection()
821 psa_algorithm_t alg2) in psa_key_policy_algorithm_intersection()
918 psa_algorithm_t policy_alg, in psa_key_algorithm_permits()
919 psa_algorithm_t requested_alg) in psa_key_algorithm_permits()
1017 psa_algorithm_t alg) in psa_key_policy_permits()
1060 psa_algorithm_t intersection_alg = in psa_restrict_key_policy()
[all …]
H A Dpsa_crypto_cipher.c30 psa_algorithm_t alg, in mbedtls_cipher_validate_values()
124 psa_algorithm_t alg, in mbedtls_cipher_values_from_psa()
256 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
283 psa_algorithm_t alg, in psa_cipher_setup()
361 psa_algorithm_t alg) in mbedtls_psa_cipher_encrypt_setup()
372 psa_algorithm_t alg) in mbedtls_psa_cipher_decrypt_setup()
605 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt()
663 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()
H A Dpsa_crypto_driver_wrappers.h115 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
190 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
260 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash()
363 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash()
512 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_sign_hash_start()
603 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_verify_hash_start()
1072 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
1164 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1246 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1319 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup()
[all …]
H A Dpsa_crypto_aead.c31 psa_algorithm_t alg) in psa_aead_setup()
120 psa_algorithm_t alg, in mbedtls_psa_aead_encrypt()
232 psa_algorithm_t alg, in mbedtls_psa_aead_decrypt()
326 psa_algorithm_t alg) in mbedtls_psa_aead_encrypt_setup()
347 psa_algorithm_t alg) in mbedtls_psa_aead_decrypt_setup()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dpsa_util.h121 static inline psa_algorithm_t mbedtls_md_psa_alg_from_type(mbedtls_md_type_t md_type) in mbedtls_md_psa_alg_from_type()
123 return PSA_ALG_CATEGORY_HASH | (psa_algorithm_t) md_type; in mbedtls_md_psa_alg_from_type()
138 static inline mbedtls_md_type_t mbedtls_md_type_from_psa_alg(psa_algorithm_t psa_alg) in mbedtls_md_type_from_psa_alg()
H A Dssl_cookie.h47psa_algorithm_t MBEDTLS_PRIVATE(psa_hmac_alg); /*!< key algorithm for the HMAC portion …

123