Searched refs:eph_key (Results 1 – 10 of 10) sorted by relevance
| /linux/include/linux/ |
| H A D | blk-crypto-profile.h | 72 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 D | blk-crypto.h | 167 const u8 *eph_key, size_t eph_key_size,
|
| /linux/include/soc/qcom/ |
| H A D | ice.h | 22 const u8 *eph_key, size_t eph_key_size, 28 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]);
|
| /linux/block/ |
| H A D | blk-crypto.c | 524 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]; in blk_crypto_ioctl_prepare_key() local 541 ret = blk_crypto_prepare_key(profile, lt_key, arg.lt_key_size, eph_key); in blk_crypto_ioctl_prepare_key() 549 if (copy_to_user(u64_to_user_ptr(arg.eph_key_ptr), eph_key, in blk_crypto_ioctl_prepare_key() 559 memzero_explicit(eph_key, sizeof(eph_key)); in blk_crypto_ioctl_prepare_key()
|
| H A D | blk-crypto-profile.c | 483 const u8 *eph_key, size_t eph_key_size, in blk_crypto_derive_sw_secret() argument 497 err = profile->ll_ops.derive_sw_secret(profile, eph_key, eph_key_size, in blk_crypto_derive_sw_secret() 544 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in blk_crypto_prepare_key() 556 eph_key); in blk_crypto_prepare_key()
|
| /linux/drivers/soc/qcom/ |
| H A D | ice.c | 462 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 D | dm-table.c | 1195 const u8 *eph_key; member 1210 u8 *eph_key; member 1228 args->derive_sw_secret.eph_key, in dm_wrappedkey_op_callback() 1246 args->prepare_key.eph_key); in dm_wrappedkey_op_callback() 1291 const u8 *eph_key, size_t eph_key_size, in dm_derive_sw_secret() argument 1297 .eph_key = eph_key, in dm_derive_sw_secret() 1334 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in dm_prepare_key() 1341 .eph_key = eph_key, in dm_prepare_key()
|
| /linux/include/linux/firmware/qcom/ |
| H A D | qcom_scm.h | 123 int qcom_scm_derive_sw_secret(const u8 *eph_key, size_t eph_key_size, 127 u8 *eph_key, size_t eph_key_size);
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-qcom.c | 270 const u8 *eph_key, size_t eph_key_size, in ufs_qcom_ice_derive_sw_secret() argument 276 return qcom_ice_derive_sw_secret(host->ice, eph_key, eph_key_size, in ufs_qcom_ice_derive_sw_secret() 301 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in ufs_qcom_ice_prepare_key() 306 return qcom_ice_prepare_key(host->ice, lt_key, lt_key_size, eph_key); in ufs_qcom_ice_prepare_key()
|
| /linux/drivers/firmware/qcom/ |
| H A D | qcom_scm.c | 1612 int qcom_scm_derive_sw_secret(const u8 *eph_key, size_t eph_key_size, in qcom_scm_derive_sw_secret() argument 1636 memcpy(eph_key_buf, eph_key, eph_key_size); in qcom_scm_derive_sw_secret() 1705 u8 *eph_key, size_t eph_key_size) in qcom_scm_prepare_ice_key() argument 1736 memcpy(eph_key, eph_key_buf, eph_key_size); in qcom_scm_prepare_ice_key()
|