Rate This Document
Findability
Accuracy
Completeness
Readability

releaseOutput

Releases DG_TeeMatOutput when the calculation is complete.

void ReleaseOutput(
    DG_TeeMatOutput **output
)

Parameters

Parameter

Description

Value Range

Input/Output

DG_TeeMatOutput

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_TeeMatOutput *output = nullptr;
res = aritOpts.revealShare(dgTee, share_out, &output);
aritOpts.releaseOutput(&share1);

Calculation result: no return value

This API is used together with revealShare.