XMSS Library
|
XMSS library specific structured types. More...
Go to the source code of this file.
Classes | |
struct | XmssPrivateKeyStatelessBlob |
A stored stateless private key part. More... | |
struct | XmssPrivateKeyStatefulBlob |
A stored stateful private key part. More... | |
struct | XmssPublicKeyInternalBlob |
A stored public key for the signing library. More... | |
struct | XmssPublicKey |
Exportable format for a public key. More... | |
struct | XmssSignature |
Exportable format for a signature. More... | |
struct | XmssSignatureBlob |
Structure that embeds the exportable format for a signature, along with the signature's data size. More... | |
union | XmssVerificationContext |
The context for signature verification. More... | |
Functions | |
static XmssSignature * | xmss_get_signature_struct (const XmssSignatureBlob *const signature) |
Provide access to an XmssSignatureBlob's data as a structured type. More... | |
XMSS library specific structured types.
There is no need to include this header explicitly. Instead, include either verification.h or signing.h.
#define XMSS_PRIVATE_KEY_STATEFUL_BLOB_SIZE |
The size in bytes of an XmssPrivateKeyStatefulBlob.
#define XMSS_PUBLIC_KEY_INTERNAL_BLOB_SIZE | ( | cache_type, | |
cache_level, | |||
param_set | |||
) |
The size in bytes of an XmssPublicKeyInternalBlob.
[in] | cache_type | The cache type that is used. |
[in] | cache_level | The cache level that is to be held. |
[in] | param_set | The parameter set for the public key. |
#define XMSS_PUBLIC_KEY_SIZE (sizeof(XmssPublicKey)) |
The size of the XmssPublicKey.
Included for API consistency.
#define XMSS_SIGNATURE_BLOB_SIZE | ( | param_set | ) | (sizeof(XmssSignatureBlob) + XMSS_SIGNATURE_SIZE(param_set)) |
The size in bytes of an XmssSignatureBlob.
[in] | param_set | The XmssParameterSetOID that was used for the signature. |
#define XMSS_SIGNATURE_SIZE | ( | param_set | ) | (sizeof(XmssSignature) + sizeof(XmssValue256) * XMSS_TREE_DEPTH(param_set)) |
The size in bytes of an XmssSignature.
Note that when using the XMSS API, XmssSignatureBlob and XMSS_SIGNATURE_BLOB_SIZE() should be used.
[in] | param_set | The XmssParameterSetOID that was used for the signature. |
|
inlinestatic |
Provide access to an XmssSignatureBlob's data as a structured type.
[in] | signature | The signature to access as a struct. |