def mul_inv_aes.s11110

bend-osdev-gf@0.1.1.0 · PROOF.bend:1916

import bend-osdev-gf@0.1.1.0/PROOF.bend as PROOF
import Base
import bend-osdev-gf@0.1.1.0/gf.bend as G

1916def mul_inv_aes.s11110(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, True{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, True{}, True{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
1917  match b5:
1918    case True{}:
1919      match b6:
1920        case True{}:
1921          match b7:
1922            case True{}:
1923              {==}
1924            case False{}:
1925              {==}
1926        case False{}:
1927          match b7:
1928            case True{}:
1929              {==}
1930            case False{}:
1931              {==}
1932    case False{}:
1933      match b6:
1934        case True{}:
1935          match b7:
1936            case True{}:
1937              {==}
1938            case False{}:
1939              {==}
1940        case False{}:
1941          match b7:
1942            case True{}:
1943              {==}
1944            case False{}:
1945              {==}

Uses (8)

Used by (1)