Documentation

CslibFrontier.Crypto.Primitives.SLHDSA.Parameters

Shared SLH-DSA parameters #

This module records the three security-element byte lengths used by every parameter set in FIPS 205, Table 2. It is shared by the concrete hash calls and the WOTS+, XMSS, FORS, hypertree, and top-level layers built on them.

The finite type describes only the standardized concrete byte lengths. It is deliberately distinct from any later asymptotic security family indexed by a growing parameter.

Main definitions #

Main results #

References #

The three byte lengths n used by the FIPS 205 parameter sets.

Instances For

    The security-element and message length n, in bytes.

    Every standardized value of n is positive.

    Every standardized value of n is at most 32 bytes.

    The two parameter shapes paired with every standardized security-byte length.

    Instances For

      The total hypertree height h from FIPS 205, Table 2.

      The number d of hypertree layers from FIPS 205, Table 2.

      The height h' of one XMSS tree from FIPS 205, Table 2.

      The FORS tree height a from FIPS 205, Table 2.

      The number k of FORS trees from FIPS 205, Table 2.

      The Section 9 message-digest length m, in bytes.

      Table 2's h' values partition the total hypertree height into d equal layers.

      Every standardized XMSS tree has at most 2^32 leaves, so a leaf index fits in one 32-bit address word.