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

Method DEREncode

src/cryptopp/ecp.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ECP::DEREncode(BufferedTransformation &bt) const
58{
59 GetField().DEREncode(bt);
60 DERSequenceEncoder seq(bt);
61 GetField().DEREncodeElement(seq, m_a);
62 GetField().DEREncodeElement(seq, m_b);
63 seq.MessageEnd();
64}
65
66bool ECP::DecodePoint(ECP::Point &P, const byte *encodedPoint, size_t encodedPointLen) const
67{

Callers

nothing calls this directly

Calls 3

GetFieldFunction · 0.85
MessageEndMethod · 0.80
DEREncodeElementMethod · 0.45

Tested by

no test coverage detected