Skip to content

Commit

Permalink
batch point conversion: explicitly overwrite (0,0) when point at inf …
Browse files Browse the repository at this point in the history
…+ test (#225)

* test(all): test Batch aff conv. + explicitly out (0,0) when point at inf

* fix: avoid out-of-bounds access in batch point conversion

* fix: since results is allocated in BatchJacobianToAffine, inf -> inf is implicit

Co-authored-by: Gautam Botrel <gautam.botrel@gmail.com>
  • Loading branch information
yelhousni and gbotrel authored Jul 27, 2022
1 parent 910b0ec commit 8d02a7e
Show file tree
Hide file tree
Showing 32 changed files with 262 additions and 141 deletions.
17 changes: 8 additions & 9 deletions ecc/bls12-377/g1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion ecc/bls12-377/g1_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/g2_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions ecc/bls12-378/g1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion ecc/bls12-378/g1_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-378/g2_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions ecc/bls12-381/g1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion ecc/bls12-381/g1_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-381/g2_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions ecc/bls24-315/g1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion ecc/bls24-315/g1_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls24-315/g2_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8d02a7e

Please sign in to comment.