Commit Graph

35 Commits

Author SHA1 Message Date
Andronik Ordian 63f8c58735 remove rustc-serialize feature and bump version (#22)
* remove rustc-serialize

* bump version to 0.6.0

* remove bincode
2021-04-21 17:06:02 +02:00
girazoki b048fe1d84 update rand pacakge to 0.8.3 (#20) 2021-04-21 14:45:48 +02:00
Nikolay Volf 51eea1334c fix edition and prepare publish (#19) 2020-09-21 20:21:32 +03:00
Maciej Zieliński 635c4cdd56 Making bn no_std. Exposing miller_loop_batch and final_exponentiation. (#16) 2020-01-21 05:44:14 -08:00
NikVolf 6d28d953ec g2 from compressed 2019-04-16 17:36:12 +03:00
NikVolf 84b015c3c1 fq2 sqrt 2019-04-16 17:22:14 +03:00
NikVolf 6cf2403e24 test for sqrt 2019-04-16 16:56:48 +03:00
NikVolf 309ab3c579 g1 from compressed api 2019-04-16 16:51:52 +03:00
NikVolf 78fddbb743 add set_bit for fr 2019-04-08 17:57:27 +03:00
NikVolf 8cb6e45ca6 fix api also 2019-03-26 16:08:53 +03:00
NikVolf 76c1296cfe real/imagianry part exposure 2019-03-13 12:46:56 +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
cdetrio 7002225d76 fix for ecmul scalar factors 2017-09-07 11:01:31 +02:00
cdetrio 3734552cf3 convert from Montgomery representation 2017-09-07 10:50:56 +02:00
NikVolf e749d4577a to big endian for elments 2017-03-22 13:56:28 +03:00
NikVolf 1645afdbec make some algebra usable 2017-03-22 02:44:14 +03:00
Sean Bowe dab7fdf411 Use U512 division for Fp randomness, add Fr interpretation to API. 2016-09-18 11:22:53 -06:00
Sean Bowe fbefb710cf Ensure divrem always returns remainder. 2016-09-18 10:23:59 -06:00
Sean Bowe 76344a7ae9 Fq2 serialization according to spec. 2016-09-18 05:04:19 -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 b05ecd3bb0 Added G1/G2/Fq2 serialization and test vectors. 2016-09-09 01:12:25 -06:00
Sean Bowe cb2ff5c1ad Added serialization and test vectors for U256 and Fp elements. 2016-09-07 16:45:55 -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 bb4b97ccec Pairing cryptography operations 2016-07-04 12:46:36 -06:00
Sean Bowe c8a0d56ba4 Remaining extension field tower 2016-07-04 12:46:33 -06:00
Sean Bowe 17416ed162 Curve instantiation on extension field 2016-07-04 12:46:29 -06:00
Sean Bowe ba73fdce48 Curve instantiation on base field 2016-07-04 11:57:48 -06:00
Sean Bowe 4b32ed6585 Abstract away field operations into Field trait 2016-07-04 11:57:47 -06:00