Searched refs:sss_share (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/examples/sss/ |
H A D | sss.h | 63 } sss_share; typedef 75 ATTRIBUTE_WARN_UNUSED_RET int sss_generate(sss_share *shares, unsigned short k, unsigned short n, s… 84 ATTRIBUTE_WARN_UNUSED_RET int sss_combine(const sss_share *shares, unsigned short k, sss_secret *se… 96 ATTRIBUTE_WARN_UNUSED_RET int sss_regenerate(sss_share *shares, unsigned short k, unsigned short n,…
|
H A D | sss.c | 125 ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_generate(sss_share *shares, u16 k, u16 n, sss_secret … in _sss_raw_generate() 289 ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_lagrange(const sss_share *shares, u16 k, sss_secret *… in _sss_raw_lagrange() 410 ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_combine(const sss_share *shares, u16 k, sss_secret *s… in _sss_raw_combine() 426 int sss_generate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret, boolean… in sss_generate() 476 int sss_combine(const sss_share *shares, unsigned short k, sss_secret *secret) in sss_combine() 540 int sss_regenerate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret) in sss_regenerate() 659 sss_share shares[MAX_N]; in main() 660 sss_share shares_[MAX_N]; in main()
|