Searched refs:sa_in (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/crypto/amcc/ |
| H A D | crypto4xx_alg.c | 81 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt() 133 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes() 141 sa = ctx->sa_in; in crypto4xx_setkey_aes() 162 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes() 376 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_ccm() 384 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_ccm() 404 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_ccm() 440 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4); in crypto4xx_crypt_aes_ccm() 525 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_gcm() 532 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_gcm() [all …]
|
| H A 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() 901 ctx->sa_in = NULL; in crypto4xx_ctx_init()
|
| H A D | crypto4xx_core.h | 119 struct dynamic_sa_ctl *sa_in; member
|