Rate This Document
Findability
Accuracy
Completeness
Readability

releaseOutput

Releases DG_TeeOutput when the calculation is complete.

void ReleaseOutput(
     DG_TeeOutput **share
)

Parameters

Table 1 Description

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

You can call this API to release the output of the revealShare API.

#include  "data_guard_mpc.h" 
DG_TeeOutput *output = nullptr;
int res = aritOpts.revealShare(dgTee, share_out, &output);
aritOpts.releaseOutput(&share1);

Calculation result: no return value