def cam.h

bend-osdev-legacy-ciphers@0.1.0.0 · camellia.bend:233

import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Camellia
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

233# the high and the low 64 bits of q <<< n
234def cam.h(q: M.CmBlock, +n: Nat) -> L.LcBlock64:
235  cam.top(cam.rol(q, n))

Uses (5)

Used by (2)