Skip to content

Commit

Permalink
Add tests for modinv modules
Browse files Browse the repository at this point in the history
This adds tests for the modinv{32,64}_impl.h directly (before the functions are used
inside the field/scalar code). It uses a naive implementation of modular multiplication
and gcds in order to verify the modular inverses themselves.
  • Loading branch information
sipa committed Mar 8, 2021
1 parent d8a92fc commit 151aac0
Showing 1 changed file with 444 additions and 0 deletions.
Loading

0 comments on commit 151aac0

Please sign in to comment.