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

Method BERDecodeAsOctetString

src/cryptopp/gf2n.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void PolynomialMod2::BERDecodeAsOctetString(BufferedTransformation &bt, size_t length)
182{
183 BERGeneralDecoder dec(bt, OCTET_STRING);
184 if (!dec.IsDefiniteLength() || dec.RemainingLength() != length)
185 BERDecodeError();
186 Decode(dec, length);
187 dec.MessageEnd();
188}
189
190unsigned int PolynomialMod2::WordCount() const
191{

Callers 2

integer.cppFile · 0.80
BERDecodeElementMethod · 0.80

Calls 3

BERDecodeErrorFunction · 0.85
DecodeFunction · 0.85
MessageEndMethod · 0.80

Tested by

no test coverage detected