2d94206899
Optimize point add & mul_scalar methods
...
(On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM)
- before:
```
add time: [53.447 us 53.467 us 53.492 us]
mul_scalar time: [121.19 ms 121.22 ms 121.25 ms]
```
- current:
```
add time: [317.34 ns 317.44 ns 317.54 ns]
mul_scalar time: [131.05 us 131.28 us 131.58 us]
```
Which is `168x` improvement for `add`, and `923x` improvement for `mul_scalar`.
2020-08-01 18:18:43 +02:00
30218dc1f3
Add benchmarks
2020-07-25 18:33:51 +02:00
df8a21200f
add Schnorr signature & verification
2019-09-11 11:22:15 +02:00
d7c383695d
reference param in mul_scalar
2019-09-10 11:28:57 +02:00
addcca64e5
add some error handling
2019-09-09 20:42:17 +02:00
2ab48ff3ad
add sign & verify with Poseidon hash, update MiMC use to v0.0.2
2019-09-07 19:52:48 +02:00
ad33bbd537
fix point & signature compress & decompress
2019-09-07 19:28:09 +02:00
48085c5a83
constants with lazy_static, refactor
2019-08-28 00:25:27 +02:00
1ff5a567a7
compress & decompress signature (wip)
2019-08-27 23:44:44 +02:00
eb42f48c65
add point compress&decompress, add modsqrt with Tonelli-Shanks algorithm
2019-08-24 16:15:05 +02:00
a2122dadce
add travis & crate config
2019-08-04 14:16:51 +02:00
9bc3000898
signature & verification done
2019-08-04 14:13:51 +02:00
fffcb66143
add new private key generation, signature started
2019-08-03 20:37:14 +02:00
6658d975da
add point scalar multiplication
2019-07-28 23:15:23 +02:00
35f4686198
add point addition
2019-07-28 21:18:08 +02:00