MCPcopy Index your code

hub / github.com/dsprenkels/sss-rs / functions

Functions31 in github.com/dsprenkels/sss-rs

↓ 10 callersFunctionmul
(a: &Poly, b: &Poly)
src/lib.rs:641
↓ 7 callersFunctionsquare
(x: &Poly)
src/lib.rs:752
↓ 6 callersFunctionsplat
(x: u8)
src/lib.rs:616
↓ 5 callersFunctioncreate_keyshares
Create a set of key shares - `key` must be a `&[u8]` slice of length `DATA_SIZE` (32) - `n` is the number of shares that is to be generated
src/lib.rs:420
↓ 4 callersFunctioncreate_shares
Create a set of shares - `data` must be a `&[u8]` slice of length `DATA_SIZE` (64) - `n` is the number of shares that is to be generated - `k` is the
src/lib.rs:155
↓ 3 callersFunctionadd
(x1: &Poly, x2: &Poly)
src/lib.rs:628
↓ 2 callersFunctionbitslice
(x: &[u8; 32])
src/lib.rs:593
↓ 2 callersFunctioncheck_nk
Check the parameters `n` and `k` and return `Ok(())` if they were valid
src/lib.rs:110
↓ 2 callersFunctioncombine_keyshares
Combine a set of key shares and return the original key `keyshares` must be a slice of keyshare vectors. The return type will be a `Result`
src/lib.rs:501
↓ 2 callersFunctionunbitslice
(x: &Poly)
src/lib.rs:604
↓ 1 callersFunctioncheck_data_len
Check `data` and return `Ok(())` if its length is correct for being shared with `create_shares`
src/lib.rs:122
↓ 1 callersFunctioncheck_key_len
Check `key` and return `Ok(())` if its length is correct for being shared with `create_keyshares`
src/lib.rs:385
↓ 1 callersFunctioncombine_shares
Combine a set of shares and return the original secret `shares` must be a slice of share vectors. The return type will be a `Result` which will only
src/lib.rs:209
↓ 1 callersFunctioninv
(x: Poly)
src/lib.rs:797
Functioncombine_keyshares_4
(b: &mut Bencher)
benches/latencies.rs:40
Functioncombine_shares_4
(b: &mut Bencher)
benches/latencies.rs:21
Functioncreate_keyshares_54
(b: &mut Bencher)
benches/latencies.rs:30
Functioncreate_shares_54
(b: &mut Bencher)
benches/latencies.rs:11
Methoddescription
(&self)
src/lib.rs:96
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lib.rs:82
Functiontest_combine_keyshares_err
()
src/lib.rs:579
Functiontest_combine_keyshares_ok
()
src/lib.rs:563
Functiontest_combine_shares_err
()
src/lib.rs:853
Functiontest_combine_shares_ok
()
src/lib.rs:837
Functiontest_create_keyshares_err
()
src/lib.rs:555
Functiontest_create_keyshares_ok
()
src/lib.rs:546
Functiontest_create_shares_err
()
src/lib.rs:829
Functiontest_create_shares_ok
()
src/lib.rs:820
Functiontest_splat
()
src/lib.rs:891
Functiontest_sss_error_description
()
src/lib.rs:880
Functiontest_sss_error_display
()
src/lib.rs:859