Commit Graph

104 Commits

Author SHA1 Message Date
NikVolf 39aef57c2f modulus 2019-03-13 16:34:48 +03:00
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 8eac5b8a10 remove duplicated inline 2019-03-12 15:50:15 +03:00
NikVolf e9f64f518d add some initializers 2019-03-12 14:44:46 +03:00
André Silva 2a71dbde5c Merge pull request #8 from tomaka/fix-group-traits
Fix rustc_serialize feature non-additive
2018-07-25 15:11:58 +01:00
André Silva 45d5e0bd60 Merge branch 'master' into fix-group-traits 2018-07-25 15:06:55 +01: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
Nikolay Volf 786c0d5643 Merge pull request #6 from Vurich/master
Speed up bigint impl
2018-03-26 22:52:53 +08: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 964b48fad5 Merge pull request #7 from tomaka/rustc-ser-opt
Make rustc-serialize optional
2018-03-26 15:38:13 +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 f3936c006e Merge pull request #5 from tomaka/test-not-test
Fix a test not marked as #[test]
2018-03-14 17:34:40 +03:00
Pierre Krieger ef13f08dc7 Fix a test not marked as #[test] 2018-03-14 12:14:52 +01:00
Nikolay Volf c9831a8d10 Merge pull request #4 from arkpar/master
Added iz_zero for Fq2
2017-09-08 20:51:13 +02:00
Nikolay Volf f121cb50ea Merge pull request #3 from cdetrio/mont-repr-fix
patchy fixes for elliptic pairing precompiles
2017-09-08 20:38:16 +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
Nikolay Volf 07a151d0b1 Merge pull request #2 from ebfull/parity-pr
The point at infinity is only representable in the jacobian at y = 1
2017-05-14 22:27:23 +03: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
Nikolay Volf b97e95a45f Bump version 2017-03-28 01:42:13 +03:00
NikVolf 5df8d83c19 missing bindings for api 2017-03-27 18:05:51 +03:00
NikVolf f632a0463b generator point instantiation & pairing example-test 2017-03-27 17:44:29 +03:00
NikVolf 59d848e642 bump version and deps 2017-03-22 18:06:59 +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
NikVolf 83382aac55 add from_slice for U256 2017-03-22 01:35:55 +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
ebfull e6ebe3f6d4 Merge pull request #14 from ebfull/affine-api
Add "normalize" method to Group and improve performance of serialization
2016-10-14 13:36:42 -06:00
Sean Bowe bf87f34550 Version bump. 2016-10-14 13:23:53 -06:00
Sean Bowe c9e1b24d63 Improve benchmarks and add serialization benchmarks. 2016-10-14 13:23:53 -06: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
ebfull bf023ee215 Merge pull request #12 from ebfull/fq2-serialization
Fq2 serialization
2016-09-18 21:43:12 -06:00
ebfull e33fd3f0e6 Merge pull request #13 from ebfull/serialization-benchmarks
Add G1/G2 serialization benchmarks.
2016-09-18 21:42:56 -06:00
Sean Bowe 3ed30e8033 Add G1/G2 serialization benchmarks. 2016-09-18 21:24:38 -06:00