def rol62

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

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

150def rol62(a: T.Lane) -> T.Lane:
151  match a:
152    case T.W{+lo,+hi}:
153      T.W{U32.or(U32.shln(hi,30n),U32.shrn(lo,2n)),U32.or(U32.shln(lo,30n),U32.shrn(hi,2n))}

Uses (4)

Used by (2)