Searched refs:sa_out (Results 1 – 3 of 3) sorted by relevance
/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() 165 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes() 166 sa = ctx->sa_out; in crypto4xx_setkey_aes() 234 ctx->sa_out, ctx->sa_len, 0, NULL); in crypto4xx_rfc3686_encrypt() 249 ctx->sa_out, ctx->sa_len, 0, NULL); in crypto4xx_rfc3686_decrypt() 393 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_ccm() 421 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_ccm() 422 sa = (struct dynamic_sa_ctl *) ctx->sa_out; 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() [all …]
|
D | crypto4xx_core.c | 141 ctx->sa_out = kcalloc(size, 4, GFP_ATOMIC); in crypto4xx_alloc_sa() 142 if (ctx->sa_out == NULL) { in crypto4xx_alloc_sa() 157 kfree(ctx->sa_out); in crypto4xx_free_sa() 158 ctx->sa_out = NULL; in crypto4xx_free_sa() 939 ctx->sa_out = NULL; in crypto4xx_ctx_init()
|
D | crypto4xx_core.h | 121 struct dynamic_sa_ctl *sa_out; member
|