Lines Matching refs:xa_p
87 char *xa_p; member
666 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params()
668 if (!ctx->dh.xa_p) in hpre_dh_set_params()
671 memcpy(ctx->dh.xa_p + sz, params->p, sz); in hpre_dh_set_params()
681 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_set_params()
683 ctx->dh.xa_p = NULL; in hpre_dh_set_params()
705 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx()
706 memzero_explicit(ctx->dh.xa_p, sz); in hpre_dh_clear_ctx()
707 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_clear_ctx()
709 ctx->dh.xa_p = NULL; in hpre_dh_clear_ctx()
732 memcpy(ctx->dh.xa_p + (ctx->key_sz - params.key_size), params.key, in hpre_dh_set_secret()