Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dblk-crypto-profile.h72 const u8 *eph_key, size_t eph_key_size,
115 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]);
217 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]);
H A Dblk-crypto.h162 const u8 *eph_key, size_t eph_key_size,
/linux/include/soc/qcom/
H A Dice.h22 const u8 *eph_key, size_t eph_key_size,
28 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]);
/linux/block/
H A Dblk-crypto.c556 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]; in blk_crypto_ioctl_prepare_key() local
573 ret = blk_crypto_prepare_key(profile, lt_key, arg.lt_key_size, eph_key); in blk_crypto_ioctl_prepare_key()
581 if (copy_to_user(u64_to_user_ptr(arg.eph_key_ptr), eph_key, in blk_crypto_ioctl_prepare_key()
591 memzero_explicit(eph_key, sizeof(eph_key)); in blk_crypto_ioctl_prepare_key()
H A Dblk-crypto-profile.c485 const u8 *eph_key, size_t eph_key_size, in blk_crypto_derive_sw_secret() argument
499 err = profile->ll_ops.derive_sw_secret(profile, eph_key, eph_key_size, in blk_crypto_derive_sw_secret()
546 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in blk_crypto_prepare_key()
558 eph_key); in blk_crypto_prepare_key()
/linux/drivers/soc/qcom/
H A Dice.c462 const u8 *eph_key, size_t eph_key_size, in qcom_ice_derive_sw_secret() argument
465 int err = qcom_scm_derive_sw_secret(eph_key, eph_key_size, in qcom_ice_derive_sw_secret()
511 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in qcom_ice_prepare_key()
516 eph_key, QCOM_ICE_HWKM_WRAPPED_KEY_SIZE(ice->hwkm_version)); in qcom_ice_prepare_key()
/linux/drivers/md/
H A Ddm-table.c1211 const u8 *eph_key; member
1226 u8 *eph_key; member
1247 args->derive_sw_secret.eph_key, in dm_wrappedkey_op_callback()
1265 args->prepare_key.eph_key); in dm_wrappedkey_op_callback()
1313 const u8 *eph_key, size_t eph_key_size, in dm_derive_sw_secret() argument
1319 .eph_key = eph_key, in dm_derive_sw_secret()
1356 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in dm_prepare_key()
1363 .eph_key = eph_key, in dm_prepare_key()
/linux/drivers/ufs/host/
H A Dufs-qcom.c269 const u8 *eph_key, size_t eph_key_size, in ufs_qcom_ice_derive_sw_secret() argument
275 return qcom_ice_derive_sw_secret(host->ice, eph_key, eph_key_size, in ufs_qcom_ice_derive_sw_secret()
300 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in ufs_qcom_ice_prepare_key()
305 return qcom_ice_prepare_key(host->ice, lt_key, lt_key_size, eph_key); in ufs_qcom_ice_prepare_key()