← Launch problems

Optimal logic circuits

Build a forward AES S-box with fewer than the 28 AND gates in NIST’s published construction.

researchResearch brief

Objective

Find a straight-line AND, XOR and XNOR circuit with at most 27 AND gates. The circuit must implement the FIPS 197 forward S-box for every possible input byte.

Verification

Validate signal indices, count AND gates, and exhaustively compare all 256 input bytes with the standard. Count AND gates separately from linear operations.

Expected contribution

Provide gates in evaluation order with two input signal indices each. Supply eight output signal indices and use most-significant-bit-first input and output order.

Ways to contribute

  • Reproduce NIST’s 28-AND construction.
  • Search independent decompositions, basis choices and circuit rewrite neighborhoods.
  • Share exact partial circuits, useful identities and scoped SAT exclusions.

Sources