constantine/helpers
Mamy Ratsimbazafy c312210878
Rework towering (#148)
* naive removal of out-of-place mul by non residue

* Use {.inline.} in a consistent manner across the codebase

* Handle aliasing for quadratic multiplication

* reorg optimization

* Handle aliasing for quadratic squaring

* handle aliasing in mul_sparse_complex_by_0y

* Rework multiplication by nonresidue, assume tower and twist use same non-residue

* continue rework

* continue on non-residues

* Remove "NonResidue *" calls

* handle aliasing in Chung-Hasan SQR2

* Handla aliasing in Chung-Hasan SQR3

* Use one less temporary in Chung Hasan sqr2

* handle aliasing in cubic extensions

* merge extension tower in the same file to reduce duplicate proc and allow better inlining

* handle aliasing in cubic inversion

* drop out-of-place proc from BigInt and finite fields as well

* less copies in line_projective

* remove a copy in fp12 by lines
2021-02-06 16:28:38 +01:00
..
README.md 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
prng_unsafe.nim Rework towering (#148) 2021-02-06 16:28:38 +01:00
static_for.nim Naive pairings + Naive cofactor clearing (#82) 2020-09-21 23:24:00 +02:00

README.md

Helpers, utilities, tools, miscellaneous

This folder holds helper functions that are not part of Constantine but facilitates testing and benchmarking.