releaseOutput
Releases DG_TeeOutput when the calculation is complete.
void releaseOutput (
DG_TeeOutput **output
)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
DG_TeeOutput |
Contains the calculation result. |
It is not null as a single pointer or a double pointer. |
Input |
Return Values
None
Error Codes
None
Dependency
The function depends on the result of the successful revealShare call.
Example
#include "data_guard_mpc.h" DG_TeeOutput *output = nullptr; res = aritOpts.revealShare(dgTee, share_out, &output); aritOpts.releaseOutput(&share1); Calculation result: no return value
You can call this API to release the output of the revealShare API.
Parent topic: Arithmetic Operators