Commit Graph

46 Commits

Author SHA1 Message Date
NikVolf 68d901f0d1 some more api exposure 2019-03-13 16:13:00 +03:00
NikVolf 76c1296cfe real/imagianry part exposure 2019-03-13 12:46:56 +03:00
NikVolf 7395ad6d1d add into u256 2019-03-13 12:43:05 +03:00
NikVolf 187a608dbb change pow func 2019-03-13 12:40:25 +03:00
NikVolf e8390af8a6 add derives 2019-03-13 12:35:21 +03:00
NikVolf 568746fcf2 impl operations for fq2 2019-03-13 12:33:07 +03:00
NikVolf 4470c2ecfc more api 2019-03-13 12:27:07 +03:00
NikVolf e9f64f518d add some initializers 2019-03-12 14:44:46 +03:00
André Silva 45d5e0bd60 Merge branch 'master' into fix-group-traits 2018-07-25 15:06:55 +01:00
Vurich ffbf39b7e2 Speed up bigint impl 2018-03-26 16:23:16 +02:00
Vurich 7638ee60a5 rustfmt 2018-03-26 16:23:16 +02:00
Pierre Krieger c5e6e77be0 Fix rustc_serialize feature non-additive 2018-03-26 16:14:33 +02:00
Pierre Krieger 86f751ed0b Remove 'static requirement 2018-03-26 15:20:59 +02:00
Pierre Krieger 43584c4c03 Make rustc-serialize optional 2018-03-26 14:58:59 +02:00
Nikolay Volf c9831a8d10 Merge pull request #4 from arkpar/master
Added iz_zero for Fq2
2017-09-08 20:51:13 +02:00
arkpar c386e209ae Added iz_zero for Fq2 2017-09-08 13:56:59 +02:00
cdetrio 624c60be56 public arith module 2017-09-08 07:40:09 +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 5df8d83c19 missing bindings for api 2017-03-27 18:05:51 +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 e749d4577a to big endian for elments 2017-03-22 13:56:28 +03:00
NikVolf 78cf02fd7b more exposed 2017-03-22 02:53:41 +03:00
NikVolf 1645afdbec make some algebra usable 2017-03-22 02:44:14 +03:00
Sean Bowe 207cf4eba2 Add 'normalize' to Group trait for converting something into affine. 2016-10-14 13:23:49 -06: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 0725e366fd Make Group Sync. 2016-09-14 14:38:17 -06:00
Sean Bowe f40abe6dc3 More superclasses. 2016-09-12 14:02:21 -06:00
Sean Bowe 41ef5fdef0 Add more superclasses to Group. 2016-09-11 22:04:37 -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 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 3591426d44 Add test 2016-07-04 13:58:11 -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 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
Sean Bowe 7f515bbe1c Foundation of finite field arithmetic 2016-06-28 23:50:38 -06:00
Sean Bowe b60f4f0db0 Initial commit. 2016-06-28 22:07:14 -06:00