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

Method BERDecodePoint

src/cryptopp/ecp.cpp:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146ECP::Point ECP::BERDecodePoint(BufferedTransformation &bt) const
147{
148 SecByteBlock str;
149 BERDecodeOctetString(bt, str);
150 Point P;
151 if (!DecodePoint(P, str, str.size()))
152 BERDecodeError();
153 return P;
154}
155
156void ECP::DEREncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const
157{

Callers 3

BERDecodeMethod · 0.45
BERDecodeElementMethod · 0.45
BERDecodeElementMethod · 0.45

Calls 3

BERDecodeOctetStringFunction · 0.85
BERDecodeErrorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected