Open Pratyush opened 1 year ago
Implement the optimized squaring algorithm outlined in https://hackmd.io/@gnark/modular_multiplication#Montgomery-squaring.
An example implementation is available here: https://github.com/mratsim/constantine/blob/e47159e4/constantine/arithmetic/limbs_montgomery.nim#L169-L205
WIP
Implement the optimized squaring algorithm outlined in https://hackmd.io/@gnark/modular_multiplication#Montgomery-squaring.
An example implementation is available here: https://github.com/mratsim/constantine/blob/e47159e4/constantine/arithmetic/limbs_montgomery.nim#L169-L205