Documentation

Cryptlib.Primitives.Cipher.AES

AES-256 #

Encryption direction only. The S-box is computed from its FIPS-197 definition rather than transcribed. Not constant time.

Multiplication in GF(2^8) modulo AES's x^8 + x^4 + x^3 + x + 1.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The multiplicative inverse in GF(2^8), computed as a^254; inv 0 = 0.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      FIPS-197 §5.1.1: invert in GF(2^8), then apply the affine transformation over GF(2).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The AES-256 key schedule: sixty 4-byte words, fifteen round keys.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Byte i of the state is row i % 4, column i / 4; row r rotates left by r columns.

          Equations
          Instances For

            Each column multiplied by the fixed polynomial {03}x³ + {01}x² + {01}x + {02}.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              AES-256 on one block, against an expanded key schedule.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For