lambdaclass/zksync_era_precompiles

Wrong paper reference for `fp12CyclotomicSquare`

IAvecilla opened this issue · 0 comments

Context: EcPairing.yul#L971

Description: The paper referenced in the fp12CyclotomicSquare() function doc comment does not include this algorithm. It can be found in High-Speed Software Implementation of the Optimal Ate Pairing over Barreto–Naehrig Curves (Algorithm 24 and Algorithm 9 to compute square in fp4).

Recommendation: Update the paper reference in the doc comment.

zkSync:

Spearbit: