v0.8.0
[v0.8.0] - 2022-08-03
This version was partially audited by Kudelski Security for the Algorand Foundation. (TODO insert report link).
The scope of the audit covered bn254
and bls12-381
packages (including field arithmetic).
Feat
- field/goldilocks (more efficient 1-limb modulus arith) (#177)
- field/generator suppors 1-limb modulus (#175)
- field.SetRandom zero-alloc uniform sampling
- E6/E12/E24: GT torus-based batch compression/decompression
- fri: modified challenge generation so it fits in a snark variable
- fri: added check of correctness between rounds
Fix
- Handle edge case in Karabina decompression (#219)
- check nbTasks config when running msm, test all possible c-bit windows in when testing.Short not set) (#226)
- element.SetString(_) returns error if invalid input instead of panic
- expand_msg_xmd copy bug, a few tests (#201)
- closes #199. Correct bound in eddsa key gen template
Perf
- remove unecessary inverse in KZG-verify
- faster GLV scalar decompostion
Refactor & Docs
- moved consensys/goff into field/goff (#204)
- clean comments in curves (#193)
- remove dead code (#230)
- cosmetic changes (#197)
- replace modulus generated by constants, add zero-alloc SetRandom (#194)
- remove uneeded x86 asm and files (#192)
- polish readme.md with updated godoc subpackage links (#235)
- acknowledge that inv(0)==0 in comments as a convention (#233)
- added note in pairing godoc - doesn't check inputs are in correct subgroup (#231)
- add security estimates of implemented curves in comments
Test
- fix #205 - msm bench with different bases (#206)
- vectors generated using https://github.com/armfazh/h2c-go-ref
- all curves: compress/decompress pairing result
Pull Requests
- Merge pull request #232 from ConsenSys/docs/comments
- Merge pull request #229 from ConsenSys/update_deps
- Merge pull request #227 from ConsenSys/fix/element_setstring
- Merge pull request #228 from ConsenSys/fix/race/test
- Merge pull request #224 from ConsenSys/refactor/scalarmul
- Merge pull request #220 from ConsenSys/perf/kzg-verify
- Merge pull request #223 from ConsenSys/doc/security-estimates-curves
- Merge pull request #216 from ConsenSys/feat/poly
- Merge pull request #217 from ConsenSys/string-utils
- Merge pull request #213 from ConsenSys/perf/glv
- Merge pull request #129 from ConsenSys/feat/GT-compression
- Merge pull request #209 from ConsenSys/codegen/svdw-not-e4
- Merge pull request #203 from ConsenSys/tests/bn254-vectors
- Merge pull request #196 from ConsenSys/patch/hashToFpGeneric
- Merge pull request #202 from ConsenSys/gbotrel/issue199
- Merge pull request #200 from tyGavinZJU/develop
- Merge pull request #85 from ConsenSys/feat/fri