mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-12 15:08:06 -05:00
24 lines
509 B
C++
24 lines
509 B
C++
/*
|
|
* LowGearKeyGen.cpp
|
|
*
|
|
*/
|
|
|
|
#include "FHEOffline/DataSetup.h"
|
|
#include "Processor/OnlineOptions.h"
|
|
|
|
#include "Protocols/LowGearKeyGen.hpp"
|
|
|
|
template<>
|
|
void PairwiseSetup<FFT_Data>::key_and_mac_generation(Player& P,
|
|
PairwiseMachine& machine, int, false_type)
|
|
{
|
|
LowGearKeyGen<0>(P, machine, params).run(*this);
|
|
}
|
|
|
|
template<>
|
|
void PairwiseSetup<P2Data>::key_and_mac_generation(Player& P,
|
|
PairwiseMachine& machine, int, false_type)
|
|
{
|
|
LowGearKeyGen<0>(P, machine, params).run(*this);
|
|
}
|