Searched refs:xa_p (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 91 char *xa_p; member 586 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params() 588 if (!ctx->dh.xa_p) in hpre_dh_set_params() 591 memcpy(ctx->dh.xa_p + sz, params->p, sz); in hpre_dh_set_params() 601 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_set_params() 603 ctx->dh.xa_p = NULL; in hpre_dh_set_params() 625 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx() 626 memzero_explicit(ctx->dh.xa_p, sz); in hpre_dh_clear_ctx() 627 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_clear_ctx() 629 ctx->dh.xa_p = NULL; in hpre_dh_clear_ctx() [all …]
|