Module helpers

Source
Expand description

Helper methods for implementing the ff traits.

Functions§

sqrt_ratio_generic
Computes:
sqrt_tonelli_shanks
Constant-time implementation of Tonelli–Shanks’ square-root algorithm for p mod 16 = 1.