Improve LMS private context documentation
Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
parent
285d44b180
commit
3c4ae77fec
@ -228,9 +228,15 @@ typedef struct {
|
|||||||
uint32_t MBEDTLS_PRIVATE(q_next_usable_key); /*!< The index of the next OTS key that has not
|
uint32_t MBEDTLS_PRIVATE(q_next_usable_key); /*!< The index of the next OTS key that has not
|
||||||
been used. */
|
been used. */
|
||||||
mbedtls_lmots_private_t *MBEDTLS_PRIVATE(ots_private_keys); /*!< The private key material. One OTS key
|
mbedtls_lmots_private_t *MBEDTLS_PRIVATE(ots_private_keys); /*!< The private key material. One OTS key
|
||||||
for each leaf node in the Merkle tree. */
|
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. */
|
||||||
mbedtls_lmots_public_t *MBEDTLS_PRIVATE(ots_public_keys); /*!< The OTS key public keys, used to
|
mbedtls_lmots_public_t *MBEDTLS_PRIVATE(ots_public_keys); /*!< The OTS key public keys, used to
|
||||||
build the Merkle tree. */
|
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. */
|
||||||
unsigned char MBEDTLS_PRIVATE(have_private_key); /*!< Whether the context contains a private key.
|
unsigned char MBEDTLS_PRIVATE(have_private_key); /*!< Whether the context contains a private key.
|
||||||
Boolean values only. */
|
Boolean values only. */
|
||||||
} mbedtls_lms_private_t;
|
} mbedtls_lms_private_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user