Repository navigation
Releases
Releases · FredRhys/libmontmul
v2.1
v2.0.1
v2.0
v2.0
Changelog
.github/CODEOWNERS: set @FredRhys as global codeowner- Changed license to GNU GPL v3.0
- Change
LICENSEto reflect this
- Change
makefile: removedmontmul.hrequirement from ruletest.omontmul.h,montmul.c: replacedModEntrywithstruct libmontmul_tand update function names to reflect thisprimeModEntryis nowprimeLibmontmul_tincreasePrimePowerEntryPoweris nowpowerLibmontmul_tcombineCoprimeModEntriesis nowcompositeLibmontmul_tmodEntriesEqualsis nowequalsLibmontmul_t
test.c,README.md: updated to reflect use ofstruct libmontmul_tand updated function namesREADME.mdhas been made more succinct.
Note
This release is not compatible with earlier releases.
v1.4
v1.4
- Implemented
uint64_t crtCalc(uint64_t residue1, ModEntry entry1, uint64_t residue2, ModEntry entry2, ModEntry newEntry), which uses the Chinese remainder theorem to calculate the unique residue congruent toresidue1moduloentry1.modulusand toresidue2moduloentry2.modulus. Only works if the moduli are coprime.