Searched refs:blk_crypto_modes (Results 1 – 3 of 3) sorted by relevance
21 const struct blk_crypto_mode blk_crypto_modes[] = { variable81 BUG_ON(blk_crypto_modes[i].keysize > BLK_CRYPTO_MAX_KEY_SIZE); in bio_crypt_ctx_init()82 BUG_ON(blk_crypto_modes[i].ivsize > BLK_CRYPTO_MAX_IV_SIZE); in bio_crypt_ctx_init()337 if (crypto_mode >= ARRAY_SIZE(blk_crypto_modes)) in blk_crypto_init_key()340 mode = &blk_crypto_modes[crypto_mode]; in blk_crypto_init_key()
166 attr->attr.name = blk_crypto_modes[i].name; in blk_crypto_sysfs_init()
20 extern const struct blk_crypto_mode blk_crypto_modes[];