Lines Matching defs:cc

54 	struct crypt_config *cc;  member
192 static struct crypto_ablkcipher *any_tfm(struct crypt_config *cc) in any_tfm()
244 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
253 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
263 static int crypt_iv_essiv_init(struct crypt_config *cc) in crypt_iv_essiv_init()
290 static int crypt_iv_essiv_wipe(struct crypt_config *cc) in crypt_iv_essiv_wipe()
308 static struct crypto_cipher *setup_essiv_cpu(struct crypt_config *cc, in setup_essiv_cpu()
340 static void crypt_iv_essiv_dtr(struct crypt_config *cc) in crypt_iv_essiv_dtr()
359 static int crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_essiv_ctr()
407 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
419 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr()
443 static void crypt_iv_benbi_dtr(struct crypt_config *cc) in crypt_iv_benbi_dtr()
447 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
460 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
468 static void crypt_iv_lmk_dtr(struct crypt_config *cc) in crypt_iv_lmk_dtr()
480 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr()
507 static int crypt_iv_lmk_init(struct crypt_config *cc) in crypt_iv_lmk_init()
520 static int crypt_iv_lmk_wipe(struct crypt_config *cc) in crypt_iv_lmk_wipe()
530 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
579 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
595 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
615 static void crypt_iv_tcw_dtr(struct crypt_config *cc) in crypt_iv_tcw_dtr()
629 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr()
656 static int crypt_iv_tcw_init(struct crypt_config *cc) in crypt_iv_tcw_init()
668 static int crypt_iv_tcw_wipe(struct crypt_config *cc) in crypt_iv_tcw_wipe()
678 static int crypt_iv_tcw_whitening(struct crypt_config *cc, in crypt_iv_tcw_whitening()
718 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
742 static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_post()
803 static void crypt_convert_init(struct crypt_config *cc, in crypt_convert_init()
818 static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc, in dmreq_of_req()
824 static struct ablkcipher_request *req_of_dmreq(struct crypt_config *cc, in req_of_dmreq()
830 static u8 *iv_of_dmreq(struct crypt_config *cc, in iv_of_dmreq()
837 static int crypt_convert_block(struct crypt_config *cc, in crypt_convert_block()
886 static void crypt_alloc_req(struct crypt_config *cc, in crypt_alloc_req()
905 static void crypt_free_req(struct crypt_config *cc, in crypt_free_req()
917 static int crypt_convert(struct crypt_config *cc, in crypt_convert()
989 struct crypt_config *cc = io->cc; in crypt_alloc_buffer() local
1037 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) in crypt_free_buffer_pages()
1049 static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, in crypt_io_init()
1071 struct crypt_config *cc = io->cc; in crypt_dec_pending() local
1105 struct crypt_config *cc = io->cc; in crypt_endio() local
1131 struct crypt_config *cc = io->cc; in clone_init() local
1141 struct crypt_config *cc = io->cc; in kcryptd_io_read() local
1175 struct crypt_config *cc = io->cc; in kcryptd_queue_read() local
1192 struct crypt_config *cc = data; in dmcrypt_write() local
1248 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_io_submit() local
1290 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_convert() local
1336 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_convert() local
1360 struct crypt_config *cc = io->cc; in kcryptd_async_done() local
1401 struct crypt_config *cc = io->cc; in kcryptd_queue_crypt() local
1431 static void crypt_free_tfms(struct crypt_config *cc) in crypt_free_tfms()
1448 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms()
1470 static int crypt_setkey_allcpus(struct crypt_config *cc) in crypt_setkey_allcpus()
1489 static int crypt_set_key(struct crypt_config *cc, char *key) in crypt_set_key()
1516 static int crypt_wipe_key(struct crypt_config *cc) in crypt_wipe_key()
1526 struct crypt_config *cc = ti->private; in crypt_dtr() local
1570 struct crypt_config *cc = ti->private; in crypt_ctr_cipher() local
1734 struct crypt_config *cc; in crypt_ctr() local
1908 struct crypt_config *cc = ti->private; in crypt_map() local
1939 struct crypt_config *cc = ti->private; in crypt_status() local
1979 struct crypt_config *cc = ti->private; in crypt_postsuspend() local
1986 struct crypt_config *cc = ti->private; in crypt_preresume() local
1998 struct crypt_config *cc = ti->private; in crypt_resume() local
2009 struct crypt_config *cc = ti->private; in crypt_message() local
2046 struct crypt_config *cc = ti->private; in crypt_iterate_devices() local