def read20
bend-collections@1.0.0.0 · src/crypto/keccak/keccak.bend:63
import bend-collections@1.0.0.0/src/crypto/keccak/keccak.bend as Keccak
import Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T
63def read20(+round_count: Nat,+index: U32, s: T.State, w0: U32, w1: U32, w2: U32, w3: U32, w4: U32, w5: U32, w6: U32, w7: U32, w8: U32, w9: U32, w10: U32, w11: U32, w12: U32, w13: U32, w14: U32, w15: U32, w16: U32, w17: U32, w18: U32, w19: U32, pair: Array<U32> & U32) -> Array<U32> & T.State:
64 (a,w20) = pair
65 read21(round_count,index,s,w0,w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11,w12,w13,w14,w15,w16,w17,w18,w19,w20,Array.get(U32,a,U32.add(index,21)))