| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/stub/ |
| D | soft_ec_api.c | 27 int32_t soft_crypto_ecc_encrypt(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in soft_crypto_ecc_encrypt() 39 int32_t soft_crypto_ecc_decrypt(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in soft_crypto_ecc_decrypt() 50 int32_t soft_crypto_ecc_sign_digest(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in soft_crypto_ecc_sign_digest() 62 int32_t soft_crypto_ecc_verify_digest(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in soft_crypto_ecc_verify_digest()
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/boringssl/ |
| D | soft_hash.c | 43 static const struct digest_config *get_hash_config(uint32_t alg_type) in get_hash_config() 53 static int32_t digest_init(uint32_t alg_type, void *ctx) in digest_init() 82 static bool check_valid_dest_len(uint32_t alg_type, uint32_t size) in check_valid_dest_len() 257 static void do_hash(uint32_t alg_type, const struct memref_t *data_in, struct memref_t *data_out) in do_hash() 291 static int32_t check_hash_param(uint32_t alg_type, const struct memref_t *data_in, struct memref_t … in check_hash_param() 307 int32_t soft_crypto_hash(uint32_t alg_type, const struct memref_t *data_in, struct memref_t *data_o… in soft_crypto_hash()
|
| D | soft_cipher.c | 116 static int32_t get_aes_des_cipher_key(uint32_t alg_type, uint8_t *key_buff, uint32_t key_size, in get_aes_des_cipher_key() 136 static int32_t get_and_check_cipher_key(uint32_t alg_type, uint8_t *key_buff, uint32_t key_size, in get_and_check_cipher_key() 209 static void *proc_soft_aes_des_cipher_init(uint32_t alg_type, uint32_t direction, const uint8_t *ae… in proc_soft_aes_des_cipher_init() 418 static void *soft_aes_cipher_init(uint32_t alg_type, uint32_t direction, in soft_aes_cipher_init() 548 int32_t soft_crypto_cipher(uint32_t alg_type, uint32_t direction, const struct symmerit_key_t *key, in soft_crypto_cipher()
|
| D | soft_rsa_api.c | 46 uint32_t alg_type; member 314 …atic int32_t set_rsa_oaep_padding_hash(const struct asymmetric_params_t *params, uint32_t alg_type, in set_rsa_oaep_padding_hash() 373 static EVP_PKEY_CTX *generate_and_init_evp_rsa_ctx(uint32_t alg_type, const struct asymmetric_param… in generate_and_init_evp_rsa_ctx() 861 static int32_t soft_rsa_pss_sign_digest(uint32_t alg_type, const struct asymmetric_params_t *rsa_pa… in soft_rsa_pss_sign_digest() 907 static int32_t soft_rsa_non_pss_sign_digest(uint32_t alg_type, in soft_rsa_non_pss_sign_digest() 939 static int32_t soft_rsa_non_pss_verify_digest(uint32_t alg_type, const struct rsa_pub_key_t *public… in soft_rsa_non_pss_verify_digest() 1001 static int32_t soft_rsa_pss_verify_digest(uint32_t alg_type, const struct asymmetric_params_t *rsa_… in soft_rsa_pss_verify_digest() 1075 int32_t soft_crypto_rsa_encrypt(uint32_t alg_type, const struct rsa_pub_key_t *public_key, in soft_crypto_rsa_encrypt() 1132 int32_t soft_crypto_rsa_decrypt(uint32_t alg_type, const struct rsa_priv_key_t *private_key, in soft_crypto_rsa_decrypt() 1164 int32_t soft_crypto_rsa_sign_digest(uint32_t alg_type, const struct rsa_priv_key_t *private_key, in soft_crypto_rsa_sign_digest() [all …]
|
| D | soft_derive_key_api.c | 129 int32_t soft_crypto_ecdh_derive_key(uint32_t alg_type, const struct ecc_pub_key_t *client_key, in soft_crypto_ecdh_derive_key() 166 int32_t soft_crypto_ecdh_derive_key(uint32_t alg_type, const struct ecc_pub_key_t *client_key, in soft_crypto_ecdh_derive_key()
|
| D | soft_gmssl_sym.c | 27 static TEE_Result sm4_cipher_init_params_check(uint32_t alg_type, const struct memref_t *iv) in sm4_cipher_init_params_check() 80 static int32_t sm4_do_encrypt_init(EVP_CIPHER_CTX *ctx, uint32_t alg_type, uint32_t direction, in sm4_do_encrypt_init() 105 void *tee_sm4_cipher_init(uint32_t alg_type, uint32_t direction, in tee_sm4_cipher_init() 168 static int32_t sm4_update_params_check(uint32_t alg_type, uint32_t src_len, uint32_t dest_len) in sm4_update_params_check()
|
| D | soft_ec_api.c | 494 int32_t soft_crypto_ecc_encrypt(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in soft_crypto_ecc_encrypt() 511 int32_t soft_crypto_ecc_decrypt(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in soft_crypto_ecc_decrypt() 561 int32_t soft_crypto_ecc_sign_digest(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in soft_crypto_ecc_sign_digest() 610 int32_t soft_crypto_ecc_verify_digest(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in soft_crypto_ecc_verify_digest()
|
| D | soft_ae.c | 20 static bool check_param_is_invalid(uint32_t alg_type, const struct symmerit_key_t *key, in check_param_is_invalid() 237 static evp_cipher_func get_ae_cipher(uint32_t alg_type, uint32_t key_size) in get_ae_cipher()
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/ |
| D | crypto_hal_ec.c | 43 int32_t tee_crypto_ecc_encrypt(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in tee_crypto_ecc_encrypt() 56 int32_t tee_crypto_ecc_decrypt(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in tee_crypto_ecc_decrypt() 69 int32_t tee_crypto_ecc_sign_digest(uint32_t alg_type, const struct ecc_priv_key_t *private_key, in tee_crypto_ecc_sign_digest() 82 int32_t tee_crypto_ecc_verify_digest(uint32_t alg_type, const struct ecc_pub_key_t *public_key, in tee_crypto_ecc_verify_digest()
|
| D | crypto_hal_rsa.c | 51 int32_t tee_crypto_rsa_encrypt(uint32_t alg_type, const struct rsa_pub_key_t *public_key, in tee_crypto_rsa_encrypt() 66 int32_t tee_crypto_rsa_decrypt(uint32_t alg_type, const struct rsa_priv_key_t *private_key, in tee_crypto_rsa_decrypt() 79 int32_t tee_crypto_rsa_sign_digest(uint32_t alg_type, const struct rsa_priv_key_t *private_key, in tee_crypto_rsa_sign_digest() 92 int32_t tee_crypto_rsa_verify_digest(uint32_t alg_type, const struct rsa_pub_key_t *public_key, in tee_crypto_rsa_verify_digest()
|
| D | crypto_hal_hash.c | 19 struct ctx_handle_t *tee_crypto_hash_init(uint32_t alg_type, uint32_t engine) in tee_crypto_hash_init() 78 int32_t tee_crypto_hash(uint32_t alg_type, const struct memref_t *data_in, struct memref_t *data_ou… in tee_crypto_hash()
|
| D | crypto_hal_hmac.c | 19 struct ctx_handle_t *tee_crypto_hmac_init(uint32_t alg_type, const struct symmerit_key_t *key, uint… in tee_crypto_hmac_init() 84 int32_t tee_crypto_hmac(uint32_t alg_type, const struct symmerit_key_t *key, in tee_crypto_hmac()
|
| D | crypto_mgr_manager.c | 29 int64_t get_ctx_fd_handle(uint32_t alg_type, bool is_copy_ctx) in get_ctx_fd_handle() 56 struct ctx_handle_t *driver_alloc_ctx_handle(uint32_t alg_type, uint32_t engine, struct ctx_handle_… in driver_alloc_ctx_handle() 353 int32_t crypto_driver_hash(uint32_t alg_type, const struct memref_t *data_in, in crypto_driver_hash() 510 int32_t crypto_driver_hmac(uint32_t alg_type, const struct symmerit_key_t *key, in crypto_driver_hmac() 680 int32_t crypto_driver_cipher(uint32_t alg_type, uint32_t direction, const struct symmerit_key_t *ke… in crypto_driver_cipher() 1090 …crypt_ops(uint64_t fd, struct drv_memref_t *fill_data, uint32_t fill_data_count, uint32_t alg_type) in crypto_rsa_encrypt_ops() 1121 int32_t crypto_driver_rsa_encrypt(uint32_t alg_type, const struct rsa_pub_key_t *public_key, in crypto_driver_rsa_encrypt() 1167 …crypt_ops(uint64_t fd, struct drv_memref_t *fill_data, uint32_t fill_data_count, uint32_t alg_type) in crypto_rsa_decrypt_ops() 1198 int32_t crypto_driver_rsa_decrypt(uint32_t alg_type, const struct rsa_priv_key_t *private_key, in crypto_driver_rsa_decrypt() 1245 uint32_t fill_data_count, uint32_t alg_type) in crypto_rsa_sign_digest_ops() [all …]
|
| D | crypto_hal_ae.c | 21 static struct crypto_cache_t *alloc_crypto_cache(uint32_t alg_type, const struct ae_init_data *ae_i… in alloc_crypto_cache() 54 struct ctx_handle_t *tee_crypto_ae_init(uint32_t alg_type, uint32_t direction, const struct symmeri… in tee_crypto_ae_init()
|
| D | crypto_hal_derive_key.c | 39 int32_t tee_crypto_ecdh_derive_key(uint32_t alg_type, const struct ecc_pub_key_t *client_key, in tee_crypto_ecdh_derive_key()
|
| D | crypto_hal_cipher.c | 22 struct ctx_handle_t *tee_crypto_cipher_init(uint32_t alg_type, uint32_t direction, in tee_crypto_cipher_init() 426 uint32_t alg_type; member 497 int32_t tee_crypto_cipher(uint32_t alg_type, uint32_t direction, const struct symmerit_key_t *key, in tee_crypto_cipher()
|
| /base/tee/tee_os_framework/drivers/crypto_mgr/src/crypto_ioctl/ |
| D | crypto_syscall_common.c | 62 uint32_t change_pkcs5_to_nopad(uint32_t alg_type) in change_pkcs5_to_nopad() 403 static uint32_t get_ctx_size_ops(uint32_t alg_type, const struct crypto_drv_ops_t *ops) in get_ctx_size_ops() 443 uint32_t *alg_type = (uint32_t *)(uintptr_t)args; in get_ctx_size_call() local 449 const struct crypto_drv_ops_t *ops, uint32_t alg_type) in ctx_copy_ops() 487 uint32_t *alg_type = (uint32_t *)(uintptr_t)args; in ctx_copy_call() local 537 uint32_t *alg_type = (uint32_t *)(uintptr_t)args; in check_alg_support_call() local
|
| D | crypto_syscall_rsa.c | 110 …rsa_encrypt_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in rsa_encrypt_ops() 197 …rsa_decrypt_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in rsa_decrypt_ops() 284 …sign_digest_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in rsa_sign_digest_ops() 372 …rify_digest_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in rsa_verify_digest_ops()
|
| D | crypto_syscall_ec.c | 110 …ecc_encrypt_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in ecc_encrypt_ops() 197 …ecc_decrypt_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in ecc_decrypt_ops() 284 …sign_digest_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in ecc_sign_digest_ops() 372 …rify_digest_ops(const struct crypto_drv_ops_t *ops, struct memref_t *crypto_arg, uint32_t alg_type) in ecc_verify_digest_ops()
|
| D | crypto_syscall_hash.c | 19 uint32_t alg_type) in hash_init_ops() 164 struct memref_t *crypto_arg, uint32_t alg_type) in hash_fun_ops()
|
| D | crypto_syscall_hmac.c | 34 uint32_t alg_type = ioctl->arg1; in hmac_init_ops() local 191 uint32_t alg_type = ioctl->arg1; in hmac_ops() local
|
| D | crypto_syscall_cipher.c | 27 uint32_t alg_type; in cipher_init_ops() local 223 uint32_t alg_type = ioctl->arg1; in cipher_ops() local
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto/src/ |
| D | tee_crypto_hal.c | 59 TEE_Result TEE_IsHardWareSupportAlgorithm(uint32_t alg_type) in TEE_IsHardWareSupportAlgorithm()
|
| /base/startup/init/test/mock/hvb/libhvb/crypto/ |
| D | hvb_hash_sha256.c | 21 int hash_ctx_init(struct hash_ctx_t *hash_ctx, enum hash_alg_type alg_type) in hash_ctx_init()
|
| /base/tee/tee_os_framework/lib/syslib/libelf_verify/src/ |
| D | tee_load_key_ops.c | 56 uint32_t alg_type; in tee_secure_img_hash_ops() local
|