| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/ |
| D | crypto_hal_cipher.c | 51 static int32_t adapt_cipher_dest_data(const struct memref_t *data_in, struct memref_t *data_out, bo… in adapt_cipher_dest_data() 73 const struct memref_t *data_in, struct memref_t *new_data_in, uint32_t cache_len) in rebuild_cipher_input_data() 113 const struct memref_t *data_in, struct memref_t *data_out) in do_cipher_cache_update() 147 const struct memref_t *data_in, struct memref_t *data_out) in do_crypto_cipher_update() 176 int32_t tee_crypto_cipher_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct m… in tee_crypto_cipher_update() 208 …tic int32_t build_padding_data_in(struct memref_t *padding_data_in, const struct memref_t *data_in, in build_padding_data_in() 243 static int32_t do_padding_enc(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct memr… in do_padding_enc() 311 static int32_t do_padding_dec(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct memr… in do_padding_dec() 345 static int32_t do_padding_cipher(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct m… in do_padding_cipher() 354 const struct memref_t *data_in, struct memref_t *data_out) in proc_not_soft_cipher_dofinal() [all …]
|
| D | crypto_hal_ae.c | 120 static int32_t check_ae_in_size(struct ctx_handle_t *ctx, const struct memref_t *data_in) in check_ae_in_size() 139 static int32_t do_crypto_cache(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct mem… in do_crypto_cache() 163 int32_t tee_crypto_ae_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct memre… in tee_crypto_ae_update() 193 const struct memref_t *data_in, struct memref_t *data_out, in do_ae_final_not_support_update() 225 int32_t tee_crypto_ae_enc_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in tee_crypto_ae_enc_final() 244 int32_t tee_crypto_ae_dec_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in tee_crypto_ae_dec_final()
|
| D | crypto_hal_hash.c | 41 int32_t tee_crypto_hash_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in tee_crypto_hash_update() 55 int32_t tee_crypto_hash_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct me… in tee_crypto_hash_dofinal() 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 | 46 int32_t tee_crypto_hmac_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in tee_crypto_hmac_update() 60 int32_t tee_crypto_hmac_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct me… in tee_crypto_hmac_dofinal() 85 const struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in tee_crypto_hmac()
|
| D | crypto_hal_ec.c | 44 const struct asymmetric_params_t *ec_params, const struct memref_t *data_in, in tee_crypto_ecc_encrypt() 57 const struct asymmetric_params_t *ec_params, const struct memref_t *data_in, in tee_crypto_ecc_decrypt()
|
| D | crypto_hal_rsa.c | 52 const struct asymmetric_params_t *rsa_params, const struct memref_t *data_in, in tee_crypto_rsa_encrypt() 67 const struct asymmetric_params_t *rsa_params, const struct memref_t *data_in, in tee_crypto_rsa_decrypt()
|
| D | crypto_mgr_manager.c | 288 int32_t crypto_driver_hash_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in crypto_driver_hash_update() 314 int32_t crypto_driver_hash_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, in crypto_driver_hash_dofinal() 353 int32_t crypto_driver_hash(uint32_t alg_type, const struct memref_t *data_in, in crypto_driver_hash() 438 int32_t crypto_driver_hmac_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in crypto_driver_hmac_update() 471 int32_t crypto_driver_hmac_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, in crypto_driver_hmac_dofinal() 511 const struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in crypto_driver_hmac() 601 int32_t crypto_driver_cipher_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, in crypto_driver_cipher_update() 641 int32_t crypto_driver_cipher_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, in crypto_driver_cipher_dofinal() 681 …const struct memref_t *iv, const struct memref_t *data_in, struct memref_t *data_out, uint32_t eng… in crypto_driver_cipher() 799 int32_t crypto_driver_ae_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, in crypto_driver_ae_update() [all …]
|
| D | crypto_hal_derive_key.c | 52 int32_t tee_crypto_derive_root_key(uint32_t derive_type, const struct memref_t *data_in, in tee_crypto_derive_root_key()
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/boringssl/ |
| D | soft_hash.c | 175 static int32_t do_hash_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in do_hash_update() 197 int32_t soft_crypto_hash_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in soft_crypto_hash_update() 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 | 171 …_t proc_aes_cbc_mac_cipher_update(struct ctx_handle_t *cbc_mac_ctx, const struct memref_t *data_in) in proc_aes_cbc_mac_cipher_update() 248 … int32_t proc_aes_cmac_cipher_update(struct ctx_handle_t *cmac_ctx, const struct memref_t *data_in) in proc_aes_cmac_cipher_update() 277 …int32_t proc_aes_des_cipher_update(struct ctx_handle_t *cipher_ctx, const struct memref_t *data_in, in proc_aes_des_cipher_update() 308 …int32_t proc_aes_cmac_cipher_final(struct ctx_handle_t *cipher_ctx, const struct memref_t *data_in, in proc_aes_cmac_cipher_final() 343 …32_t proc_aes_cbc_mac_cipher_final(struct ctx_handle_t *cipher_ctx, const struct memref_t *data_in, in proc_aes_cbc_mac_cipher_final() 378 … int32_t proc_aes_des_cipher_final(struct ctx_handle_t *cipher_ctx, const struct memref_t *data_in, in proc_aes_des_cipher_final() 512 int32_t soft_crypto_cipher_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct … in soft_crypto_cipher_update() 530 int32_t soft_crypto_cipher_dofinal(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct… in soft_crypto_cipher_dofinal() 549 const struct memref_t *iv, const struct memref_t *data_in, struct memref_t *data_out) in soft_crypto_cipher()
|
| D | soft_gmssl_sym.c | 189 static int32_t tee_sm4_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, in tee_sm4_update() 226 int32_t sm4_cipher_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, in sm4_cipher_update() 239 static int32_t tee_sm4_do_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in tee_sm4_do_final() 278 int32_t sm4_cipher_do_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in sm4_cipher_do_final() 315 int32_t sm3_mac_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in sm3_mac_update() 393 int32_t sm3_digest_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in sm3_digest_update() 533 int32_t crypto_sm3_hash(const struct memref_t *data_in, struct memref_t *data_out) in crypto_sm3_hash() 559 int32_t crypto_sm3_hmac(const struct symmerit_key_t *key, const struct memref_t *data_in, struct me… in crypto_sm3_hmac()
|
| D | soft_ae.c | 125 static int32_t soft_ae_crypto_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in soft_ae_crypto_final() 168 static int32_t ae_final_chek_param(struct ctx_handle_t *ctx, const struct memref_t *data_in, in ae_final_chek_param() 184 int32_t soft_crypto_ae_dec_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in soft_crypto_ae_dec_final() 204 int32_t soft_crypto_ae_enc_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in soft_crypto_ae_enc_final() 301 int32_t soft_crypto_ae_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, struct memr… in soft_crypto_ae_update()
|
| D | soft_hmac.c | 137 static int32_t sip_hash_mac_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in sip_hash_mac_update() 151 int32_t soft_crypto_hmac_update(struct ctx_handle_t *ctx, const struct memref_t *data_in) in soft_crypto_hmac_update() 238 const struct memref_t *data_in, struct memref_t *data_out) in soft_crypto_hmac()
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto_hal/src/stub/ |
| D | soft_gmssl_asym.c | 23 int32_t sm4_cipher_update(struct ctx_handle_t *ctx, const struct memref_t *data_in, in sm4_cipher_update() 32 int32_t sm4_cipher_do_final(struct ctx_handle_t *ctx, const struct memref_t *data_in, in sm4_cipher_do_final()
|
| D | soft_ec_api.c | 28 …const struct asymmetric_params_t *ec_params, const struct memref_t *data_in, struct memref_t *data… in soft_crypto_ecc_encrypt() 40 …const struct asymmetric_params_t *ec_params, const struct memref_t *data_in, struct memref_t *data… in soft_crypto_ecc_decrypt()
|
| /base/tee/tee_os_framework/lib/teelib/libcrypto/src/ |
| D | tee_crypto_api_asymmetric.c | 161 struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in rsa_encrypt_hal() 171 struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in sm2_encrypt_hal() 180 struct memref_t *data_in, struct memref_t *data_out) in asymmetric_encrypt_hal() 232 struct memref_t data_in = {0}; in asymmetric_process_hal() local 295 struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in rsa_decrypt_hal() 305 struct memref_t *data_in, struct memref_t *data_out, uint32_t engine) in sm2_decrypt_hal() 314 struct memref_t *data_in, struct memref_t *data_out) in asymmetric_decrypt_hal() 521 struct asymmetric_params_t *extra_params, struct memref_t *data_in, struct memref_t *data_out) in asymmetric_sign_hal() 609 struct asymmetric_params_t *extra_params, struct memref_t *data_in, struct memref_t *data_out) in asymmetric_verify_hal()
|
| D | tee_crypto_common_hash.c | 101 struct memref_t data_in = {0}; in proc_hal_digest_update() local
|
| /base/tee/tee_os_framework/drivers/crypto_mgr/src/crypto_ioctl/ |
| D | crypto_syscall_ae.c | 131 struct memref_t data_in; in ae_update_ops() local 185 struct memref_t *tag_out, struct memref_t *data_in) in ae_enc_final_ops_prepare_parms() 213 struct memref_t data_in = {0}; in ae_enc_final_ops() local 293 struct memref_t data_in; in ae_dec_final_ops() local
|
| D | crypto_syscall_cipher.c | 87 struct memref_t data_in; in cipher_update_ops() local 157 struct memref_t data_in; in cipher_dofinal_ops() local 232 struct memref_t data_in; in cipher_ops() local
|
| D | crypto_syscall_hash.c | 63 struct memref_t data_in; in hash_update_ops() local 181 struct memref_t data_in; in hash_fun_ops() local
|
| D | crypto_syscall_hmac.c | 79 struct memref_t data_in; in hmac_update_ops() local 199 struct memref_t data_in; in hmac_ops() local
|
| D | crypto_syscall_derive_key.c | 280 const struct memref_t *data_in, struct memref_t *data_out) in derive_root_key() 332 const struct memref_t *data_in, struct memref_t *data_out, uint32_t iter_num) in hw_derive_root_key_iter() 361 struct memref_t data_in; in hw_derive_root_key_ops() local
|
| D | crypto_syscall_rsa.c | 127 struct memref_t data_in; in rsa_encrypt_ops() local 214 struct memref_t data_in; in rsa_decrypt_ops() local
|
| /base/tee/tee_os_framework/services/ssa/src/secure_storage_agent/ |
| D | ssa_crypto.c | 26 const struct memref_t *data_in, struct memref_t *data_out) in aes_xts_crypto_check() 86 const struct memref_t *data_in, struct memref_t *data_out) in aes_xts_crypto() 240 uint32_t iv_size, const uint8_t *data_in, uint32_t data_in_size, uint8_t *data_out) in aes_cbc_crypto()
|
| /base/tee/tee_os_framework/lib/teelib/libswcrypto_engine/src/ |
| D | device_key_wrapper.c | 23 struct memref_t data_in = {0}; in get_derived_key() local
|