| /optee_os/lib/libmbedtls/mbedtls/include/psa/ |
| H A D | crypto_values.h | 797 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 808 #define PSA_ALG_IS_HASH(alg) \ argument 819 #define PSA_ALG_IS_MAC(alg) \ argument 830 #define PSA_ALG_IS_CIPHER(alg) \ argument 842 #define PSA_ALG_IS_AEAD(alg) \ argument 854 #define PSA_ALG_IS_SIGN(alg) \ argument 866 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 877 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 888 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 905 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
| H A D | crypto_sizes.h | 60 #define PSA_HASH_LENGTH(alg) \ argument 92 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 328 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 360 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 413 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 465 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 517 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 558 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 592 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
| H A D | crypto_extra.h | 406 #define PSA_ALG_IS_DSA(alg) \ argument 409 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument 411 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument 413 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument 420 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument 630 #define PSA_ALG_IS_PAKE(alg) \ argument 977 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \ argument 1007 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \ argument
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto_cipher.c | 30 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 D | psa_crypto_driver_wrappers.h | 115 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 D | psa_crypto_rsa.c | 287 static psa_status_t psa_rsa_decode_md_type(psa_algorithm_t 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() 518 psa_algorithm_t alg, in mbedtls_psa_asymmetric_encrypt() 612 psa_algorithm_t alg, in mbedtls_psa_asymmetric_decrypt()
|
| H A D | psa_crypto_mac.c | 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 D | psa_crypto_aead.c | 31 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()
|
| H A D | psa_crypto.c | 1017 psa_algorithm_t alg) in psa_key_policy_permits() 1101 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy() 1167 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy() 2322 static int is_hash_supported(psa_algorithm_t alg) in is_hash_supported() 2388 psa_algorithm_t alg) in psa_hash_setup() 2524 psa_status_t psa_hash_compute(psa_algorithm_t alg, in psa_hash_compute() 2551 psa_status_t psa_hash_compare(psa_algorithm_t alg, in psa_hash_compare() 2639 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation() 2693 psa_algorithm_t alg, in psa_mac_setup() 2756 psa_algorithm_t alg) in psa_mac_sign_setup() [all …]
|
| H A D | psa_crypto_hash.c | 93 psa_algorithm_t alg) in mbedtls_psa_hash_setup() 434 psa_algorithm_t alg, in mbedtls_psa_hash_compute()
|
| H A D | psa_crypto_ecp.c | 366 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_sign_hash() 452 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_verify_hash() 522 psa_algorithm_t alg, const uint8_t *peer_key, size_t peer_key_length, in mbedtls_psa_key_agreement_ecdh()
|
| H A D | pkcs7.c | 119 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm() 135 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm_set() 279 mbedtls_x509_buf *alg) in pkcs7_get_signer_info()
|
| H A D | asn1parse.c | 353 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params) in mbedtls_asn1_get_alg() 401 mbedtls_asn1_buf *alg) in mbedtls_asn1_get_alg_null()
|
| H A D | ssl_ciphersuites.c | 1908 psa_algorithm_t alg; in mbedtls_ssl_ciphersuite_get_cipher_key_bitlen() local
|
| H A D | md.c | 246 psa_algorithm_t alg = psa_alg_of_md(info); in md_can_use_psa() local 523 psa_algorithm_t alg = psa_alg_of_md(ctx->md_info); in mbedtls_md_starts() local
|
| /optee_os/core/drivers/crypto/caam/hash/ |
| H A D | caam_hash_mac.c | 67 const struct hashalg *alg, in do_reduce_key() 130 const struct hashalg *alg = hmac_ctx->alg; in do_hmac_init() local 293 const struct hashalg *alg = NULL; in caam_hmac_allocate() local
|
| H A D | caam_hash.c | 249 const struct hashalg *alg = NULL; in caam_hash_allocate() local 396 const struct hashalg *alg = ctx->alg; in do_update_hash() local 472 const struct hashalg *alg = NULL; in caam_hash_hmac_update() local 576 const struct hashalg *alg = NULL; in caam_hash_hmac_final() local
|
| H A D | local.h | 19 const struct hashalg *alg; /* Reference to the algo constants */ member
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | sec_pbkdf2.c | 146 static TEE_Result sec_pbkdf2_dk_iteration_check(uint32_t alg, uint32_t c_num, in sec_pbkdf2_dk_iteration_check() 192 uint32_t alg = TEE_ALG_HMAC_ALGO(hash_id); in sec_pbkdf2_params_check() local 222 uint32_t alg = TEE_ALG_HMAC_ALGO(hash_id); in sec_pbkdf2_set_derive_type() local
|
| /optee_os/core/drivers/ |
| H A D | hi16xx_rng.c | 42 vaddr_t alg = (vaddr_t)phys_to_virt(ALG_SC_BASE, MEM_AREA_IO_SEC, in hi16xx_rng_init() local
|
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher.c | 261 const struct cipheralg *alg = NULL; in do_allocate() local 381 const struct cipheralg *alg = NULL; in caam_cipher_initialize() local
|
| H A D | local.h | 56 const struct cipheralg *alg; /* Reference to the algo constants */ member
|
| /optee_os/core/pta/imx/ |
| H A D | dek_blob.c | 40 uint8_t alg; /* AES encryption alg: 0x55 */ member
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | local.h | 74 const struct cipheralg *alg; member
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_desc_helper.h | 503 #define RSA_FINAL_KEY(format, alg) \ argument 510 #define PK_KEYPAIR_GEN(type, alg) \ argument 517 #define DSA_SIGN(type, msg_type, alg) \ argument 531 #define SHARED_SECRET(type, alg) \ argument
|