releaseOutput
在计算完成后用于释放DG_TeeMatOutput。
void ReleaseOutput(
DG_TeeMatOutput **output
)参数
参数名 |
描述 |
取值范围 |
输入/输出 |
|---|---|---|---|
DG_TeeMatOutput |
承载计算结果 |
一级指针和二级指针不能为NULL |
输入 |
返回值
无
错误码
无
依赖
依赖调用reveal的返回结果。
示例
#include "data_guard_mpc.h" DG_TeeMatOutput *output = nullptr; res = aritOpts.revealShare(dgTee, share_out, &output); aritOpts.releaseOutput(&share1);
计算结果:无返回值
和revealShare配套使用。
父主题: 矩阵算术类算子调用