def sp.ilt8

bend-osdev-legacy-ciphers@0.1.0.0 · serpent.bend:226

import bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend as Serpent
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/legacy_ciphers.bend as L

226def sp.ilt8(s: M.CmBlock) -> M.CmBlock:
227  match s:
228    case M.CmBlock{x0, x1, x2, x3}:
229      M.CmBlock{L.lc.rotl27.bits(x0), x1, L.lc.rotl10.bits(x2), x3}

Uses (3)

Used by (4)