def rol55

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

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

135def rol55(a: T.Lane) -> T.Lane:
136  match a:
137    case T.W{+lo,+hi}:
138      T.W{U32.or(U32.shln(hi,23n),U32.shrn(lo,9n)),U32.or(U32.shln(lo,23n),U32.shrn(hi,9n))}

Uses (4)

Used by (2)