Function tss_esapi_sys::Tss2_Sys_EncryptDecrypt2
source · pub unsafe extern "C" fn Tss2_Sys_EncryptDecrypt2(
sysContext: *mut TSS2_SYS_CONTEXT,
keyHandle: TPMI_DH_OBJECT,
cmdAuthsArray: *const TSS2L_SYS_AUTH_COMMAND,
inData: *const TPM2B_MAX_BUFFER,
decrypt: TPMI_YES_NO,
mode: TPMI_ALG_SYM_MODE,
ivIn: *const TPM2B_IV,
outData: *mut TPM2B_MAX_BUFFER,
ivOut: *mut TPM2B_IV,
rspAuthsArray: *mut TSS2L_SYS_AUTH_RESPONSE
) -> TSS2_RC