Lines Matching refs:blk_crypto_fallback_profile
81 static struct blk_crypto_profile *blk_crypto_fallback_profile;
295 blk_st = blk_crypto_get_keyslot(blk_crypto_fallback_profile,
398 blk_st = blk_crypto_get_keyslot(blk_crypto_fallback_profile,
502 if (!__blk_crypto_cfg_supported(blk_crypto_fallback_profile,
529 return __blk_crypto_evict_key(blk_crypto_fallback_profile, key);
548 blk_crypto_fallback_profile =
549 kzalloc(sizeof(*blk_crypto_fallback_profile), GFP_KERNEL);
550 if (!blk_crypto_fallback_profile) {
555 err = blk_crypto_profile_init(blk_crypto_fallback_profile,
561 blk_crypto_fallback_profile->ll_ops = blk_crypto_fallback_ll_ops;
562 blk_crypto_fallback_profile->max_dun_bytes_supported = BLK_CRYPTO_MAX_IV_SIZE;
566 blk_crypto_fallback_profile->modes_supported[i] = 0xFFFFFFFF;
567 blk_crypto_fallback_profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0;
608 blk_crypto_profile_destroy(blk_crypto_fallback_profile);
610 kfree(blk_crypto_fallback_profile);