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

Method EncodeElement

src/cryptopp/gfpcrypt.cpp:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void DL_GroupParameters_IntegerBased::EncodeElement(bool reversible, const Element &element, byte *encoded) const
208{
209 CRYPTOPP_UNUSED(reversible);
210 element.Encode(encoded, GetModulus().ByteCount());
211}
212
213unsigned int DL_GroupParameters_IntegerBased::GetEncodedElementSize(bool reversible) const
214{

Callers 13

AgreeMethod · 0.45
AgreeMethod · 0.45
DeriveMethod · 0.45
EncryptFunction · 0.45
GeneratePublicKeyFunction · 0.45
AgreeFunction · 0.45

Calls 2

ByteCountMethod · 0.80
EncodeMethod · 0.45

Tested by

no test coverage detected