def sp.lt5

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

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

189def sp.lt5(s: M.CmBlock) -> M.CmBlock:
190  match s:
191    case M.CmBlock{x0, x1, x2, x3}:
192      M.CmBlock{x0, L.lc.rotl1.bits(x1), x2, L.lc.rotl7.bits(x3)}

Uses (3)

Used by (5)