def sp.lt8

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

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

206def sp.lt8(s: M.CmBlock) -> M.CmBlock:
207  match s:
208    case M.CmBlock{x0, x1, x2, x3}:
209      M.CmBlock{L.lc.rotl5.bits(x0), x1, L.lc.rotl22.bits(x2), x3}

Uses (3)

Used by (4)