Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/muhash.cpp
Show First 20 Lines • Show All 373 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
MuHash3072 &MuHash3072::Insert(Span<const uint8_t> in) noexcept { | MuHash3072 &MuHash3072::Insert(Span<const uint8_t> in) noexcept { | ||||
m_numerator.Multiply(ToNum3072(in)); | m_numerator.Multiply(ToNum3072(in)); | ||||
return *this; | return *this; | ||||
} | } | ||||
MuHash3072 &MuHash3072::Remove(Span<const uint8_t> in) noexcept { | MuHash3072 &MuHash3072::Remove(Span<const uint8_t> in) noexcept { | ||||
m_numerator.Divide(ToNum3072(in)); | m_denominator.Multiply(ToNum3072(in)); | ||||
return *this; | return *this; | ||||
} | } |