Searched refs:sa_in (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt() 136 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes() 144 sa = ctx->sa_in; in crypto4xx_setkey_aes() 165 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes() 393 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_ccm() 401 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_ccm() 421 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_ccm() 457 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4); in crypto4xx_crypt_aes_ccm() 542 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_gcm() 549 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_gcm() [all …]
|
D | crypto4xx_core.c | 137 ctx->sa_in = kcalloc(size, 4, GFP_ATOMIC); in crypto4xx_alloc_sa() 138 if (ctx->sa_in == NULL) in crypto4xx_alloc_sa() 143 kfree(ctx->sa_in); in crypto4xx_alloc_sa() 144 ctx->sa_in = NULL; in crypto4xx_alloc_sa() 155 kfree(ctx->sa_in); in crypto4xx_free_sa() 156 ctx->sa_in = NULL; in crypto4xx_free_sa() 492 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() 938 ctx->sa_in = NULL; in crypto4xx_ctx_init()
|
D | crypto4xx_core.h | 120 struct dynamic_sa_ctl *sa_in; member
|