mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
25 lines
358 B
C++
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_ */
|