def is_zero

bend-collections@1.0.0.0 · src/crypto/curve25519/field.bend:299

import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as Field
import Base

299# x == 0 in the field: every byte of the canonical form is 0
300def is_zero(+x: List<&2, U32>) -> Bool:
301  U32.is_eq(sum_all(freeze(x), 0), 0)

Uses (6)

Used by (2)