releaseShare
Releases the share result when the calculation is complete.
void releaseShare ( DG_MpcShare **share )
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
share |
Releases the share result. |
It is not null as a single pointer or a double pointer. |
Input |
Return Values
None
Error Codes
None
Dependency
This function depends on the result from makeShare.
Example
#include "data_guard_mpc.h" aritOpts ->releaseShare(&share1); Calculation result: no return value
This API is used together with makeShare. Each makeShare call corresponds to a releaseShare call.
Parent topic: Arithmetic Operators