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

Method hash

FHE/Matrix.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void imatrix::hash(octetStream& o) const
311{
312 Hash hash;
313 for (auto& row : *this)
314 hash.update(row.get_ptr(), row.size_bytes());
315 o.concat(hash.final());
316}
317
318void imatrix::pack(octetStream& o) const
319{

Callers 3

checkMethod · 0.45
checkMethod · 0.45
set_challengeMethod · 0.45

Calls 5

size_bytesMethod · 0.80
updateMethod · 0.45
get_ptrMethod · 0.45
concatMethod · 0.45
finalMethod · 0.45

Tested by

no test coverage detected