fss-rs 0.4.2

Function secret sharing including distributed comparison & point functions
Documentation
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env zsh
[ "${ZSH_VERSION:-}" = "" ] && echo >&2 "Only works with zsh" && exit 1
set -euo pipefail

# See https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
# for the reason why the script is created.

ulimit -s 16384 # For bench dpf_large_lambda after changing to use Matyas-Meyer-Oseas
bench_dirs=(benches)
bench_args=($(find $bench_dirs -type f -exec basename -s .rs {} \; | sed 's/^/--bench /'))
cargo bench $bench_args $@