Home
last modified time | relevance | path

Searched refs:in_dma (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_montgomery.h24 paddr_t in_dma; member
H A Dhpre_rsa.h43 paddr_t in_dma; member
H A Dsec_cipher.h72 uint64_t in_dma; member
H A Dhpre_ecc.h67 paddr_t in_dma; member
H A Dhpre_rsa.c33 sqe->in = msg->in_dma; in hpre_rsa_fill_addr_params()
38 sqe->in = msg->in_dma; in hpre_rsa_fill_addr_params()
198 msg->in_dma = msg->pubkey_dma + (msg->key_bytes * 2); in hpre_rsa_encrypt_alloc()
201 msg->out_dma = msg->in_dma + msg->key_bytes; in hpre_rsa_encrypt_alloc()
546 msg->in_dma = msg->prikey_dma + (msg->key_bytes * 2) + in hpre_rsa_crt_decrypt_alloc()
550 msg->out_dma = msg->in_dma + msg->key_bytes; in hpre_rsa_crt_decrypt_alloc()
571 msg->in_dma = msg->prikey_dma + (msg->key_bytes * 2); in hpre_rsa_ncrt_decrypt_alloc()
574 msg->out_dma = msg->in_dma + msg->key_bytes; in hpre_rsa_ncrt_decrypt_alloc()
H A Dsec_hash.h35 uint64_t in_dma; member
H A Dhpre_montgomery.c155 msg->in_dma = msg->key_dma + HPRE_X_KEY_SIZE(msg->key_bytes); in hpre_montgomery_params_alloc()
157 msg->out_dma = msg->in_dma + msg->key_bytes; in hpre_montgomery_params_alloc()
318 sqe->in = msg->in_dma; in hpre_montgomery_fill_sqe()
H A Dsec_hash.c118 sqe->type2.data_src_addr = ctx->in_dma; in sec_digest_fill_sqe()
200 sqe->data_src_addr = ctx->in_dma; in sec_digest_fill_bd3_sqe()
340 hash_ctx->in_dma = virt_to_phys(hash_ctx->in); in hisi_sec_digest_do_update()
474 out_hash_ctx->in_dma = virt_to_phys(out_hash_ctx->in); in hisi_sec_digest_copy_state()
H A Dsec_cipher.c232 ecb_ctx.in_dma = c_ctx->iv_dma; in xts_iv_update()
368 sqe->type2.data_src_addr = c_ctx->in_dma; in sec_cipher_bd_fill()
409 sqe->data_src_addr = c_ctx->in_dma; in sec_cipher_bd3_fill()
654 c_ctx->in_dma = virt_to_phys(c_ctx->in); in sec_alloc_buffer()
H A Dhpre_ecc.c452 sqe->in = msg->in_dma; in hpre_ecc_fill_sqe()
812 msg->in_dma = msg->key_dma + ECC_DH_KEY_SIZE(msg->key_bytes); in hpre_ecc_dh_params_alloc()
814 msg->out_dma = msg->in_dma + ECC_DH_IN_SIZE(msg->key_bytes); in hpre_ecc_dh_params_alloc()
1097 msg->in_dma = msg->key_dma + ECC_SIGN_KEY_SIZE(msg->key_bytes); in hpre_ecc_sign_params_alloc()
1099 msg->out_dma = msg->in_dma + ECC_SIGN_IN_SIZE(msg->key_bytes); in hpre_ecc_sign_params_alloc()
1365 msg->in_dma = msg->key_dma + ECC_VERIF_KEY_SIZE(msg->key_bytes); in hpre_ecc_verify_params_alloc()
1367 msg->out_dma = msg->in_dma + ECC_VERIF_IN_SIZE(msg->key_bytes); in hpre_ecc_verify_params_alloc()