Searched refs:ctxr (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 127 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control() 162 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control() 198 ctx->base.ctxr->data[req->state_sz >> 2] = in safexcel_context_control() 206 memcpy(ctx->base.ctxr->data + (req->state_sz >> 2), in safexcel_context_control() 542 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_handle_inv_result() 698 if (ctx->base.ctxr) { in safexcel_ahash_enqueue() 722 ctx->base.ctxr = dma_pool_zalloc(priv->context_pool, in safexcel_ahash_enqueue() 725 if (!ctx->base.ctxr) in safexcel_ahash_enqueue() 968 if (!ctx->base.ctxr) in safexcel_ahash_cra_exit() 976 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_ahash_cra_exit() [all …]
|
H A D | safexcel_cipher.c | 708 memcpy(ctx->base.ctxr->data + ctx->key_len / sizeof(u32), in safexcel_send_req() 711 memcpy(ctx->base.ctxr->data + (ctx->key_len + in safexcel_send_req() 773 memcpy(ctx->base.ctxr->data, ctx->key, ctx->key_len); in safexcel_send_req() 950 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_handle_inv_result() 1168 if (ctx->base.ctxr) { in safexcel_queue_req() 1175 ctx->base.ctxr = dma_pool_zalloc(priv->context_pool, in safexcel_queue_req() 1178 if (!ctx->base.ctxr) in safexcel_queue_req() 1232 if (!ctx->base.ctxr) in safexcel_cipher_cra_exit() 1235 memzero_explicit(ctx->base.ctxr->data, sizeof(ctx->base.ctxr->data)); in safexcel_cipher_cra_exit() 1254 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_skcipher_cra_exit() [all …]
|
H A D | safexcel.h | 843 struct safexcel_context_record *ctxr; member
|