Rate This Document
Findability
Accuracy
Completeness
Readability

releaseOutput

Releases the PSI calculation result and the reveal result of the basic operators.

void releaseOutput(
     DG_TeeOutput **output
)

Parameters

Parameter

Description

Value Range

Input/Output

output

PSI calculation result and reveal result of the basic operators

It is not null as a single pointer or a double pointer.

Input

Return Values

None

Error Codes

None

Dependency

None

Example

#include  "data_guard_mpc.h" 
 // teeOpts is the result of the successful DG_InitPsiOpts call, and output is the result of the calculate API.
teeOpts.releaseOutput(&output);
Calculation result: no return value
  • Call the releaseOutput API using the teeOpts output of the successful DG_InitPsiOpts call.
  • You can call this API to release the output of the calculate API.