-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbench_conservative_deg16_bs.sh
More file actions
executable file
·28 lines (25 loc) · 1.63 KB
/
bench_conservative_deg16_bs.sh
File metadata and controls
executable file
·28 lines (25 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
echo "Scheme - Sig1 (ms), Sig2 (ms), Sig3 (ms), Ver (ms), Comm (KB), BS (KB)" > bench_log.txt
echo "--------------------------------------------------------" >> bench_log.txt
git submodule update --init --recursive
cd vole
# Getting conservative deg-16 bench
chmod +x clean.sh
./clean.sh
chmod +x build_consv_bs_keccak_deg16.sh
./build_consv_bs_keccak_deg16.sh > ../bench_log_misc.txt 2>&1
cd ..
cd vole-keccak-deg16-then-mayo-sys
cargo clean
cd ..
cd blind-signatures-conservative-deg16
cargo clean
cargo test test_and_bench_sign_loop_conservative_128sv1 --no-run >> ../bench_log_misc.txt 2>&1
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_128sv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_128fv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
echo "--------------------------------------------------------" >> ../bench_log.txt
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_192sv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_192fv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
echo "--------------------------------------------------------" >> ../bench_log.txt
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_256sv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
RUST_MIN_STACK=9999999999 cargo test test_and_bench_sign_loop_conservative_256fv1 -- --nocapture | sed -n '/MAYO/p' >> ../bench_log.txt
echo "--------------------------------------------------------" >> ../bench_log.txt