Lines Matching refs:sa_in
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()
576 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); 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()
648 sa = (struct dynamic_sa_hash160 *)ctx->sa_in; in crypto4xx_hash_alg_init()
672 sa = ctx->sa_in; in crypto4xx_hash_init()
691 req->nbytes, NULL, 0, ctx->sa_in, in crypto4xx_hash_update()
710 req->nbytes, NULL, 0, ctx->sa_in, in crypto4xx_hash_digest()