Home
last modified time | relevance | path

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

/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/include/uapi/linux/
H A Dblk-crypto.h31 __u64 eph_key_size; member
/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
1327 eph_key_size, in qcom_scm_derive_sw_secret()
1338 memcpy(eph_key_buf, eph_key, eph_key_size); in qcom_scm_derive_sw_secret()
1340 desc.args[1] = eph_key_size; in qcom_scm_derive_sw_secret()
1348 memzero_explicit(eph_key_buf, 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
1425 eph_key_size, in qcom_scm_prepare_ice_key()
1434 desc.args[3] = eph_key_size; in qcom_scm_prepare_ice_key()
1438 memcpy(eph_key, eph_key_buf, eph_key_size); in qcom_scm_prepare_ice_key()
1441 memzero_explicit(eph_key_buf, eph_key_size); in qcom_scm_prepare_ice_key()
/linux-6.15/block/
H A Dblk-crypto.c576 if (ret > arg.eph_key_size) { in blk_crypto_ioctl_prepare_key()
580 arg.eph_key_size = ret; in blk_crypto_ioctl_prepare_key()
582 arg.eph_key_size) || 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()
/linux-6.15/include/linux/
H A Dblk-crypto.h162 const u8 *eph_key, size_t eph_key_size,
H A Dblk-crypto-profile.h72 const u8 *eph_key, size_t eph_key_size,
/linux-6.15/Documentation/block/
H A Dinline-encryption.rst520 ``eph_key_ptr``, which is of maximum size ``eph_key_size``. It also updates
521 ``eph_key_size`` to be the actual size of the key. On failure, it returns -1