Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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()
543 u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) in blk_crypto_prepare_key()
555 eph_key); in blk_crypto_prepare_key()
/linux-6.15/include/linux/firmware/qcom/
H A Dqcom_scm.h109 int qcom_scm_derive_sw_secret(const u8 *eph_key, size_t eph_key_size,
113 u8 *eph_key, size_t eph_key_size);
/linux-6.15/drivers/firmware/qcom/
H A Dqcom_scm.c1314 int qcom_scm_derive_sw_secret(const u8 *eph_key, size_t eph_key_size, in qcom_scm_derive_sw_secret() argument
1338 memcpy(eph_key_buf, eph_key, eph_key_size); in qcom_scm_derive_sw_secret()
1407 u8 *eph_key, size_t eph_key_size) in qcom_scm_prepare_ice_key() argument
1438 memcpy(eph_key, eph_key_buf, eph_key_size); in qcom_scm_prepare_ice_key()