Lines Matching refs:profile
473 static int blk_crypto_ioctl_import_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_import_key() argument
495 ret = blk_crypto_import_key(profile, raw_key, arg.raw_key_size, lt_key); in blk_crypto_ioctl_import_key()
517 static int blk_crypto_ioctl_generate_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_generate_key() argument
530 ret = blk_crypto_generate_key(profile, lt_key); in blk_crypto_ioctl_generate_key()
551 static int blk_crypto_ioctl_prepare_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_prepare_key() argument
573 ret = blk_crypto_prepare_key(profile, lt_key, arg.lt_key_size, eph_key); in blk_crypto_ioctl_prepare_key()
598 struct blk_crypto_profile *profile = in blk_crypto_ioctl() local
601 if (!profile) in blk_crypto_ioctl()
606 return blk_crypto_ioctl_import_key(profile, argp); in blk_crypto_ioctl()
608 return blk_crypto_ioctl_generate_key(profile, argp); in blk_crypto_ioctl()
610 return blk_crypto_ioctl_prepare_key(profile, argp); in blk_crypto_ioctl()