XMSS Library
XmssSignatureBlob Struct Reference

Structure that embeds the exportable format for a signature, along with the signature's data size. More...

#include <structures.h>

Public Attributes

size_t data_size
 The size in bytes of the exported signature. More...
 
uint8_t data []
 The signature data in the format described by RFC 8391, Section 4.1.8. This will always contain one signature in the XmssSignature format.
 

Detailed Description

Structure that embeds the exportable format for a signature, along with the signature's data size.

This is a signature in the format described by RFC 8391, Section 4.1.8.

When creating an XmssSignatureBlob, the XMSS_SIGNATURE_BLOB_SIZE() macro can be used to allocate the correct size.

Member Data Documentation

◆ data_size

size_t XmssSignatureBlob::data_size

The size in bytes of the exported signature.

The size of the contents of the signature blob: data_size = XMSS_SIGNATURE_SIZE(parameter_set).

data_size is written in native-endian and is not part of the exported data.


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