def mul_inv_aes.s00000

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

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

2846def mul_inv_aes.s00000(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, False{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, False{}, False{}, b5, b6, b7})))) == 1 : U32}:
2847  match b5:
2848    case True{}:
2849      match b6:
2850        case True{}:
2851          match b7:
2852            case True{}:
2853              {==}
2854            case False{}:
2855              {==}
2856        case False{}:
2857          match b7:
2858            case True{}:
2859              {==}
2860            case False{}:
2861              {==}
2862    case False{}:
2863      match b6:
2864        case True{}:
2865          match b7:
2866            case True{}:
2867              {==}
2868            case False{}:
2869              {==}
2870        case False{}:
2871          match b7:
2872            case True{}:
2873              {==}
2874            case False{}:
2875              {==}

Uses (8)

Used by (1)