def is_zero
import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as Fieldimport 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)
import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as Fieldimport 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)