-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add dalek and ristretto benches * add benchmarks for lib25519 on linux * lib25519 crate --------- Co-authored-by: Karthikeyan Bhargavan <[email protected]>
- Loading branch information
1 parent
9f18bc4
commit c33e5df
Showing
10 changed files
with
1,604 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ members = [ | |
"sys/libjade", | ||
"sys/platform", | ||
"sys/pqclean", | ||
"sys/lib25519", | ||
"benchmarks", | ||
"fuzz", | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Libcrux Benchmarks | ||
|
||
This crate is used to benchmark libcrux and compare it to 3rd party implementations. | ||
|
||
## lib25519 | ||
Comparing with lib25519 only works on Linux. | ||
To enable it first build the sys crate | ||
|
||
```bash | ||
cd ../sys/lib25519 | ||
./build-native.sh | ||
|
||
RUSTFLAGS="--cfg crypto_lib25519" cargo criterion --bench x25519 | ||
``` |
Oops, something went wrong.