Lines Matching refs:sa_out
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()
542 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_gcm()
576 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_gcm()
577 sa = (struct dynamic_sa_ctl *) ctx->sa_out; in crypto4xx_setkey_aes_gcm()
606 decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt_aes_gcm()
639 if (ctx->sa_in || ctx->sa_out) in crypto4xx_hash_alg_init()