Lines Matching defs:cc

68 	struct crypt_config *cc;  member
244 static struct crypto_skcipher *any_tfm(struct crypt_config *cc) in any_tfm()
249 static struct crypto_aead *any_tfm_aead(struct crypt_config *cc) in any_tfm_aead()
310 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
319 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
328 static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64be_gen()
338 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
351 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr()
381 static void crypt_iv_benbi_dtr(struct crypt_config *cc) in crypt_iv_benbi_dtr()
385 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
398 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
406 static void crypt_iv_lmk_dtr(struct crypt_config *cc) in crypt_iv_lmk_dtr()
418 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr()
451 static int crypt_iv_lmk_init(struct crypt_config *cc) in crypt_iv_lmk_init()
464 static int crypt_iv_lmk_wipe(struct crypt_config *cc) in crypt_iv_lmk_wipe()
474 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
522 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
540 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
562 static void crypt_iv_tcw_dtr(struct crypt_config *cc) in crypt_iv_tcw_dtr()
576 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr()
609 static int crypt_iv_tcw_init(struct crypt_config *cc) in crypt_iv_tcw_init()
621 static int crypt_iv_tcw_wipe(struct crypt_config *cc) in crypt_iv_tcw_wipe()
631 static int crypt_iv_tcw_whitening(struct crypt_config *cc, in crypt_iv_tcw_whitening()
669 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
695 static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_post()
714 static int crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_random_gen()
722 static int crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_eboiv_ctr()
739 static int crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_eboiv_gen()
765 static void crypt_iv_elephant_dtr(struct crypt_config *cc) in crypt_iv_elephant_dtr()
773 static int crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_elephant_ctr()
937 static int crypt_iv_elephant(struct crypt_config *cc, struct dm_crypt_request *dmreq) in crypt_iv_elephant()
1010 static int crypt_iv_elephant_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_elephant_gen()
1024 static int crypt_iv_elephant_post(struct crypt_config *cc, u8 *iv, in crypt_iv_elephant_post()
1033 static int crypt_iv_elephant_init(struct crypt_config *cc) in crypt_iv_elephant_init()
1041 static int crypt_iv_elephant_wipe(struct crypt_config *cc) in crypt_iv_elephant_wipe()
1115 static bool crypt_integrity_aead(struct crypt_config *cc) in crypt_integrity_aead()
1120 static bool crypt_integrity_hmac(struct crypt_config *cc) in crypt_integrity_hmac()
1126 static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc, in crypt_get_sg_data()
1161 static int crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) in crypt_integrity_ctr()
1208 static void crypt_convert_init(struct crypt_config *cc, in crypt_convert_init()
1223 static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc, in dmreq_of_req()
1229 static void *req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) in req_of_dmreq()
1234 static u8 *iv_of_dmreq(struct crypt_config *cc, in iv_of_dmreq()
1245 static u8 *org_iv_of_dmreq(struct crypt_config *cc, in org_iv_of_dmreq()
1251 static __le64 *org_sector_of_dmreq(struct crypt_config *cc, in org_sector_of_dmreq()
1258 static unsigned int *org_tag_of_dmreq(struct crypt_config *cc, in org_tag_of_dmreq()
1266 static void *tag_from_dmreq(struct crypt_config *cc, in tag_from_dmreq()
1276 static void *iv_tag_from_dmreq(struct crypt_config *cc, in iv_tag_from_dmreq()
1282 static int crypt_convert_block_aead(struct crypt_config *cc, in crypt_convert_block_aead()
1378 static int crypt_convert_block_skcipher(struct crypt_config *cc, in crypt_convert_block_skcipher()
1458 static int crypt_alloc_req_skcipher(struct crypt_config *cc, in crypt_alloc_req_skcipher()
1482 static int crypt_alloc_req_aead(struct crypt_config *cc, in crypt_alloc_req_aead()
1504 static int crypt_alloc_req(struct crypt_config *cc, in crypt_alloc_req()
1513 static void crypt_free_req_skcipher(struct crypt_config *cc, in crypt_free_req_skcipher()
1522 static void crypt_free_req_aead(struct crypt_config *cc, in crypt_free_req_aead()
1531 static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) in crypt_free_req()
1542 static blk_status_t crypt_convert(struct crypt_config *cc, in crypt_convert()
1657 struct crypt_config *cc = io->cc; in crypt_alloc_buffer() local
1705 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) in crypt_free_buffer_pages()
1716 static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, in crypt_io_init()
1746 struct crypt_config *cc = io->cc; in crypt_dec_pending() local
1801 struct crypt_config *cc = io->cc; in crypt_endio() local
1827 struct crypt_config *cc = io->cc; in clone_init() local
1837 struct crypt_config *cc = io->cc; in kcryptd_io_read() local
1877 struct crypt_config *cc = io->cc; in kcryptd_queue_read() local
1894 struct crypt_config *cc = data; in dmcrypt_write() local
1947 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_io_submit() local
1988 static bool kcryptd_crypt_write_inline(struct crypt_config *cc, in kcryptd_crypt_write_inline()
2013 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_continue() local
2043 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_convert() local
2107 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_continue() local
2125 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_convert() local
2159 struct crypt_config *cc = io->cc; in kcryptd_async_done() local
2221 struct crypt_config *cc = io->cc; in kcryptd_queue_crypt() local
2244 static void crypt_free_tfms_aead(struct crypt_config *cc) in crypt_free_tfms_aead()
2258 static void crypt_free_tfms_skcipher(struct crypt_config *cc) in crypt_free_tfms_skcipher()
2275 static void crypt_free_tfms(struct crypt_config *cc) in crypt_free_tfms()
2283 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher()
2314 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead()
2335 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms()
2343 static unsigned crypt_subkey_size(struct crypt_config *cc) in crypt_subkey_size()
2348 static unsigned crypt_authenckey_size(struct crypt_config *cc) in crypt_authenckey_size()
2375 static int crypt_setkey(struct crypt_config *cc) in crypt_setkey()
2424 static int set_key_user(struct crypt_config *cc, struct key *key) in set_key_user()
2440 static int set_key_encrypted(struct crypt_config *cc, struct key *key) in set_key_encrypted()
2456 static int set_key_trusted(struct crypt_config *cc, struct key *key) in set_key_trusted()
2472 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2575 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2587 static int crypt_set_key(struct crypt_config *cc, char *key) in crypt_set_key()
2624 static int crypt_wipe_key(struct crypt_config *cc) in crypt_wipe_key()
2661 struct crypt_config *cc = pool_data; in crypt_page_alloc() local
2682 struct crypt_config *cc = pool_data; in crypt_page_free() local
2690 struct crypt_config *cc = ti->private; in crypt_dtr() local
2741 struct crypt_config *cc = ti->private; in crypt_ctr_ivmode() local
2814 static int crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api) in crypt_ctr_auth_cipher()
2851 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_new() local
2924 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_old() local
3008 struct crypt_config *cc = ti->private; in crypt_ctr_cipher() local
3064 struct crypt_config *cc = ti->private; in crypt_ctr_optional() local
3145 struct crypt_config *cc = ti->private; in crypt_report_zones() local
3161 struct crypt_config *cc; in crypt_ctr() local
3375 struct crypt_config *cc = ti->private; in crypt_map() local
3441 struct crypt_config *cc = ti->private; in crypt_status() local
3527 struct crypt_config *cc = ti->private; in crypt_postsuspend() local
3534 struct crypt_config *cc = ti->private; in crypt_preresume() local
3546 struct crypt_config *cc = ti->private; in crypt_resume() local
3558 struct crypt_config *cc = ti->private; in crypt_message() local
3599 struct crypt_config *cc = ti->private; in crypt_iterate_devices() local
3606 struct crypt_config *cc = ti->private; in crypt_io_hints() local