Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c87 char *xa_p; member
656 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params()
658 if (!ctx->dh.xa_p) in hpre_dh_set_params()
661 memcpy(ctx->dh.xa_p + sz, params->p, sz); in hpre_dh_set_params()
671 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_set_params()
673 ctx->dh.xa_p = NULL; in hpre_dh_set_params()
695 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx()
696 memzero_explicit(ctx->dh.xa_p, sz); in hpre_dh_clear_ctx()
697 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_clear_ctx()
699 ctx->dh.xa_p = NULL; in hpre_dh_clear_ctx()
[all …]