Lines Matching refs:sa_in
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()
595 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_gcm()
625 decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt_aes_gcm()
658 if (ctx->sa_in || ctx->sa_out) in crypto4xx_hash_alg_init()
667 sa = (struct dynamic_sa_hash160 *)ctx->sa_in; in crypto4xx_hash_alg_init()
691 sa = ctx->sa_in; in crypto4xx_hash_init()
710 req->nbytes, NULL, 0, ctx->sa_in, in crypto4xx_hash_update()
729 req->nbytes, NULL, 0, ctx->sa_in, in crypto4xx_hash_digest()