Documentation

CslibFrontier.Crypto.Primitives.HQC.ByteField

The HQC byte-field generator #

HQC v5.1 uses the polynomial-basis field modulo X⁸ + X⁴ + X³ + X + 1 and takes the byte 0x03 as its generator [HQC2026, §2.1, pp. 6–7; Table 2, p. 9]. The modulus is specified on p. 6, the least-significant-coefficient-first byte mapping on p. 7, and α = 0x03 in Table 2 on p. 9. Cslib.GF256 uses exactly these conventions.

This module defines the source generator as X + 1 in Cslib.BinaryField 8. The theorem rawByte_hqcAlpha is its first semantic property: the shared executable byte layer represents that element by raw byte 0x03. The order-255 proof belongs to the shortened Reed–Solomon development that uses the generator; it is not asserted here.

Main definitions #

Main results #

References #

The HQC source generator α = X + 1 in its degree-eight binary field.

The shared executable byte representation of the HQC generator is raw byte 0x03.