Commit Graph

8 Commits

Author SHA1 Message Date
Sean Bowe bbc7b44f88 Comments and slight refactoring. 2017-06-27 09:40:58 -06:00
Sean Bowe b1f392ac99 Add multiplicative generator and other useful constants. 2017-06-27 09:14:24 -06:00
Sean Bowe 9aceb63e7e Add Tonelli-Shanks sqrt for 1 mod 16 primes. 2017-06-26 23:22:41 -06:00
Sean Bowe bbbd397b80 Add more efficient squaring implementation. 2017-06-26 14:42:47 -06:00
Sean Bowe e6ad371dd7 Remove dead code. 2017-06-26 13:53:55 -06:00
Sean Bowe 03952704b7 Absolute path to rand. 2017-06-26 12:07:23 -06:00
Sean Bowe 13a822f994 Add auto-derivation of prime fields, and modify the traits a little bit. 2017-06-26 11:47:35 -06:00
Sean Bowe b11ea2db25 Initial commit. 2017-06-25 23:09:43 -06:00