#include <muhash.h>
Definition at line 18 of file muhash.h.
◆ double_limb_t
◆ 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 |
◆ IsOverflow()
bool Num3072::IsOverflow |
( |
| ) |
const |
|
private |
Indicates whether d is larger than the modulus.
Definition at line 130 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 190 of file muhash.cpp.
◆ SERIALIZE_METHODS()
Num3072::SERIALIZE_METHODS |
( |
Num3072 |
, |
|
|
obj |
|
|
) |
| |
|
inline |
◆ SetToOne()
void Num3072::SetToOne |
( |
| ) |
|
◆ Square()
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 237 of file muhash.cpp.
◆ 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
The documentation for this class was generated from the following files: