Kex.shared_of: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/kex.bend as Kex Lines 58-63 of bend-collections@1.0.0.0/src/crypto/kex.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/kex.bend&start_line=58&end_line=63 import Base import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as F def shared_of(m: Maybe<&2, List<&2, U32>>) -> Maybe<&2, List<&2, U32>>: match m: case None{}: None{} case Some{+ss}: nonzero(ss, U32.is_eq(F.sum_all(ss, 0), 0)) 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=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/curve25519/field.bend&name=sum_all https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/kex.bend&name=nonzero