Aes.expand_key: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/aes/aes.bend as Aes Lines 170-173 of bend-collections@1.0.0.0/src/crypto/aes/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&start_line=170&end_line=173 import Base # A 16-, 24- or 32-byte key (AES-128, AES-192, AES-256); None otherwise. def expand_key(+key: List<&2, U32>) -> Maybe<&2, Schedule>: +n = List.length(&2, U32, key) schedule_if(valid_length(n), Nat.div(n, 4n), key) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&name=Schedule https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&name=schedule_if https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&name=valid_length