MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / equals

Method equals

Tools/octetStream.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124
125bool octetStream::equals(const octetStream& a) const
126{
127 if (get_length()!=a.get_length()) { return false; }
128 return memcmp(data, a.data, get_length()) == 0;
129}
130
131
132void octetStream::flush_bits()

Callers 1

OpenFunction · 0.45

Calls 1

get_lengthMethod · 0.45

Tested by

no test coverage detected