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 #
Cslib.Crypto.HQC.hqcAlpha: the source elementX + 1.
Main results #
Cslib.Crypto.HQC.rawByte_hqcAlpha: the executable representation ofhqcAlphais0x03.
References #
- HQC specification, version 5.1, §2.1, pp. 6–7; Table 2, p. 9.
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.