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

Function ConvertToInteger

src/cryptopp/eccrypto.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47#endif
48
49ANONYMOUS_NAMESPACE_BEGIN
50Integer ConvertToInteger(const PolynomialMod2 &x)
51{
52 unsigned int l = x.ByteCount();
53 SecByteBlock temp(l);
54 x.Encode(temp, l);
55 return Integer(temp, l);
56}
57
58inline Integer ConvertToInteger(const Integer &x)
59{

Callers 1

Calls 3

ByteCountMethod · 0.80
IntegerClass · 0.70
EncodeMethod · 0.45

Tested by

no test coverage detected