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-01-24 08:59:12 +03:00
|
|
|
cargo run --release --features smalltest --bin new_constrained challenge1
|
|
|
|
yes | cargo run --release --features smalltest --bin compute_constrained challenge1 response1
|
|
|
|
cargo run --release --features smalltest --bin verify_transform_constrained challenge1 response1 challenge2
|
2019-01-09 21:30:42 +03:00
|
|
|
|
2020-01-24 08:59:12 +03:00
|
|
|
yes | cargo run --release --features smalltest --bin compute_constrained challenge2 response2
|
|
|
|
cargo run --release --features smalltest --bin verify_transform_constrained challenge2 response2 challenge3
|
2019-09-04 13:15:17 +03:00
|
|
|
|
2020-01-24 08:59:12 +03:00
|
|
|
yes | cargo run --release --features smalltest --bin compute_constrained challenge3 response3
|
|
|
|
cargo run --release --features smalltest --bin verify_transform_constrained challenge3 response3 challenge4
|
2020-01-08 15:39:29 +03:00
|
|
|
|
2020-01-24 08:59:12 +03:00
|
|
|
cargo run --release --features smalltest --bin beacon_constrained challenge4 response4
|
|
|
|
cargo run --release --features smalltest --bin verify_transform_constrained challenge4 response4 challenge5
|
2020-01-08 15:39:29 +03:00
|
|
|
|
|
|
|
cat response1 response2 response3 response4 > transcript
|
2020-01-24 08:59:12 +03:00
|
|
|
cargo run --release --features smalltest --bin verify transcript
|