def words
import bend-collections@1.0.0.0/src/crypto/argon2/sub.bend as Subimport Base
import bend-collections@1.0.0.0/src/crypto/argon2/types.bend as A
15# The 256 words of a block, row after row.
16def words(b: A.Block) -> List<&2,U32>:
17 match b:
18 case A.B{r0,r1,r2,r3,r4,r5,r6,r7}:
19 app(row_words(r0),app(row_words(r1),app(row_words(r2),app(row_words(r3),app(row_words(r4),app(row_words(r5),app(row_words(r6),app(row_words(r7),Nil{}))))))))