Function tss_esapi_sys::Tss2_Sys_Duplicate
source · pub unsafe extern "C" fn Tss2_Sys_Duplicate(
sysContext: *mut TSS2_SYS_CONTEXT,
objectHandle: TPMI_DH_OBJECT,
newParentHandle: TPMI_DH_OBJECT,
cmdAuthsArray: *const TSS2L_SYS_AUTH_COMMAND,
encryptionKeyIn: *const TPM2B_DATA,
symmetricAlg: *const TPMT_SYM_DEF_OBJECT,
encryptionKeyOut: *mut TPM2B_DATA,
duplicate: *mut TPM2B_PRIVATE,
outSymSeed: *mut TPM2B_ENCRYPTED_SECRET,
rspAuthsArray: *mut TSS2L_SYS_AUTH_RESPONSE
) -> TSS2_RC