Index Mathematics Conjectures nbv lettuce Widgets

ext_nonresidue

stdlib/dilithium/ext/ext_nonresidue.nbv only in the dilithium field

ext_nonresidue()

The constant c of the extension Z_q[x] / (x^D - c) of the Dilithium field, D = ext_degree() (dags DilithiumScalar::EXT_NONRESIDUE): the smallest c >= 2 that is neither a square nor a cube, so x^6 - c is irreducible

Calls
fields/assert_dilithium
Used by
ext/ext_mul

Source

# The constant c of the extension Z_q[x] / (x^D - c) of the Dilithium field, D = ext_degree()
# (dags DilithiumScalar::EXT_NONRESIDUE): the smallest c >= 2 that is neither a square nor a
# cube, so x^6 - c is irreducible
()

static _ = assert_dilithium()

7