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

Method DEREncode

src/cryptopp/ec2n.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void EC2N::DEREncode(BufferedTransformation &bt) const
33{
34 m_field->DEREncode(bt);
35 DERSequenceEncoder seq(bt);
36 m_field->DEREncodeElement(seq, m_a);
37 m_field->DEREncodeElement(seq, m_b);
38 seq.MessageEnd();
39}
40
41bool EC2N::DecodePoint(EC2N::Point &P, const byte *encodedPoint, size_t encodedPointLen) const
42{

Callers

nothing calls this directly

Calls 2

MessageEndMethod · 0.80
DEREncodeElementMethod · 0.45

Tested by

no test coverage detected