Lines Matching defs:sg_out
163 struct scatterlist sg_in[1], sg_out[1];
171 sg_init_table(sg_out, 1);
173 setup_sg(sg_out, state->session_key, state->keylen);
174 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in,
373 struct scatterlist sg_in[1], sg_out[1];
428 sg_init_table(sg_out, 1);
430 setup_sg(sg_out, obuf, osize);
431 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in, isize) != 0) {
484 struct scatterlist sg_in[1], sg_out[1];
617 sg_init_table(sg_out, 1);
619 setup_sg(sg_out, obuf, 1);
620 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, 1) != 0) {
639 setup_sg(sg_out, obuf + 1, osize - 1);
640 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, isize - 1)) {