Home
last modified time | relevance | path

Searched refs:blk_crypto_modes (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/block/
Dblk-crypto.c20 const struct blk_crypto_mode blk_crypto_modes[] = { variable
74 BUG_ON(blk_crypto_modes[i].keysize > BLK_CRYPTO_MAX_KEY_SIZE); in bio_crypt_ctx_init()
75 BUG_ON(blk_crypto_modes[i].ivsize > BLK_CRYPTO_MAX_IV_SIZE); in bio_crypt_ctx_init()
332 if (crypto_mode >= ARRAY_SIZE(blk_crypto_modes)) in blk_crypto_init_key()
335 mode = &blk_crypto_modes[crypto_mode]; in blk_crypto_init_key()
Dblk-crypto-internal.h20 extern const struct blk_crypto_mode blk_crypto_modes[];
Dblk-crypto-sysfs.c165 attr->attr.name = blk_crypto_modes[i].name; in blk_crypto_sysfs_init()
Dblk-crypto-fallback.c102 blk_crypto_modes[crypto_mode].keysize); in blk_crypto_fallback_evict_keyslot()
613 const char *cipher_str = blk_crypto_modes[mode_num].cipher_str; in blk_crypto_fallback_start_using_mode()