13 releases (5 breaking)
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 |
#831 in Cryptography
541 downloads per month
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 | ||
DPF | dpf-fss | Coming soon | |
Group (mathematics) | group-math | ||
Common types | fss-types |
Function secret sharing implementations including distributed comparison & point function
References
- DCF: Elette Boyle, Nishanth Chandran, Niv Gilboa, Divya Gupta, Yuval Ishai, Nishant Kumar, and Mayank Rathee. "Function Secret Sharing for Mixed-Mode and Fixed-Point Secure Computation." In EUROCRYPT. 2021.
- DPF: Elette Boyle, Niv Gilboa, and Yuval Ishai. "Function Secret Sharing: Improvements and Extensions." In CCS. 2016.
- Fast PRG: Leo de Castro and Anitgoni Polychroniadou. "Lightweight, Maliciously Secure Verifiable Function Secret Sharing." In EUROCRYPT. 2022.
- Fast PRG: Frank Wang, Catherine Yun, Shafi Goldwasser, Vinod Vaikuntanathan, and Matei Zaharia. "Splinter: Practical Private Queries on Public Data." In NDSI. 2017.
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
~0.9–1.3MB
~31K SLoC