#include <muhash.h>
Definition at line 18 of file muhash.h.
◆ double_limb_t
◆ limb_t
◆ signed_double_limb_t
◆ signed_limb_t
◆ Num3072() [1/2]
◆ Num3072() [2/2]
| Num3072::Num3072 |
( |
const uint8_t(&) |
data[BYTE_SIZE] | ) |
|
◆ Divide()
| void Num3072::Divide |
( |
const Num3072 & |
a | ) |
|
◆ FullReduce()
| void Num3072::FullReduce |
( |
| ) |
|
|
private |
◆ GetInverse()
| Num3072 Num3072::GetInverse |
( |
| ) |
const |
|
private |
< The number of significant limbs in f and g
< State to track knowledge about ratio of f and g
Definition at line 494 of file muhash.cpp.
◆ IsOverflow()
| bool Num3072::IsOverflow |
( |
| ) |
const |
|
private |
Indicates whether d is larger than the modulus.
Definition at line 119 of file muhash.cpp.
◆ Multiply()
| void Num3072::Multiply |
( |
const Num3072 & |
a | ) |
|
Perform up to two more reductions if the internal state has already overflown the MAX of Num3072 or if it is larger than the modulus or if both are the case.
Definition at line 573 of file muhash.cpp.
◆ SERIALIZE_METHODS()
| Num3072::SERIALIZE_METHODS |
( |
Num3072 |
, |
|
|
obj |
|
|
) |
| |
|
inline |
◆ SetToOne()
| void Num3072::SetToOne |
( |
| ) |
|
◆ ToBytes()
| void Num3072::ToBytes |
( |
uint8_t(&) |
out[BYTE_SIZE] | ) |
|
◆ BYTE_SIZE
| constexpr size_t Num3072::BYTE_SIZE = 384 |
|
staticconstexpr |
◆ LIMB_SIZE
| constexpr int Num3072::LIMB_SIZE = 32 |
|
staticconstexpr |
◆ LIMBS
| constexpr int Num3072::LIMBS = 96 |
|
staticconstexpr |
◆ limbs
◆ SIGNED_LIMB_SIZE
| constexpr int Num3072::SIGNED_LIMB_SIZE = 30 |
|
staticconstexpr |
◆ SIGNED_LIMBS
| constexpr int Num3072::SIGNED_LIMBS = 103 |
|
staticconstexpr |
The documentation for this class was generated from the following files: