mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-05-13 03:00:24 -04:00
25 lines
414 B
C++
25 lines
414 B
C++
/*
|
|
* TripleMachine.cpp
|
|
*
|
|
*/
|
|
|
|
#include "MascotParams.h"
|
|
|
|
MascotParams::MascotParams()
|
|
{
|
|
generateMACs = true;
|
|
amplify = true;
|
|
check = true;
|
|
correlation_check = true;
|
|
generateBits = false;
|
|
use_extension = true;
|
|
fewer_rounds = false;
|
|
fiat_shamir = false;
|
|
timerclear(&start);
|
|
}
|
|
|
|
void MascotParams::set_passive()
|
|
{
|
|
generateMACs = amplify = check = correlation_check = false;
|
|
}
|