Searched refs:addr_via (Results 1 – 3 of 3) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
D | kapi_dispatch.c | 149 addr_via(encrypt_multi->pack), encrypt_multi->pack_num, encrypt_multi->operation, HI_TRUE); in dispatch_symc_encrypt_multi() 231 hi_log_chk_param_return(addr_via(start->key) == HI_NULL); in dispatch_hash_start() 240 …crypto_chk_err_goto(crypto_copy_from_user(key, start->keylen, addr_via(start->key), start->keylen)… in dispatch_hash_start() 264 hi_log_chk_param_return(addr_via(update->input) == HI_NULL); in dispatch_hash_update() 267 ret = kapi_hash_update(update->id, addr_via(update->input), update->length, update->src); in dispatch_hash_update() 297 hi_log_chk_param_return(addr_via(rsa_info->in) == HI_NULL); in rsa_buf_chk_info_param() 298 hi_log_chk_param_return(addr_via(rsa_info->out) == HI_NULL); in rsa_buf_chk_info_param() 301 hi_log_chk_param_return((addr_via(rsa_info->d) == HI_NULL) && in rsa_buf_chk_info_param() 302 ((addr_via(rsa_info->p) == HI_NULL) || in rsa_buf_chk_info_param() 303 (addr_via(rsa_info->q) == HI_NULL) || in rsa_buf_chk_info_param() [all …]
|
D | kapi_symc.c | 850 hi_log_chk_param_return(addr_via(crypt->in) == HI_NULL); in kapi_symc_crypto_via() 851 hi_log_chk_param_return(addr_via(crypt->out) == HI_NULL); in kapi_symc_crypto_via() 863 …crypto_chk_err_goto(crypto_copy_from_user(mem.dma_virt, crypt->len, addr_via(crypt->in), crypt->le… in kapi_symc_crypto_via() 865 if (memcpy_s(mem.dma_virt, crypt->len, addr_via(crypt->in), crypt->len) != EOK) { in kapi_symc_crypto_via() 881 …crypto_chk_err_goto(crypto_copy_to_user(addr_via(crypt->out), crypt->len, mem.dma_virt, crypt->len… in kapi_symc_crypto_via() 883 if (memcpy_s(addr_via(crypt->out), crypt->len, mem.dma_virt, crypt->len) != EOK) { in kapi_symc_crypto_via()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/ |
D | drv_cipher_kapi.h | 229 #define addr_via(addr) (addr).p /* buffer point */ macro
|