|
Botan 3.14.1
Crypto and TLS for C&
|
#include <xmss_wots.h>
Public Member Functions | |
| const wots_keysig_t & | key_data () const |
| XMSS_WOTS_PublicKey (XMSS_WOTS_Parameters params, std::span< const uint8_t > public_seed, wots_keysig_t signature, const secure_vector< uint8_t > &msg, XMSS_Address adrs, XMSS_Hash &hash) | |
Protected Attributes | |
| wots_keysig_t | m_key_data |
| XMSS_WOTS_Parameters | m_params |
A Winternitz One Time Signature public key for use with Extended Hash-Based Signatures.
Definition at line 43 of file xmss_wots.h.
| Botan::XMSS_WOTS_PublicKey::XMSS_WOTS_PublicKey | ( | XMSS_WOTS_Parameters | params, |
| std::span< const uint8_t > | public_seed, | ||
| wots_keysig_t | signature, | ||
| const secure_vector< uint8_t > & | msg, | ||
| XMSS_Address | adrs, | ||
| XMSS_Hash & | hash ) |
Creates a XMSS_WOTS_PublicKey from a message and signature using Algorithm 6 WOTS_pkFromSig defined in the XMSS standard. This overload is used to verify a message using a public key.
| params | The WOTS parameters to use |
| public_seed | The public seed to derive the key with |
| signature | A WOTS signature for msg. |
| msg | A message. |
| adrs | The address of the key to retrieve. |
| Hashes | Instance of XMSS_Hash, that may only be used by the thread executing at. |
Definition at line 218 of file xmss_wots.cpp.
References Botan::XMSS_WOTS_Base::m_key_data, Botan::XMSS_WOTS_Base::m_params, and Botan::XMSS_WOTS_Base::XMSS_WOTS_Base().
|
inlineinherited |
Definition at line 32 of file xmss_wots.h.
References m_key_data.
Referenced by Botan::XMSS_Common_Ops::root_from_signature(), Botan::XMSS_WOTS_PrivateKey::sign(), and XMSS_WOTS_Base().
|
protectedinherited |
Definition at line 36 of file xmss_wots.h.
Referenced by key_data(), XMSS_WOTS_Base(), Botan::XMSS_WOTS_PrivateKey::XMSS_WOTS_PrivateKey(), Botan::XMSS_WOTS_PrivateKey::XMSS_WOTS_PrivateKey(), and Botan::XMSS_WOTS_PublicKey::XMSS_WOTS_PublicKey().
|
protectedinherited |
Definition at line 35 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_PrivateKey::sign(), XMSS_WOTS_Base(), XMSS_WOTS_Base(), Botan::XMSS_WOTS_PrivateKey::XMSS_WOTS_PrivateKey(), Botan::XMSS_WOTS_PrivateKey::XMSS_WOTS_PrivateKey(), and Botan::XMSS_WOTS_PublicKey::XMSS_WOTS_PublicKey().