bn256 icon indicating copy to clipboard operation
bn256 copied to clipboard

Special square, pow u in final exponentiation (Faster Squaring in the Cyclotomic Subgroup of Sixth Degree Extensions)

Open emmansun opened this issue 11 months ago • 3 comments

Do not know if this project still accept new enhancement, this change can improve pairing performance more than 30%.

https://github.com/emmansun/bn256/commit/b532ebb0ff76a27de8ec9c5a05956c5823bb36ba

Reference:

emmansun avatar Jul 13 '23 03:07 emmansun

that would be good to have it. Feel free to make a PR, so we can review it

armfazh avatar Jul 14 '23 10:07 armfazh

in the meantime, have you take a look at our pairing implementation using a BLS curve. See https://pkg.go.dev/github.com/cloudflare/[email protected]/ecc/bls12381

armfazh avatar Jul 14 '23 16:07 armfazh

oh, you had implemented https://github.com/cloudflare/circl/blob/v1.3.3/ecc/bls12381/ff/cyclo6.go#L4 in that project.

emmansun avatar Jul 14 '23 22:07 emmansun