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

Method assign_bytes

Tools/BitVector.h:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36 void assign(const BitVector& K);
37 void assign_bytes(char* new_bytes, int len)
38 {
39 resize(len*8);
40 memcpy(bytes, new_bytes, len);
41 }
42 void assign_zero()
43 {
44 memset(bytes, 0, nbytes);

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected