Lines Matching refs:sg_in
163 struct scatterlist sg_in[1], sg_out[1]; in mppe_rekey() local
170 sg_init_table(sg_in, 1); in mppe_rekey()
172 setup_sg(sg_in, state->sha1_digest, state->keylen); in mppe_rekey()
174 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in, in mppe_rekey()
373 struct scatterlist sg_in[1], sg_out[1]; in mppe_compress() local
425 sg_init_table(sg_in, 1); in mppe_compress()
427 setup_sg(sg_in, ibuf, isize); in mppe_compress()
429 if (crypto_blkcipher_encrypt(&desc, sg_out, sg_in, isize) != 0) { in mppe_compress()
481 struct scatterlist sg_in[1], sg_out[1]; in mppe_decompress() local
608 sg_init_table(sg_in, 1); in mppe_decompress()
610 setup_sg(sg_in, ibuf, 1); in mppe_decompress()
612 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, 1) != 0) { in mppe_decompress()
630 setup_sg(sg_in, ibuf + 1, isize - 1); in mppe_decompress()
632 if (crypto_blkcipher_decrypt(&desc, sg_out, sg_in, isize - 1)) { in mppe_decompress()