#fss #secret-sharing #crypto #dist-comparison-fn

dcf

Distributed comparison function implementation

13 releases (5 breaking)

new 0.6.3 Apr 10, 2024
0.6.1 Jan 27, 2024
0.5.2 Apr 10, 2024
0.5.0 Oct 6, 2023
0.2.2 Jul 21, 2023

#1030 in Cryptography

23 downloads per month

Apache-2.0

45KB
666 lines

fss

Migration

We have combined all the following crates into a single crate fss-rs. To fss-rs v0.4.0, there are no functional changes. You only need to update import paths to migrate.

These legacy crates would be kept as is for compatibility, but no longer receive updates including security updates


Name Crate name crates.io Docs
DCF dcf Crates.io docs.rs
DPF dpf-fss Crates.io Coming soon
Group (mathematics) group-math Crates.io docs.rs
Common types fss-types Crates.io docs.rs

Function secret sharing implementations including distributed comparison & point function

References

Benchmark

We use Criterion.rs for benchmarking. Criterion.rs reports criterion.tar.zst are included in releases.

We use a (my) laptop as the benchmarking machine. It is charged to 100% with the power plugged in when benchmarking. Its CPU is AMD Ryzen 7 5800H with Radeon Graphics, which is 8C16T. We use rayon as the data-parallelism library, which establishes 16 threads when benchmarking with multithreading. We ensure that its memory is enough for benchmarking, which is 16GB and has more than 5GB left when benchmarking. Notice that we do not close all other programs as many as possible to reduce scheduling, though we do avoid doing any other thing at the same time.

License

Copyright (C) myl7

SPDX-License-Identifier: Apache-2.0

Dependencies

~1–1.3MB
~31K SLoC