2019-01-09 21:30:42 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-01-08 15:39:29 +03:00
|
|
|
rm challenge*
|
|
|
|
rm response*
|
|
|
|
rm transcript
|
2019-09-04 15:54:48 +03:00
|
|
|
rm phase1radix*
|
2020-01-08 15:39:29 +03:00
|
|
|
rm tmp_*
|
2019-01-09 21:30:42 +03:00
|
|
|
|
2020-01-08 15:39:29 +03:00
|
|
|
set -e
|
2019-01-09 21:30:42 +03:00
|
|
|
|
2020-04-07 20:39:05 +03:00
|
|
|
SIZE=15
|
2020-02-13 12:04:29 +03:00
|
|
|
BATCH=256
|
2019-01-09 21:30:42 +03:00
|
|
|
|
2020-02-13 12:04:29 +03:00
|
|
|
cargo run --release --bin new_constrained challenge1 $SIZE $BATCH
|
|
|
|
yes | cargo run --release --bin compute_constrained challenge1 response1 $SIZE $BATCH
|
|
|
|
cargo run --release --bin verify_transform_constrained challenge1 response1 challenge2 $SIZE $BATCH
|
2019-09-04 13:15:17 +03:00
|
|
|
|
2020-02-13 12:04:29 +03:00
|
|
|
yes | cargo run --release --bin compute_constrained challenge2 response2 $SIZE $BATCH
|
|
|
|
cargo run --release --bin verify_transform_constrained challenge2 response2 challenge3 $SIZE $BATCH
|
2020-01-08 15:39:29 +03:00
|
|
|
|
2020-02-13 12:04:29 +03:00
|
|
|
yes | cargo run --release --bin compute_constrained challenge3 response3 $SIZE $BATCH
|
|
|
|
cargo run --release --bin verify_transform_constrained challenge3 response3 challenge4 $SIZE $BATCH
|
|
|
|
|
2020-04-28 18:36:23 +03:00
|
|
|
cargo run --release --bin beacon_constrained challenge4 response4 $SIZE $BATCH 0000000000000000000a558a61ddc8ee4e488d647a747fe4dcc362fe2026c620 10
|
2020-02-13 12:04:29 +03:00
|
|
|
cargo run --release --bin verify_transform_constrained challenge4 response4 challenge5 $SIZE $BATCH
|
2020-01-08 15:39:29 +03:00
|
|
|
|
2020-04-27 14:22:31 +03:00
|
|
|
cargo run --release --bin prepare_phase2 response4 $SIZE $BATCH
|