def rol27

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

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

95def rol27(a: T.Lane) -> T.Lane:
96  match a:
97    case T.W{+lo,+hi}:
98      T.W{U32.or(U32.shln(lo,27n),U32.shrn(hi,5n)),U32.or(U32.shln(hi,27n),U32.shrn(lo,5n))}

Uses (4)

Used by (2)