Hkdf.cr.hkdf.salt: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/hkdf.bend as Hkdf Lines 13-18 of bend-osdev-crypto@0.1.0.0/hkdf.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/hkdf.bend&start_line=13&end_line=18 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B def cr.hkdf.salt(empty: Bool, +n: Nat, +salt: B.Octets) -> B.Octets: match empty: case True{}: B.Octets.zeros(n) case False{}: salt Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.zeros