Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dsprenkels/sss-rs
/ functions
Functions
31 in github.com/dsprenkels/sss-rs
⨍
Functions
31
◇
Types & classes
1
↓ 10 callers
Function
mul
(a: &Poly, b: &Poly)
src/lib.rs:641
↓ 7 callers
Function
square
(x: &Poly)
src/lib.rs:752
↓ 6 callers
Function
splat
(x: u8)
src/lib.rs:616
↓ 5 callers
Function
create_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 callers
Function
create_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 callers
Function
add
(x1: &Poly, x2: &Poly)
src/lib.rs:628
↓ 2 callers
Function
bitslice
(x: &[u8; 32])
src/lib.rs:593
↓ 2 callers
Function
check_nk
Check the parameters `n` and `k` and return `Ok(())` if they were valid
src/lib.rs:110
↓ 2 callers
Function
combine_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 callers
Function
unbitslice
(x: &Poly)
src/lib.rs:604
↓ 1 callers
Function
check_data_len
Check `data` and return `Ok(())` if its length is correct for being shared with `create_shares`
src/lib.rs:122
↓ 1 callers
Function
check_key_len
Check `key` and return `Ok(())` if its length is correct for being shared with `create_keyshares`
src/lib.rs:385
↓ 1 callers
Function
combine_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 callers
Function
inv
(x: Poly)
src/lib.rs:797
Function
combine_keyshares_4
(b: &mut Bencher)
benches/latencies.rs:40
Function
combine_shares_4
(b: &mut Bencher)
benches/latencies.rs:21
Function
create_keyshares_54
(b: &mut Bencher)
benches/latencies.rs:30
Function
create_shares_54
(b: &mut Bencher)
benches/latencies.rs:11
Method
description
(&self)
src/lib.rs:96
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lib.rs:82
Function
test_combine_keyshares_err
()
src/lib.rs:579
Function
test_combine_keyshares_ok
()
src/lib.rs:563
Function
test_combine_shares_err
()
src/lib.rs:853
Function
test_combine_shares_ok
()
src/lib.rs:837
Function
test_create_keyshares_err
()
src/lib.rs:555
Function
test_create_keyshares_ok
()
src/lib.rs:546
Function
test_create_shares_err
()
src/lib.rs:829
Function
test_create_shares_ok
()
src/lib.rs:820
Function
test_splat
()
src/lib.rs:891
Function
test_sss_error_description
()
src/lib.rs:880
Function
test_sss_error_display
()
src/lib.rs:859