def rotl8

qasim-bend-kit@0.1.0.2 · libs/AES256GCMCore.bend:37

import qasim-bend-kit@0.1.0.2/libs/AES256GCMCore.bend as AES256GCMCore
import Base

37def rotl8(+a: U32, +shift: Nat) -> U32:
38    U32.and(255, U32.or(U32.shln(a, shift), U32.shrn(a, (8n - shift : Nat))))

Uses (7)

Used by (1)