def sp_lt2d

bend-osdev-legacy-ciphers@0.1.0.0 · PROOF.bend:1190

import bend-osdev-legacy-ciphers@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend as P

1190def sp_lt2d(s: M.CmBlock) -> {s == P.sp.lt2(P.sp.ilt2(s)) : M.CmBlock}:
1191  match s:
1192    case M.CmBlock{+x0, +x1, +x2, +x3}:
1193      %rot_3_29(x2) : {M.CmBlock{x0, x1, x2, x3} == M.CmBlock{x0, x1, _, x3} : M.CmBlock}
1194      {==}

Uses (4)

Used by (1)