Argon2.area_base: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/argon2/argon2.bend as Argon2 Lines 169-175 of bend-collections-laws-crypto@1.0.0.0/src/crypto/argon2/argon2.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/argon2/argon2.bend&start_line=169&end_line=175 import Base # |W|, the number of blocks the reference may be drawn from. def area_base(r0: Bool, +s: Nat, +sl: Nat, +q: Nat) -> Nat: match r0: case True{}: Nat.mul(s, sl) case False{}: Nat.sub(q, sl) 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=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub