Searched refs:sa_in (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 89 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt() 134 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes() 142 sa = ctx->sa_in; in crypto4xx_setkey_aes() 162 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes() 401 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_ccm() 409 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_ccm() 429 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_ccm() 465 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4); in crypto4xx_crypt_aes_ccm() 561 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_gcm() 568 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_gcm() [all …]
|
D | crypto4xx_core.c | 144 ctx->sa_in = kcalloc(size, 4, GFP_ATOMIC); in crypto4xx_alloc_sa() 145 if (ctx->sa_in == NULL) in crypto4xx_alloc_sa() 150 kfree(ctx->sa_in); in crypto4xx_alloc_sa() 151 ctx->sa_in = NULL; in crypto4xx_alloc_sa() 162 kfree(ctx->sa_in); in crypto4xx_free_sa() 163 ctx->sa_in = NULL; in crypto4xx_free_sa() 503 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() 942 ctx->sa_in = NULL; in crypto4xx_ctx_init()
|
D | crypto4xx_core.h | 126 struct dynamic_sa_ctl *sa_in; member
|