crypt_config
static int crypt_iv_elephant_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_elephant_post(struct crypt_config *cc, u8 *iv,
static int crypt_iv_elephant_init(struct crypt_config *cc)
static int crypt_iv_elephant_wipe(struct crypt_config *cc)
struct crypt_config;
int (*ctr)(struct crypt_config *cc, struct dm_target *ti,
void (*dtr)(struct crypt_config *cc);
int (*init)(struct crypt_config *cc);
static bool crypt_integrity_aead(struct crypt_config *cc)
int (*wipe)(struct crypt_config *cc);
static bool crypt_integrity_hmac(struct crypt_config *cc)
static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc,
int (*generator)(struct crypt_config *cc, u8 *iv,
int (*post)(struct crypt_config *cc, u8 *iv,
static int crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti)
static void crypt_convert_init(struct crypt_config *cc,
static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc,
static void *req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq)
static u8 *iv_of_dmreq(struct crypt_config *cc,
static u8 *org_iv_of_dmreq(struct crypt_config *cc,
static __le64 *org_sector_of_dmreq(struct crypt_config *cc,
static unsigned int *org_tag_of_dmreq(struct crypt_config *cc,
static void *tag_from_dmreq(struct crypt_config *cc,
static void *iv_tag_from_dmreq(struct crypt_config *cc,
static int crypt_convert_block_aead(struct crypt_config *cc,
static int crypt_convert_block_skcipher(struct crypt_config *cc,
static int crypt_alloc_req_skcipher(struct crypt_config *cc,
static int crypt_alloc_req_aead(struct crypt_config *cc,
static int crypt_alloc_req(struct crypt_config *cc,
static void crypt_free_req_skcipher(struct crypt_config *cc,
static void crypt_free_req_aead(struct crypt_config *cc,
static void crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio)
static blk_status_t crypt_convert(struct crypt_config *cc,
static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone);
struct crypt_config *cc = io->cc;
static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone)
static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc,
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = data;
struct crypt_config *cc = io->cc;
static bool kcryptd_crypt_write_inline(struct crypt_config *cc,
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
struct crypt_config *cc = io->cc;
static void crypt_free_tfms_aead(struct crypt_config *cc)
static void crypt_free_tfms_skcipher(struct crypt_config *cc)
static void crypt_free_tfms(struct crypt_config *cc)
static int crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode)
static int crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode)
static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode)
static unsigned int crypt_subkey_size(struct crypt_config *cc)
static unsigned int crypt_authenckey_size(struct crypt_config *cc)
static int crypt_setkey(struct crypt_config *cc)
static int set_key_user(struct crypt_config *cc, struct key *key)
static int set_key_encrypted(struct crypt_config *cc, struct key *key)
static int set_key_trusted(struct crypt_config *cc, struct key *key)
static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string)
int (*set_key)(struct crypt_config *cc, struct key *key);
struct crypt_config *cc = ti->private;
static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string)
static int crypt_set_key(struct crypt_config *cc, char *key)
static int crypt_wipe_key(struct crypt_config *cc)
struct crypt_config *cc = pool_data;
struct crypt_config *cc = pool_data;
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
static int crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api)
static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc,
static bool crypt_integrity_aead(struct crypt_config *cc);
struct crypt_config *cc = ti->private;
static struct crypto_skcipher *any_tfm(struct crypt_config *cc)
struct crypt_config *cc = ti->private;
static struct crypto_aead *any_tfm_aead(struct crypt_config *cc)
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
struct crypt_config *cc;
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv,
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv,
struct crypt_config *cc = ti->private;
struct crypt_config *cc = ti->private;
static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti,
static void crypt_iv_benbi_dtr(struct crypt_config *cc)
static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv,
static void crypt_iv_lmk_dtr(struct crypt_config *cc)
static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti,
static int crypt_iv_lmk_init(struct crypt_config *cc)
static int crypt_iv_lmk_wipe(struct crypt_config *cc)
static void crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv,
static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv,
static void crypt_iv_tcw_dtr(struct crypt_config *cc)
static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti,
static int crypt_iv_tcw_init(struct crypt_config *cc)
static int crypt_iv_tcw_wipe(struct crypt_config *cc)
static void crypt_iv_tcw_whitening(struct crypt_config *cc,
static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv,
static int crypt_iv_random_gen(struct crypt_config *cc, u8 *iv,
static int crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti,
static int crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv,
static void crypt_iv_elephant_dtr(struct crypt_config *cc)
static int crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti,
struct crypt_config *cc;
static int crypt_iv_elephant(struct crypt_config *cc, struct dm_crypt_request *dmreq)