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

Method DEREncodePoint

src/cryptopp/ecp.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void ECP::DEREncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const
157{
158 SecByteBlock str(EncodedPointSize(compressed));
159 EncodePoint(str, P, compressed);
160 DEREncodeOctetString(bt, str);
161}
162
163bool ECP::ValidateParameters(RandomNumberGenerator &rng, unsigned int level) const
164{

Callers 3

DEREncodeMethod · 0.45
DEREncodeElementMethod · 0.45
DEREncodeElementMethod · 0.45

Calls 2

DEREncodeOctetStringFunction · 0.85
EncodedPointSizeFunction · 0.70

Tested by

no test coverage detected