5 Commits

Author SHA1 Message Date
8ae99d7b3c Update aarch64 feature related code & minor update
- Update aarch64 feature related code
- Update benchmarks to last lib updates
- Apply Clippy fixes
2022-09-09 15:13:05 +02:00
80d682ea93 Update Schnorr to last changes, rm MiMC7 methods 2020-08-02 19:22:12 +02:00
04d20b9e05 Update sign&verify (poseidon) to last optimization
(On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM)

- before:
```
sign_poseidon           time:   [383.01 ms 384.46 ms 385.98 ms]
verify_poseidon         time:   [250.56 ms 251.46 ms 252.43 ms]
```

- current:
```
sign_poseidon           time:   [973.38 us 973.83 us 974.41 us]
verify_poseidon         time:   [835.34 us 839.94 us 845.29 us]
```

sign_poseidon: `394x` improvement
verify_poseidon: `300x` improvement
2020-08-02 16:23:40 +02:00
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