Lines Matching defs:blk_crypto_ksm
80 static struct blk_keyslot_manager blk_crypto_ksm;
293 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot);
395 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot);
498 if (!blk_ksm_crypto_cfg_supported(&blk_crypto_ksm,
525 return blk_ksm_evict_key(&blk_crypto_ksm, key);
539 err = blk_ksm_init(&blk_crypto_ksm, blk_crypto_num_keyslots);
544 blk_crypto_ksm.ksm_ll_ops = blk_crypto_ksm_ll_ops;
545 blk_crypto_ksm.max_dun_bytes_supported = BLK_CRYPTO_MAX_IV_SIZE;
549 blk_crypto_ksm.crypto_modes_supported[i] = 0xFFFFFFFF;
550 blk_crypto_ksm.crypto_modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0;
591 blk_ksm_destroy(&blk_crypto_ksm);