def rol14

bend-collections-laws-crypto@1.0.0.0 · src/crypto/keccak/lane.bend:65

import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend as Lane
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as T

65def rol14(a: T.Lane) -> T.Lane:
66  match a:
67    case T.W{+lo,+hi}:
68      T.W{U32.or(U32.shln(lo,14n),U32.shrn(hi,18n)),U32.or(U32.shln(hi,14n),U32.shrn(lo,18n))}

Uses (4)

Used by (2)