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

Method BERDecodePoint

src/cryptopp/ec2n.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125EC2N::Point EC2N::BERDecodePoint(BufferedTransformation &bt) const
126{
127 SecByteBlock str;
128 BERDecodeOctetString(bt, str);
129 Point P;
130 if (!DecodePoint(P, str, str.size()))
131 BERDecodeError();
132 return P;
133}
134
135void EC2N::DEREncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const
136{

Callers

nothing calls this directly

Calls 3

BERDecodeOctetStringFunction · 0.85
BERDecodeErrorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected