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

Method DEREncodePoint

src/cryptopp/ec2n.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void EC2N::DEREncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const
136{
137 SecByteBlock str(EncodedPointSize(compressed));
138 EncodePoint(str, P, compressed);
139 DEREncodeOctetString(bt, str);
140}
141
142bool EC2N::ValidateParameters(RandomNumberGenerator &rng, unsigned int level) const
143{

Callers

nothing calls this directly

Calls 2

DEREncodeOctetStringFunction · 0.85
EncodedPointSizeFunction · 0.70

Tested by

no test coverage detected