Lines Matching defs:cc

76 	struct crypt_config *cc;  member
255 static unsigned get_max_request_size(struct crypt_config *cc, bool wrt) in get_max_request_size()
282 static struct crypto_skcipher *any_tfm(struct crypt_config *cc) in any_tfm()
287 static struct crypto_aead *any_tfm_aead(struct crypt_config *cc) in any_tfm_aead()
348 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
357 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
366 static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64be_gen()
376 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
389 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr()
420 static void crypt_iv_benbi_dtr(struct crypt_config *cc) in crypt_iv_benbi_dtr()
424 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
437 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
445 static void crypt_iv_lmk_dtr(struct crypt_config *cc) in crypt_iv_lmk_dtr()
457 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr()
490 static int crypt_iv_lmk_init(struct crypt_config *cc) in crypt_iv_lmk_init()
503 static int crypt_iv_lmk_wipe(struct crypt_config *cc) in crypt_iv_lmk_wipe()
513 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
561 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
579 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
601 static void crypt_iv_tcw_dtr(struct crypt_config *cc) in crypt_iv_tcw_dtr()
615 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr()
648 static int crypt_iv_tcw_init(struct crypt_config *cc) in crypt_iv_tcw_init()
660 static int crypt_iv_tcw_wipe(struct crypt_config *cc) in crypt_iv_tcw_wipe()
670 static int crypt_iv_tcw_whitening(struct crypt_config *cc, in crypt_iv_tcw_whitening()
702 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
728 static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_post()
747 static int crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_random_gen()
755 static int crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_eboiv_ctr()
771 static int crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_eboiv_gen()
805 static void crypt_iv_elephant_dtr(struct crypt_config *cc) in crypt_iv_elephant_dtr()
813 static int crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_elephant_ctr()
977 static int crypt_iv_elephant(struct crypt_config *cc, struct dm_crypt_request *dmreq) in crypt_iv_elephant()
1050 static int crypt_iv_elephant_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_elephant_gen()
1064 static int crypt_iv_elephant_post(struct crypt_config *cc, u8 *iv, in crypt_iv_elephant_post()
1073 static int crypt_iv_elephant_init(struct crypt_config *cc) in crypt_iv_elephant_init()
1081 static int crypt_iv_elephant_wipe(struct crypt_config *cc) in crypt_iv_elephant_wipe()
1155 static bool crypt_integrity_aead(struct crypt_config *cc) in crypt_integrity_aead()
1160 static bool crypt_integrity_hmac(struct crypt_config *cc) in crypt_integrity_hmac()
1166 static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc, in crypt_get_sg_data()
1200 static int crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) in crypt_integrity_ctr()
1247 static void crypt_convert_init(struct crypt_config *cc, in crypt_convert_init()
1262 static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc, in dmreq_of_req()
1268 static void *req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) in req_of_dmreq()
1273 static u8 *iv_of_dmreq(struct crypt_config *cc, in iv_of_dmreq()
1284 static u8 *org_iv_of_dmreq(struct crypt_config *cc, in org_iv_of_dmreq()
1290 static __le64 *org_sector_of_dmreq(struct crypt_config *cc, in org_sector_of_dmreq()
1298 static unsigned int *org_tag_of_dmreq(struct crypt_config *cc, in org_tag_of_dmreq()
1307 static void *tag_from_dmreq(struct crypt_config *cc, in tag_from_dmreq()
1317 static void *iv_tag_from_dmreq(struct crypt_config *cc, in iv_tag_from_dmreq()
1323 static int crypt_convert_block_aead(struct crypt_config *cc, in crypt_convert_block_aead()
1425 static int crypt_convert_block_skcipher(struct crypt_config *cc, in crypt_convert_block_skcipher()
1504 static int crypt_alloc_req_skcipher(struct crypt_config *cc, in crypt_alloc_req_skcipher()
1528 static int crypt_alloc_req_aead(struct crypt_config *cc, in crypt_alloc_req_aead()
1550 static int crypt_alloc_req(struct crypt_config *cc, in crypt_alloc_req()
1559 static void crypt_free_req_skcipher(struct crypt_config *cc, in crypt_free_req_skcipher()
1568 static void crypt_free_req_aead(struct crypt_config *cc, in crypt_free_req_aead()
1577 static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) in crypt_free_req()
1588 static blk_status_t crypt_convert(struct crypt_config *cc, in crypt_convert()
1706 struct crypt_config *cc = io->cc; in crypt_alloc_buffer() local
1774 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) in crypt_free_buffer_pages()
1791 static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, in crypt_io_init()
1819 struct crypt_config *cc = io->cc; in crypt_dec_pending() local
1868 struct crypt_config *cc = io->cc; in crypt_endio() local
1900 struct crypt_config *cc = io->cc; in kcryptd_io_read() local
1957 struct crypt_config *cc = io->cc; in kcryptd_queue_read() local
1974 struct crypt_config *cc = data; in dmcrypt_write() local
2027 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_io_submit() local
2068 static bool kcryptd_crypt_write_inline(struct crypt_config *cc, in kcryptd_crypt_write_inline()
2092 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_continue() local
2122 struct crypt_config *cc = io->cc; in kcryptd_crypt_write_convert() local
2200 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_continue() local
2218 struct crypt_config *cc = io->cc; in kcryptd_crypt_read_convert() local
2257 struct crypt_config *cc = io->cc; in kcryptd_async_done() local
2320 struct crypt_config *cc = io->cc; in kcryptd_queue_crypt() local
2343 static void crypt_free_tfms_aead(struct crypt_config *cc) in crypt_free_tfms_aead()
2357 static void crypt_free_tfms_skcipher(struct crypt_config *cc) in crypt_free_tfms_skcipher()
2374 static void crypt_free_tfms(struct crypt_config *cc) in crypt_free_tfms()
2382 static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_skcipher()
2413 static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms_aead()
2434 static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) in crypt_alloc_tfms()
2442 static unsigned int crypt_subkey_size(struct crypt_config *cc) in crypt_subkey_size()
2447 static unsigned int crypt_authenckey_size(struct crypt_config *cc) in crypt_authenckey_size()
2474 static int crypt_setkey(struct crypt_config *cc) in crypt_setkey()
2523 static int set_key_user(struct crypt_config *cc, struct key *key) in set_key_user()
2539 static int set_key_encrypted(struct crypt_config *cc, struct key *key) in set_key_encrypted()
2555 static int set_key_trusted(struct crypt_config *cc, struct key *key) in set_key_trusted()
2571 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2670 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key()
2682 static int crypt_set_key(struct crypt_config *cc, char *key) in crypt_set_key()
2719 static int crypt_wipe_key(struct crypt_config *cc) in crypt_wipe_key()
2756 struct crypt_config *cc = pool_data; in crypt_page_alloc() local
2777 struct crypt_config *cc = pool_data; in crypt_page_free() local
2785 struct crypt_config *cc = ti->private; in crypt_dtr() local
2841 struct crypt_config *cc = ti->private; in crypt_ctr_ivmode() local
2914 static int crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api) in crypt_ctr_auth_cipher()
2951 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_new() local
3024 struct crypt_config *cc = ti->private; in crypt_ctr_cipher_old() local
3108 struct crypt_config *cc = ti->private; in crypt_ctr_cipher() local
3164 struct crypt_config *cc = ti->private; in crypt_ctr_optional() local
3254 struct crypt_config *cc = ti->private; in crypt_report_zones() local
3270 struct crypt_config *cc; in crypt_ctr() local
3507 struct crypt_config *cc = ti->private; in crypt_map() local
3582 struct crypt_config *cc = ti->private; in crypt_status() local
3677 struct crypt_config *cc = ti->private; in crypt_postsuspend() local
3684 struct crypt_config *cc = ti->private; in crypt_preresume() local
3696 struct crypt_config *cc = ti->private; in crypt_resume() local
3708 struct crypt_config *cc = ti->private; in crypt_message() local
3749 struct crypt_config *cc = ti->private; in crypt_iterate_devices() local
3756 struct crypt_config *cc = ti->private; in crypt_io_hints() local