releaseOutput
Releases the PIR calculation result and the reveal result of the basic operators.
void releaseOutput(
DG_TeeOutput **output
)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
output |
PIR 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" // pirOpts is the result of the successful DG_InitPirOpts call, and output is the result of the calculate API. pirOpts.releaseOutput(&output); Calculation result: no return value
- Call the releaseOutput API using the pirOpts output of the successful DG_InitPirOpts call.
- You can call this API to release the output of the clientCalculate API.
Parent topic: PIR Operator