Commit Graph

29 Commits

Author SHA1 Message Date
zac-williamson cec2ce53ba added more tests to batch pairing 2019-04-26 21:06:19 +01:00
zac-williamson f094b8ab46 added efficient batch pairing 2019-04-26 19:58:09 +01:00
NikVolf b3e47339dc add debug impls 2019-04-02 16:55:04 +03:00
NikVolf 4470c2ecfc more api 2019-03-13 12:27:07 +03:00
André Silva 9f1acd94df use u128 for bigint limbs (#9)
* update to rand 0.5

* use u128 for bigint limbs
2018-07-25 16:51:04 +03:00
Vurich 7638ee60a5 rustfmt 2018-03-26 16:23:16 +02:00
Pierre Krieger 43584c4c03 Make rustc-serialize optional 2018-03-26 14:58:59 +02:00
Pierre Krieger ef13f08dc7 Fix a test not marked as #[test] 2018-03-14 12:14:52 +01:00
Sean Bowe b6f2ab3377 Add test that y coordinate remains 1 in jacobian when G1/G2 are negated. 2017-04-02 13:53:39 -06:00
Sean Bowe 872252832f The point at infinity is only representable in the jacobian at y = 1. 2017-04-02 13:53:03 -06:00
NikVolf f632a0463b generator point instantiation & pairing example-test 2017-03-27 17:44:29 +03:00
NikVolf 7e513a8433 affine init tests, debug impl 2017-03-22 15:28:05 +03:00
NikVolf 027a864505 affine point initialization errors 2017-03-22 15:09:49 +03:00
NikVolf 1645afdbec make some algebra usable 2017-03-22 02:44:14 +03:00
Sean Bowe ef95df6caa Ensure G2 elements are in the correct subgroup of the twisted curve. 2016-12-13 23:11:00 -07:00
Sean Bowe 207cf4eba2 Add 'normalize' to Group trait for converting something into affine. 2016-10-14 13:23:49 -06:00
Sean Bowe 90656b0bbf Don't perform field inverse/squaring during affine conversion if point is already in affine. 2016-10-14 13:21:40 -06:00
Sean Bowe 3ebd527167 Use macros to instantiate finite fields. 2016-09-14 21:30:38 -06:00
Sean Bowe 03521652c5 Add Group trait, more methods to API, repr(C) everything. 2016-09-11 21:30:38 -06:00
Sean Bowe 9e458130a6 Public API, reorganize tests, benchmarks and shootout. 2016-09-11 12:58:18 -06:00
Sean Bowe b93e312eb0 Implementation of pairing. 2016-09-11 03:08:52 -06:00
Sean Bowe 72a722aa43 Various misc adjustments. 2016-09-09 17:50:42 -06:00
Sean Bowe b05ecd3bb0 Added G1/G2/Fq2 serialization and test vectors. 2016-09-09 01:12:25 -06:00
Sean Bowe 671d112c9c New arithmetic and G1/G2 implementations. 2016-09-04 03:50:46 -06:00
Sean Bowe 699e72ca7f Performing reconstruction of the codebase. 2016-08-28 11:48:28 -06:00
Sean Bowe d38cd5e388 Fix small nits 2016-07-04 12:46:37 -06:00
Sean Bowe 38f1f7d21d Add Gt type to API. 2016-07-04 12:46:36 -06:00
Sean Bowe bb4b97ccec Pairing cryptography operations 2016-07-04 12:46:36 -06:00
Sean Bowe ba73fdce48 Curve instantiation on base field 2016-07-04 11:57:48 -06:00