Lines Matching refs:sg_in
163 struct scatterlist sg_in[1], sg_out[1];
170 sg_init_table(sg_in, 1);
172 setup_sg(sg_in, state->sha1_digest, state->keylen);
174 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in,
373 struct scatterlist sg_in[1], sg_out[1];
427 sg_init_table(sg_in, 1);
429 setup_sg(sg_in, ibuf, isize);
431 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in, isize) != 0) {
484 struct scatterlist sg_in[1], sg_out[1];
616 sg_init_table(sg_in, 1);
618 setup_sg(sg_in, ibuf, 1);
620 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, 1) != 0) {
638 setup_sg(sg_in, ibuf + 1, isize - 1);
640 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, isize - 1)) {