cloudflare / circl

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
http://blog.cloudflare.com/introducing-circl
Other
1.26k stars 141 forks source link

Alternative tower for fast pairings #278

Closed wbl closed 2 years ago

wbl commented 3 years ago

By constructing Fp12 as a cubic over a biquadratic, we can take advantage of the special form of line function evaluations and save multiplications inside of the Miller loop. Currently this produces a 6% gain, although further improvements should be possible.

wbl commented 2 years ago

Minor changes. Also we can rename F12Alt as Fp12_3x4 or Fp12_Fp4

Neither of those fit go style. We could do Fp12Cubic?

bwesterb commented 2 years ago

Minor changes. Also we can rename F12Alt as Fp12_3x4 or Fp12_Fp4

Neither of those fit go style. We could do Fp12Cubic?

I think Fp12Alt is just fine.