Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dblk-crypto-fallback.c80 static struct blk_keyslot_manager blk_crypto_ksm; variable
293 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot); in blk_crypto_fallback_encrypt_bio()
395 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot); in blk_crypto_fallback_decrypt_bio()
498 if (!blk_ksm_crypto_cfg_supported(&blk_crypto_ksm, in blk_crypto_fallback_bio_prep()
525 return blk_ksm_evict_key(&blk_crypto_ksm, key); in blk_crypto_fallback_evict_key()
539 err = blk_ksm_init(&blk_crypto_ksm, blk_crypto_num_keyslots); in blk_crypto_fallback_init()
544 blk_crypto_ksm.ksm_ll_ops = blk_crypto_ksm_ll_ops; in blk_crypto_fallback_init()
545 blk_crypto_ksm.max_dun_bytes_supported = BLK_CRYPTO_MAX_IV_SIZE; in blk_crypto_fallback_init()
549 blk_crypto_ksm.crypto_modes_supported[i] = 0xFFFFFFFF; in blk_crypto_fallback_init()
550 blk_crypto_ksm.crypto_modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0; in blk_crypto_fallback_init()
[all …]