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

Method DecodeElement

src/cryptopp/gfpcrypt.cpp:219–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219Integer DL_GroupParameters_IntegerBased::DecodeElement(const byte *encoded, bool checkForGroupMembership) const
220{
221 CRYPTOPP_UNUSED(checkForGroupMembership);
222 Integer g(encoded, GetModulus().ByteCount());
223 if (!ValidateElement(1, g, NULL))
224 throw DL_BadElement();
225 return g;
226}
227
228void DL_GroupParameters_IntegerBased::BERDecode(BufferedTransformation &bt)
229{

Callers 5

AgreeMethod · 0.45
AgreeMethod · 0.45
DecryptFunction · 0.45
AgreeFunction · 0.45
AgreeMethod · 0.45

Calls 2

DL_BadElementClass · 0.85
ByteCountMethod · 0.80

Tested by

no test coverage detected