Commit Graph

36 Commits

Author SHA1 Message Date
Jack Grigg 58415fba17 Migrate ff, group, pairing, and bellman to rand 0.6 2019-07-19 00:42:39 +02:00
Jack Grigg 8b6e6b15ae Migrate ff to rand_core 0.3 (used by rand 0.5) 2019-07-19 00:35:06 +02:00
ebfull 661558e0c8
Merge pull request #5 from str4d/more-updates
More updates
2018-07-02 19:53:52 -06:00
Jack Grigg 526676ecfc
Bump version to 0.4.0 2018-07-02 23:08:13 +01:00
Jack Grigg 2067360930
Add ScalarEngine trait
This is extracted from pairing's Engine trait.
2018-07-02 23:08:12 +01:00
Jack Grigg 0eb9f5040b
Remove u128-support feature and arithmetic
Closes #2.
2018-07-02 23:08:11 +01:00
Jack Grigg 69ce66ae6c
Place ff_derive re-exports behind a feature
Part of #3.
2018-07-02 23:08:08 +01:00
Jack Grigg 002173e187
Update README.md
Closes #4.
2018-07-02 23:08:03 +01:00
Sean Bowe 44b601b0a9 Adjust versions 2018-07-02 08:34:26 -06:00
ebfull 729138a31e
Merge pull request #1 from str4d/updates
Update dependencies and traits
2018-07-02 08:28:36 -06:00
Jack Grigg 91a8dc8284
Update rand crate 2018-07-02 09:18:34 +01:00
Jack Grigg 4c984595e5
Add full paths for some manually-implemented derives
This further reduces the difference between pairing's manual and derived
implementations.
2018-07-02 09:16:42 +01:00
Jack Grigg 623dbd0d74
[MOVEONLY] Move generated code around slightly in ff_derive
This reduces the differences in the generated code between the current
implementations of Fq and Fr in pairing, and their derived versions.
2018-07-02 09:16:42 +01:00
Jack Grigg b0b754ba04
Return constants and sqrt impls separately for individual rendering 2018-07-02 09:16:42 +01:00
Jack Grigg 5a48059a14
Integrate changes to trait impls from pairing into ff_derive 2018-07-02 09:16:42 +01:00
Jack Grigg 29a9161981
Implement changes to traits in ff_derive 2018-07-02 09:16:42 +01:00
Jack Grigg 58cb06ee92
Pull in trait changes from pairing 2018-07-02 09:16:22 +01:00
Jack Grigg 8201a3933f
Pull in arith changes from pairing 2018-06-28 14:31:14 -04:00
Jack Grigg 1a3a2bec74
Update other ff_derive dependencies 2018-06-28 10:18:55 -04:00
Jack Grigg 428f463555
Migrate ff_derive to syn 0.14 and quote 0.6 2018-06-28 10:17:57 -04:00
Jack Grigg 755fc7aba8
cargo fmt 2018-06-27 07:31:53 -04:00
Sean Bowe c7252a43bf Update README/Cargo.toml with correct documentation links. 2017-06-27 10:35:14 -06:00
Sean Bowe 134b53e812 Version bump. 2017-06-27 09:41:33 -06:00
Sean Bowe bbc7b44f88 Comments and slight refactoring. 2017-06-27 09:40:58 -06:00
Sean Bowe 02f503c74d Modify README. 2017-06-27 09:27:29 -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 e97f0df3df Fix another comment. 2017-06-25 23:18:32 -06:00
Sean Bowe 6402b74741 Fix comment. 2017-06-25 23:16:08 -06:00
Sean Bowe cb0c8f1e07 Fix description of `ff`. 2017-06-25 23:13:56 -06:00
Sean Bowe cf7d7e823b Add more stuff to the Cargo.toml files. 2017-06-25 23:12:40 -06:00
Sean Bowe b11ea2db25 Initial commit. 2017-06-25 23:09:43 -06:00