def rol25

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

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

90def rol25(a: T.Lane) -> T.Lane:
91  match a:
92    case T.W{+lo,+hi}:
93      T.W{U32.or(U32.shln(lo,25n),U32.shrn(hi,7n)),U32.or(U32.shln(hi,25n),U32.shrn(lo,7n))}

Uses (4)

Used by (2)