Mbed TLS v3.6.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mbedtls_lms_private_t Struct Reference

#include <lms.h>

Collaboration diagram for mbedtls_lms_private_t:
Collaboration graph
[legend]

Data Fields

mbedtls_lms_parameters_t private_params
 
uint32_t private_q_next_usable_key
 
mbedtls_lmots_private_tprivate_ots_private_keys
 
mbedtls_lmots_public_tprivate_ots_public_keys
 
unsigned char private_have_private_key
 

Detailed Description

LMS private context structure.

A LMS private key is a set of LMOTS private keys, an index to the next usable key, and the applicable parameter set.

The context must be initialized before it is used. A public key must either be imported or generated from a private context.

dot_inline_dotgraph_3.png

Definition at line 216 of file lms.h.

Field Documentation

unsigned char mbedtls_lms_private_t::private_have_private_key

Whether the context contains a private key. Boolean values only.

Definition at line 230 of file lms.h.

mbedtls_lmots_private_t* mbedtls_lms_private_t::private_ots_private_keys

The private key material. One OTS key for each leaf node in the Merkle tree. NULL when have_private_key is 0 and non-NULL otherwise. is 2^MBEDTLS_LMS_H_TREE_HEIGHT(type) in length.

Definition at line 220 of file lms.h.

mbedtls_lmots_public_t* mbedtls_lms_private_t::private_ots_public_keys

The OTS key public keys, used to build the Merkle tree. NULL when have_private_key is 0 and non-NULL otherwise. Is 2^MBEDTLS_LMS_H_TREE_HEIGHT(type) in length.

Definition at line 224 of file lms.h.

mbedtls_lms_parameters_t mbedtls_lms_private_t::private_params

Definition at line 217 of file lms.h.

uint32_t mbedtls_lms_private_t::private_q_next_usable_key

The index of the next OTS key that has not been used.

Definition at line 218 of file lms.h.


The documentation for this struct was generated from the following file: