Function tss_esapi_sys::Esys_Duplicate
source · pub unsafe extern "C" fn Esys_Duplicate(
esysContext: *mut ESYS_CONTEXT,
objectHandle: ESYS_TR,
newParentHandle: ESYS_TR,
shandle1: ESYS_TR,
shandle2: ESYS_TR,
shandle3: ESYS_TR,
encryptionKeyIn: *const TPM2B_DATA,
symmetricAlg: *const TPMT_SYM_DEF_OBJECT,
encryptionKeyOut: *mut *mut TPM2B_DATA,
duplicate: *mut *mut TPM2B_PRIVATE,
outSymSeed: *mut *mut TPM2B_ENCRYPTED_SECRET
) -> TSS2_RC