Botan
1.10.16
|
#include <tss.h>
Public Member Functions | |
bool | initialized () const |
RTSS_Share () | |
RTSS_Share (const std::string &hex_input) | |
byte | share_id () const |
size_t | size () const |
std::string | to_string () const |
Static Public Member Functions | |
static SecureVector< byte > | reconstruct (const std::vector< RTSS_Share > &shares) |
static std::vector< RTSS_Share > | split (byte M, byte N, const byte secret[], u16bit secret_len, const byte identifier[16], RandomNumberGenerator &rng) |
|
inline |
Botan::RTSS_Share::RTSS_Share | ( | const std::string & | hex_input | ) |
hex_input | the share encoded in hexadecimal |
Definition at line 107 of file tss.cpp.
References Botan::hex_decode().
|
inline |
Definition at line 69 of file tss.h.
Referenced by share_id().
|
static |
shares | the list of shares |
Definition at line 182 of file tss.cpp.
References Botan::make_u16bit(), Botan::same_mem(), share_id(), and size().
byte Botan::RTSS_Share::share_id | ( | ) | const |
Definition at line 112 of file tss.cpp.
References initialized().
Referenced by reconstruct().
|
inline |
Definition at line 64 of file tss.h.
Referenced by reconstruct().
|
static |
std::string Botan::RTSS_Share::to_string | ( | ) | const |
Definition at line 120 of file tss.cpp.
References Botan::hex_encode(), and Botan::MemoryRegion< T >::size().