Hkdf.okm: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/hkdf.bend as Hkdf Lines 37-39 of bend-collections@1.0.0.0/spec/crypto/hkdf.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/hkdf.bend&start_line=37&end_line=39 import Base # OKM = the first L octets of T = T(1) | T(2) | ... | T(N). def okm(+prk: List<&2, U32>, +info: List<&2, U32>, +len: Nat) -> List<&2, U32>: List.take(&2, U32, t_blocks(block_count(len), prk, info, Nil{}, 0n), len) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.take https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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/spec/crypto/hkdf.bend&name=block_count https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/hkdf.bend&name=t_blocks