mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-08 21:18:03 -05:00
29 lines
417 B
C++
29 lines
417 B
C++
/*
|
|
* Rep4Prep.h
|
|
*
|
|
*/
|
|
|
|
#ifndef GC_REP4PREP_H_
|
|
#define GC_REP4PREP_H_
|
|
|
|
#include "Rep4Secret.h"
|
|
#include "PersonalPrep.h"
|
|
#include "Protocols/ReplicatedPrep.h"
|
|
|
|
namespace GC
|
|
{
|
|
|
|
class Rep4Prep : public BufferPrep<Rep4Secret>
|
|
{
|
|
public:
|
|
Rep4Prep(DataPositions& usage, int _ = -1);
|
|
|
|
void set_protocol(Rep4Secret::Protocol& protocol);
|
|
|
|
void buffer_bits();
|
|
};
|
|
|
|
} /* namespace GC */
|
|
|
|
#endif /* GC_REP4PREP_H_ */
|