Botan 2.19.3
Crypto and TLS for C&
|
#include <xmss_wots.h>
Protected Member Functions | |
void | chain (secure_vector< uint8_t > &x, size_t start_idx, size_t steps, XMSS_Address &adrs, const secure_vector< uint8_t > &public_seed) |
void | chain (secure_vector< uint8_t > &x, size_t start_idx, size_t steps, XMSS_Address &adrs, const secure_vector< uint8_t > &public_seed, XMSS_Hash &hash) |
Protected Attributes | |
XMSS_Hash | m_hash |
wots_keysig_t | m_key |
secure_vector< uint8_t > | m_public_seed |
XMSS_WOTS_Parameters | m_wots_params |
A Winternitz One Time Signature private key for use with Extended Hash-Based Signatures.
Definition at line 455 of file xmss_wots.h.
|
inline |
Creates a WOTS private key for the chosen XMSS WOTS signature method. Members need to be initialized manually.
oid | Identifier for the selected signature method. |
Definition at line 465 of file xmss_wots.h.
|
inline |
Creates a WOTS private key for the chosen XMSS WOTS signature method.
oid | Identifier for the selected signature method. |
rng | A random number generator to use for key generation. |
Definition at line 475 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::set_key_data().
|
inline |
Constructs a WOTS private key. Chains will be generated on demand applying a hash function to a unique value generated from a secret seed and a counter. The secret seed of length n, will be automatically generated using AutoSeeded_RNG(). "n" equals the element size of the chosen WOTS security parameter set.
oid | Identifier for the selected signature method. |
public_seed | A public seed used for the pseudo random generation of public keys derived from this private key. |
rng | A random number generator to use for key generation. |
Definition at line 495 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::set_key_data().
|
inline |
Constructs a WOTS private key. Chains will be generated on demand applying a hash function to a unique value generated from a secret seed and a counter. The secret seed of length n, will be automatically generated using AutoSeeded_RNG(). "n" equals the element size of the chosen WOTS security parameter set.
oid | Identifier for the selected signature method. |
public_seed | A public seed used for the pseudo random generation of public keys derived from this private key. |
Definition at line 515 of file xmss_wots.h.
|
inline |
Constructs a WOTS private key. Chains will be generated on demand applying a hash function to a unique value generated from the secret seed and a counter.
oid | Identifier for the selected signature method. |
public_seed | A public seed used for the pseudo random generation of public keys derived from this private key. |
private_seed | A secret uniformly random n-byte value. |
Definition at line 530 of file xmss_wots.h.
References private_seed(), and Botan::XMSS_WOTS_PublicKey::set_key_data().
|
inlineoverridevirtualinherited |
Get the name of the underlying public key scheme.
Implements Botan::Public_Key.
Definition at line 336 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_wots_params, and Botan::XMSS_WOTS_Parameters::name().
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::algo_name().
|
inlineoverridevirtualinherited |
Implements Botan::Public_Key.
Definition at line 341 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::algorithm_identifier().
wots_keysig_t Botan::XMSS_WOTS_PrivateKey::at | ( | const XMSS_Address & | adrs, |
XMSS_Hash & | hash | ||
) |
Retrieves the i-th WOTS private key using pseudo random key (re-)generation.
This overload is used in multithreaded scenarios, where it is required to provide seperate instances of XMSS_Hash to each thread.
adrs | The address of the key to retrieve. |
hash | Instance of XMSS_Hash, that may only be used by the thead executing at. |
Definition at line 84 of file xmss_wots_privatekey.cpp.
References Botan::XMSS_Address::bytes(), and hash.
wots_keysig_t Botan::XMSS_WOTS_PrivateKey::at | ( | size_t | i, |
XMSS_Hash & | hash | ||
) |
Retrieves the i-th WOTS private key using pseudo random key (re-)generation.
This overload is used in multithreaded scenarios, where it is required to provide seperate instances of XMSS_Hash to each thread.
i | Index of the key to retrieve. |
hash | Instance of XMSS_Hash, that may only be used by the thead executing at. |
Definition at line 91 of file xmss_wots_privatekey.cpp.
References Botan::XMSS_Tools::concat(), Botan::XMSS_WOTS_Parameters::element_size(), hash, and Botan::XMSS_WOTS_PublicKey::m_wots_params.
Referenced by operator[](), operator[](), and sign().
|
inlineprotectedinherited |
Algorithm 2: Chaining Function.
Takes an n-byte input string and transforms it into a the function result iterating the cryptographic hash function "F" steps times on the input x using the outputs of the PRNG "G".
[out] | x | An n-byte input string, that will be transformed into the chaining function result. |
start_idx | The start index. | |
steps | A number of steps. | |
adrs | An OTS Hash Address. | |
public_seed | A public seed. |
Definition at line 418 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::chain(), Botan::XMSS_WOTS_PublicKey::m_hash, and Botan::XMSS_WOTS_PublicKey::public_seed().
|
protectedinherited |
Algorithm 2: Chaining Function.
Takes an n-byte input string and transforms it into a the function result iterating the cryptographic hash function "F" steps times on the input x using the outputs of the PRNG "G".
This overload is used in multithreaded scenarios, where it is required to provide seperate instances of XMSS_Hash to each thread.
[out] | x | An n-byte input string, that will be transformed into the chaining function result. |
start_idx | The start index. | |
steps | A number of steps. | |
adrs | An OTS Hash Address. | |
public_seed | A public seed. | |
hash | Instance of XMSS_Hash, that may only by the thead executing chain. |
Definition at line 17 of file xmss_wots_publickey.cpp.
References Botan::XMSS_Address::bytes(), hash, Botan::XMSS_Address::Key_Mode, Botan::XMSS_WOTS_PublicKey::m_wots_params, Botan::XMSS_Address::Mask_Mode, Botan::XMSS_Address::set_hash_address(), Botan::XMSS_Address::set_key_mask_mode(), Botan::XMSS_WOTS_Parameters::wots_parameter(), and Botan::xor_buf().
Referenced by Botan::XMSS_WOTS_PublicKey::chain(), generate_public_key(), and sign().
|
inlineoverridevirtualinherited |
Test the key values for consistency.
rng | rng to use |
strong | whether to perform strong and lengthy version of the test |
Implements Botan::Public_Key.
Definition at line 346 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::check_key().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return an decryption operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::ElGamal_PrivateKey, Botan::RSA_PrivateKey, and Botan::SM2_PrivateKey.
Definition at line 114 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_Decryptor_EME::PK_Decryptor_EME().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return an encryption operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::ElGamal_PublicKey, Botan::RSA_PublicKey, and Botan::SM2_PublicKey.
Definition at line 91 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_Encryptor_EME::PK_Encryptor_EME().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return a KEM decryption operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::McEliece_PrivateKey, and Botan::RSA_PrivateKey.
Definition at line 122 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_KEM_Decryptor::PK_KEM_Decryptor().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return a KEM encryption operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::McEliece_PublicKey, and Botan::RSA_PublicKey.
Definition at line 99 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_KEM_Encryptor::PK_KEM_Encryptor().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return a key agreement operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::Curve25519_PrivateKey, Botan::DH_PrivateKey, and Botan::ECDH_PrivateKey.
Definition at line 138 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_Key_Agreement::PK_Key_Agreement().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return a signature operation for this key/params or throw
rng | a random number generator. The PK_Op may maintain a reference to the RNG and use it many times. The rng must outlive any operations which reference it. |
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::XMSS_PrivateKey, Botan::TPM_PrivateKey, Botan::DSA_PrivateKey, Botan::ECDSA_PrivateKey, Botan::ECGDSA_PrivateKey, Botan::ECKCDSA_PrivateKey, Botan::Ed25519_PrivateKey, Botan::GOST_3410_PrivateKey, Botan::RSA_PrivateKey, and Botan::SM2_PrivateKey.
Definition at line 130 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::PK_Signer::PK_Signer().
|
virtualinherited |
This is an internal library function exposed on key types. In almost all cases applications should use wrappers in pubkey.h
Return a verification operation for this key/params or throw
params | additional parameters |
provider | the provider to use |
Reimplemented in Botan::XMSS_PublicKey, Botan::DSA_PublicKey, Botan::ECDSA_PublicKey, Botan::ECGDSA_PublicKey, Botan::ECKCDSA_PublicKey, Botan::Ed25519_PublicKey, Botan::GOST_3410_PublicKey, Botan::RSA_PublicKey, Botan::SM2_PublicKey, and Botan::XMSS_WOTS_Addressed_PublicKey.
Definition at line 107 of file pk_keys.cpp.
References Botan::Public_Key::algo_name().
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::create_verification_op(), and Botan::PK_Verifier::PK_Verifier().
|
inlinevirtualinherited |
Reimplemented in Botan::GOST_3410_PublicKey.
Definition at line 125 of file pk_keys.h.
References Botan::DER_SEQUENCE, and Botan::IEEE_1363.
Referenced by Botan::X509_Object::choose_sig_format(), and Botan::X509_Object::verify_signature().
|
inlineoverridevirtualinherited |
Return the estimated strength of the underlying key against the best currently known attack. Note that this ignores anything but pure attacks against the key itself and do not take into account padding schemes, usage mistakes, etc which might reduce the strength. However it does suffice to provide an upper bound.
Implements Botan::Public_Key.
Definition at line 351 of file xmss_wots.h.
References Botan::XMSS_WOTS_Parameters::estimated_strength(), and Botan::XMSS_WOTS_PublicKey::m_wots_params.
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::estimated_strength(), and Botan::XMSS_WOTS_Addressed_PublicKey::key_length().
|
inlineinherited |
|
inherited |
Definition at line 85 of file pk_keys.cpp.
References Botan::create_hex_fingerprint(), hash_algo, and Botan::Private_Key::private_key_bits().
Referenced by Botan::Certificate_Store_In_SQL::find_certs_for_key(), Botan::Certificate_Store_In_SQL::insert_key(), and Botan::Certificate_Store_In_SQL::remove_key().
|
inherited |
Definition at line 77 of file pk_keys.cpp.
References Botan::create_hex_fingerprint(), hash_algo, and Botan::Public_Key::subject_public_key().
wots_keysig_t Botan::XMSS_WOTS_PrivateKey::generate_private_key | ( | const secure_vector< uint8_t > & | priv_seed | ) |
XMSS_WOTS_PublicKey Botan::XMSS_WOTS_PrivateKey::generate_public_key | ( | XMSS_Address & | adrs | ) |
Algorithm 4: "WOTS_genPK" Generates a Winternitz One Time Signature+ (WOTS+) Public Key from a given private key.
adrs | Hash function address encoding the address of the WOTS+ key pair within a greater structure. |
Definition at line 34 of file xmss_wots_privatekey.cpp.
References generate_public_key(), Botan::XMSS_WOTS_PublicKey::m_wots_params, Botan::XMSS_WOTS_Parameters::oid(), and Botan::XMSS_WOTS_PublicKey::public_seed().
Referenced by generate_public_key(), and generate_public_key().
|
inline |
Algorithm 4: "WOTS_genPK" Initializes a Winternitz One Time Signature+ (WOTS+) Public Key's key_data() member, with data derived from in_key_data using the WOTS chaining function.
[out] | pub_key | Public key to initialize key_data() member on. |
in_key_data | Input key material from private key used for public key generation. | |
adrs | Hash function address encoding the address of the WOTS+ key pair within a greater structure. |
Definition at line 637 of file xmss_wots.h.
References generate_public_key(), and Botan::XMSS_WOTS_PublicKey::m_hash.
void Botan::XMSS_WOTS_PrivateKey::generate_public_key | ( | XMSS_WOTS_PublicKey & | pub_key, |
wots_keysig_t && | in_key_data, | ||
XMSS_Address & | adrs, | ||
XMSS_Hash & | hash | ||
) |
Algorithm 4: "WOTS_genPK" Initializes a Winternitz One Time Signature+ (WOTS+) Public Key's key_data() member, with data derived from in_key_data using the WOTS chaining function.
This overload is used in multithreaded scenarios, where it is required to provide seperate instances of XMSS_Hash to each thread.
[out] | pub_key | Public key to initialize key_data() member on. |
in_key_data | Input key material from private key used for public key generation. | |
adrs | Hash function address encoding the address of the WOTS+ key pair within a greater structure. | |
hash | Instance of XMSS_Hash, that may only by the thead executing generate_public_key. |
Definition at line 43 of file xmss_wots_privatekey.cpp.
References BOTAN_ASSERT, Botan::XMSS_WOTS_PublicKey::chain(), hash, Botan::XMSS_WOTS_Parameters::len(), Botan::XMSS_WOTS_PublicKey::m_wots_params, Botan::XMSS_WOTS_PublicKey::public_seed(), Botan::XMSS_Address::set_chain_address(), Botan::XMSS_WOTS_PublicKey::set_key_data(), Botan::XMSS_WOTS_Parameters::wots_parameter(), and Botan::XMSS_WOTS_PublicKey::wots_parameters().
|
virtualinherited |
Get the OID of the underlying public key scheme.
Reimplemented in Botan::XMSS_WOTS_Addressed_PublicKey.
Definition at line 53 of file pk_keys.cpp.
References Botan::Public_Key::algo_name(), Botan::OID::empty(), and Botan::OIDS::str2oid_or_empty().
Referenced by Botan::TPM_PrivateKey::algorithm_identifier(), Botan::Curve25519_PublicKey::algorithm_identifier(), Botan::DL_Scheme_PublicKey::algorithm_identifier(), Botan::EC_PublicKey::algorithm_identifier(), Botan::Ed25519_PublicKey::algorithm_identifier(), Botan::GOST_3410_PublicKey::algorithm_identifier(), Botan::McEliece_PublicKey::algorithm_identifier(), Botan::RSA_PublicKey::algorithm_identifier(), and Botan::XMSS_WOTS_Addressed_PublicKey::get_oid().
|
inlineinherited |
|
inlineinherited |
Definition at line 317 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_key.
Referenced by Botan::XMSS_WOTS_PublicKey::set_key_data(), and Botan::XMSS_WOTS_PublicKey::set_key_data().
|
inlineoverridevirtualinherited |
Return an integer value best approximating the length of the primary security parameter. For example for RSA this will be the size of the modulus, for ECDSA the size of the ECC group, and for McEliece the size of the code will be returned.
Implements Botan::Public_Key.
Definition at line 356 of file xmss_wots.h.
References Botan::XMSS_WOTS_Parameters::estimated_strength(), and Botan::XMSS_WOTS_PublicKey::m_wots_params.
|
inlinevirtualinherited |
Returns how large each of the message parts refered to by message_parts() is
This function is public but applications should have few reasons to ever call this.
Reimplemented in Botan::DSA_PublicKey, Botan::ECDSA_PublicKey, Botan::ECGDSA_PublicKey, Botan::ECKCDSA_PublicKey, Botan::GOST_3410_PublicKey, and Botan::SM2_PublicKey.
Definition at line 123 of file pk_keys.h.
Referenced by Botan::PK_Signer::PK_Signer(), and Botan::PK_Verifier::PK_Verifier().
|
inlinevirtualinherited |
Returns more than 1 if the output of this algorithm (ciphertext, signature) should be treated as more than one value. This is used for algorithms like DSA and ECDSA, where the (r,s) output pair can be encoded as either a plain binary list or a TLV tagged DER encoding depending on the protocol.
This function is public but applications should have few reasons to ever call this.
Reimplemented in Botan::DSA_PublicKey, Botan::ECDSA_PublicKey, Botan::ECGDSA_PublicKey, Botan::ECKCDSA_PublicKey, Botan::GOST_3410_PublicKey, and Botan::SM2_PublicKey.
Definition at line 112 of file pk_keys.h.
Referenced by Botan::PK_Signer::PK_Signer(), and Botan::PK_Verifier::PK_Verifier().
|
inlineinherited |
Convert the key into the raw key data. The key becomes a length len vector of n-byte elements.
Definition at line 295 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_key.
|
inlineinherited |
Convert the key into the raw key data. The key becomes a length len vector of n-byte elements.
Definition at line 301 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_key.
|
inlineinherited |
Definition at line 371 of file xmss_wots.h.
|
inlineinherited |
Definition at line 366 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_key.
|
inline |
Definition at line 584 of file xmss_wots.h.
References at(), and Botan::XMSS_WOTS_PublicKey::m_hash.
|
inline |
Retrieves the i-th WOTS private key using pseudo random key (re-)generation.
i | Index of the key to retrieve. |
Definition at line 563 of file xmss_wots.h.
References at(), and Botan::XMSS_WOTS_PublicKey::m_hash.
|
inlineinherited |
Retrieves the i-th element out of the length len chain of n-byte elements contained in the public key.
i | index of the element. |
Definition at line 288 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_key.
|
inlineoverridevirtual |
Reimplemented from Botan::Private_Key.
Definition at line 714 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_Addressed_PrivateKey::pkcs8_algorithm_identifier().
|
inlineoverridevirtual |
Implements Botan::Private_Key.
Definition at line 719 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_Addressed_PrivateKey::private_key_bits().
|
inherited |
Definition at line 61 of file pk_keys.cpp.
References Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), Botan::DER_Encoder::get_contents(), Botan::OCTET_STRING, Botan::Private_Key::pkcs8_algorithm_identifier(), Botan::Private_Key::private_key_bits(), Botan::SEQUENCE, and Botan::DER_Encoder::start_cons().
Referenced by Botan::PKCS8::BER_encode(), Botan::PKCS8::BER_encode_encrypted_pbkdf_iter(), and Botan::PKCS8::BER_encode_encrypted_pbkdf_msec().
|
inline |
Retrieves the secret seed used to generate WOTS+ chains. The seed should be a uniformly random n-byte value.
Definition at line 686 of file xmss_wots.h.
Referenced by Botan::XMSS_PrivateKey::raw_private_key(), set_private_seed(), set_private_seed(), and XMSS_WOTS_PrivateKey().
|
inlineoverridevirtualinherited |
Implements Botan::Public_Key.
Definition at line 361 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_Addressed_PublicKey::public_key_bits().
|
inlineinherited |
Definition at line 305 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_public_seed.
|
inlineinherited |
Definition at line 303 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_public_seed.
Referenced by Botan::XMSS_WOTS_PublicKey::chain(), generate_public_key(), generate_public_key(), Botan::XMSS_WOTS_PublicKey::set_public_seed(), and Botan::XMSS_WOTS_PublicKey::set_public_seed().
|
inlineinherited |
Definition at line 321 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::key_data(), and Botan::XMSS_WOTS_PublicKey::m_key.
Referenced by generate_public_key(), XMSS_WOTS_PrivateKey(), XMSS_WOTS_PrivateKey(), and XMSS_WOTS_PrivateKey().
|
inlineinherited |
Definition at line 326 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::key_data(), and Botan::XMSS_WOTS_PublicKey::m_key.
|
inline |
Sets the secret seed used to generate WOTS+ chains. The seed should be a uniformly random n-byte value.
private_seed | Uniformly random n-byte value. |
Definition at line 697 of file xmss_wots.h.
References private_seed().
Referenced by Botan::XMSS_PrivateKey::XMSS_PrivateKey().
|
inline |
Sets the secret seed used to generate WOTS+ chains. The seed should be a uniformly random n-byte value.
private_seed | Uniformly random n-byte value. |
Definition at line 708 of file xmss_wots.h.
References private_seed().
|
inlineinherited |
Definition at line 307 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_public_seed, and Botan::XMSS_WOTS_PublicKey::public_seed().
|
inlineinherited |
Definition at line 312 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_public_seed, and Botan::XMSS_WOTS_PublicKey::public_seed().
|
inline |
Algorithm 5: "WOTS_sign" Generates a signature from a private key and a message.
msg | A message to sign. |
adrs | An OTS hash address identifying the WOTS+ key pair used for signing. |
Definition at line 654 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_hash, and sign().
Referenced by sign().
wots_keysig_t Botan::XMSS_WOTS_PrivateKey::sign | ( | const secure_vector< uint8_t > & | msg, |
XMSS_Address & | adrs, | ||
XMSS_Hash & | hash | ||
) |
Algorithm 5: "WOTS_sign" Generates a signature from a private key and a message.
This overload is used in multithreaded scenarios, where it is required to provide seperate instances of XMSS_Hash to each thread.
msg | A message to sign. |
adrs | An OTS hash address identifying the WOTS+ key pair used for signing. |
hash | Instance of XMSS_Hash, that may only be used by the thead executing sign. |
Definition at line 62 of file xmss_wots_privatekey.cpp.
References Botan::XMSS_WOTS_Parameters::append_checksum(), at(), Botan::XMSS_WOTS_Parameters::base_w(), Botan::XMSS_WOTS_PublicKey::chain(), hash, Botan::XMSS_WOTS_Parameters::len(), Botan::XMSS_WOTS_Parameters::len_1(), Botan::XMSS_WOTS_PublicKey::m_public_seed, Botan::XMSS_WOTS_PublicKey::m_wots_params, and Botan::XMSS_Address::set_chain_address().
|
inlinevirtualinherited |
Reimplemented in Botan::XMSS_PrivateKey.
Definition at line 188 of file pk_keys.h.
|
inherited |
Definition at line 38 of file pk_keys.cpp.
References Botan::Public_Key::algorithm_identifier(), Botan::BIT_STRING, Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), Botan::Public_Key::public_key_bits(), Botan::SEQUENCE, and Botan::DER_Encoder::start_cons().
Referenced by Botan::X509::BER_encode(), Botan::PKCS10_Request::create(), Botan::Public_Key::fingerprint_public(), and Botan::X509::PEM_encode().
|
inlineinherited |
Definition at line 331 of file xmss_wots.h.
References Botan::XMSS_WOTS_PublicKey::m_wots_params.
Referenced by generate_public_key().
|
protectedinherited |
Definition at line 428 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_PublicKey::chain(), generate_public_key(), operator[](), operator[](), and sign().
|
protectedinherited |
Definition at line 429 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_PublicKey::key_data(), Botan::XMSS_WOTS_PublicKey::key_data(), Botan::XMSS_WOTS_PublicKey::operator const wots_keysig_t &(), Botan::XMSS_WOTS_PublicKey::operator wots_keysig_t &(), Botan::XMSS_WOTS_PublicKey::operator==(), Botan::XMSS_WOTS_PublicKey::operator[](), Botan::XMSS_WOTS_PublicKey::operator[](), Botan::XMSS_WOTS_PublicKey::set_key_data(), and Botan::XMSS_WOTS_PublicKey::set_key_data().
|
protectedinherited |
Definition at line 430 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_PublicKey::public_seed(), Botan::XMSS_WOTS_PublicKey::public_seed(), Botan::XMSS_WOTS_PublicKey::set_public_seed(), Botan::XMSS_WOTS_PublicKey::set_public_seed(), and sign().
|
protectedinherited |
Definition at line 427 of file xmss_wots.h.
Referenced by Botan::XMSS_WOTS_PublicKey::algo_name(), at(), Botan::XMSS_WOTS_PublicKey::chain(), Botan::XMSS_WOTS_PublicKey::estimated_strength(), generate_public_key(), generate_public_key(), Botan::XMSS_WOTS_PublicKey::key_length(), sign(), and Botan::XMSS_WOTS_PublicKey::wots_parameters().