Files
MP-SPDZ/OT/BitDiagonal.h

25 lines
358 B
C++

/*
* Diagonal.h
*
*/
#ifndef OT_BITDIAGONAL_H_
#define OT_BITDIAGONAL_H_
#include "Math/Square.h"
#include "Math/BitVec.h"
class BitDiagonal : public Square<BitVec>
{
public:
static int size()
{
return 8 * BitVec::size();
}
void pack(octetStream& os) const;
void unpack(octetStream& os);
};
#endif /* OT_BITDIAGONAL_H_ */