Lines Matching defs:cc

65 	struct crypt_config *cc;  member
238 static struct crypto_skcipher *any_tfm(struct crypt_config *cc) in any_tfm()
243 static struct crypto_aead *any_tfm_aead(struct crypt_config *cc) in any_tfm_aead()
298 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
307 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
316 static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64be_gen()
327 static int crypt_iv_essiv_init(struct crypt_config *cc) in crypt_iv_essiv_init()
353 static int crypt_iv_essiv_wipe(struct crypt_config *cc) in crypt_iv_essiv_wipe()
371 static struct crypto_cipher *alloc_essiv_cipher(struct crypt_config *cc, in alloc_essiv_cipher()
403 static void crypt_iv_essiv_dtr(struct crypt_config *cc) in crypt_iv_essiv_dtr()
422 static int crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_essiv_ctr()
470 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
482 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr()
506 static void crypt_iv_benbi_dtr(struct crypt_config *cc) in crypt_iv_benbi_dtr()
510 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
523 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
531 static void crypt_iv_lmk_dtr(struct crypt_config *cc) in crypt_iv_lmk_dtr()
543 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr()
575 static int crypt_iv_lmk_init(struct crypt_config *cc) in crypt_iv_lmk_init()
588 static int crypt_iv_lmk_wipe(struct crypt_config *cc) in crypt_iv_lmk_wipe()
598 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
647 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
665 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
687 static void crypt_iv_tcw_dtr(struct crypt_config *cc) in crypt_iv_tcw_dtr()
701 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr()
733 static int crypt_iv_tcw_init(struct crypt_config *cc) in crypt_iv_tcw_init()
745 static int crypt_iv_tcw_wipe(struct crypt_config *cc) in crypt_iv_tcw_wipe()
755 static int crypt_iv_tcw_whitening(struct crypt_config *cc, in crypt_iv_tcw_whitening()
794 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
820 static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_post()
839 static int crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_random_gen()
902 static bool crypt_integrity_aead(struct crypt_config *cc) in crypt_integrity_aead()
907 static bool crypt_integrity_hmac(struct crypt_config *cc) in crypt_integrity_hmac()
913 static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc, in crypt_get_sg_data()
948 static int crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) in crypt_integrity_ctr()
994 static void crypt_convert_init(struct crypt_config *cc, in crypt_convert_init()
1009 static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc, in dmreq_of_req()
1015 static void *req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) in req_of_dmreq()
1020 static u8 *iv_of_dmreq(struct crypt_config *cc, in iv_of_dmreq()
1031 static u8 *org_iv_of_dmreq(struct crypt_config *cc, in org_iv_of_dmreq()
1037 static uint64_t *org_sector_of_dmreq(struct crypt_config *cc, in org_sector_of_dmreq()
1044 static unsigned int *org_tag_of_dmreq(struct crypt_config *cc, in org_tag_of_dmreq()
1052 static void *tag_from_dmreq(struct crypt_config *cc, in tag_from_dmreq()
1062 static void *iv_tag_from_dmreq(struct crypt_config *cc, in iv_tag_from_dmreq()
1068 static int crypt_convert_block_aead(struct crypt_config *cc, in crypt_convert_block_aead()
1162 static int crypt_convert_block_skcipher(struct crypt_config *cc, in crypt_convert_block_skcipher()
1239 static void crypt_alloc_req_skcipher(struct crypt_config *cc, in crypt_alloc_req_skcipher()
1258 static void crypt_alloc_req_aead(struct crypt_config *cc, in crypt_alloc_req_aead()
1275 static void crypt_alloc_req(struct crypt_config *cc, in crypt_alloc_req()
1284 static void crypt_free_req_skcipher(struct crypt_config *cc, in crypt_free_req_skcipher()
1293 static void crypt_free_req_aead(struct crypt_config *cc, in crypt_free_req_aead()
1302 static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) in crypt_free_req()
1313 static blk_status_t crypt_convert(struct crypt_config *cc, in crypt_convert()
1398 struct crypt_config *cc = io->cc; in crypt_alloc_buffer() local
1446 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) in crypt_free_buffer_pages()
1457 static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, in crypt_io_init()
1481 struct crypt_config *cc = io->cc; in crypt_dec_pending() local
1520 struct crypt_config *cc = io->cc; in crypt_endio() local
1546 struct crypt_config *cc = io->cc; in clone_init() local
1556 struct crypt_config *cc = io->cc; in kcryptd_io_read() local
1596 struct crypt_config *cc = io->cc; in kcryptd_queue_read() local
1613 struct crypt_config *cc = data; in dmcrypt_write() local
1666 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_io_submit() local
1708 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_convert() local
1754 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_convert() local
1778 struct crypt_config *cc = io->cc; in kcryptd_async_done() local
1823 struct crypt_config *cc = io->cc; in kcryptd_queue_crypt() local
1829 static void crypt_free_tfms_aead(struct crypt_config *cc) in crypt_free_tfms_aead()
1843 static void crypt_free_tfms_skcipher(struct crypt_config *cc) in crypt_free_tfms_skcipher()
1860 static void crypt_free_tfms(struct crypt_config *cc) in crypt_free_tfms()
1868 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher()
1891 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead()
1909 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms()
1917 static unsigned crypt_subkey_size(struct crypt_config *cc) in crypt_subkey_size()
1922 static unsigned crypt_authenckey_size(struct crypt_config *cc) in crypt_authenckey_size()
1949 static int crypt_setkey(struct crypt_config *cc) in crypt_setkey()
1998 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2096 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2108 static int crypt_set_key(struct crypt_config *cc, char *key) in crypt_set_key()
2145 static int crypt_wipe_key(struct crypt_config *cc) in crypt_wipe_key()
2174 struct crypt_config *cc = pool_data; in crypt_page_alloc() local
2190 struct crypt_config *cc = pool_data; in crypt_page_free() local
2198 struct crypt_config *cc = ti->private; in crypt_dtr() local
2250 struct crypt_config *cc = ti->private; in crypt_ctr_ivmode() local
2314 static int crypt_ctr_blkdev_cipher(struct crypt_config *cc) in crypt_ctr_blkdev_cipher()
2360 static int crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api) in crypt_ctr_auth_cipher()
2397 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_new() local
2447 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_old() local
2528 struct crypt_config *cc = ti->private; in crypt_ctr_cipher() local
2584 struct crypt_config *cc = ti->private; in crypt_ctr_optional() local
2663 struct crypt_config *cc; in crypt_ctr() local
2850 struct crypt_config *cc = ti->private; in crypt_map() local
2916 struct crypt_config *cc = ti->private; in crypt_status() local
2969 struct crypt_config *cc = ti->private; in crypt_postsuspend() local
2976 struct crypt_config *cc = ti->private; in crypt_preresume() local
2988 struct crypt_config *cc = ti->private; in crypt_resume() local
3000 struct crypt_config *cc = ti->private; in crypt_message() local
3047 struct crypt_config *cc = ti->private; in crypt_iterate_devices() local
3054 struct crypt_config *cc = ti->private; in crypt_io_hints() local