MCPcopy Create free account
hub / github.com/LUX-Core/lux / LoadPrecomputation

Method LoadPrecomputation

src/cryptopp/rw.cpp:141–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void InvertibleRWFunction::LoadPrecomputation(BufferedTransformation &bt)
142{
143 BERSequenceDecoder seq(bt);
144 m_pre_2_9p.BERDecode(seq);
145 m_pre_2_3q.BERDecode(seq);
146 m_pre_q_p.BERDecode(seq);
147 seq.MessageEnd();
148
149 m_precompute = true;
150}
151
152void InvertibleRWFunction::SavePrecomputation(BufferedTransformation &bt) const
153{

Callers 3

ValidateElGamalFunction · 0.45
ValidateECPFunction · 0.45
ValidateEC2NFunction · 0.45

Calls 2

MessageEndMethod · 0.80
BERDecodeMethod · 0.45

Tested by

no test coverage detected