def rol10

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

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

60def rol10(a: T.Lane) -> T.Lane:
61  match a:
62    case T.W{+lo,+hi}:
63      T.W{U32.or(U32.shln(lo,10n),U32.shrn(hi,22n)),U32.or(U32.shln(hi,10n),U32.shrn(lo,22n))}

Uses (4)

Used by (2)