def eq
import bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend as Fieldimport Base
303# a == b in the field
304def eq(+a: List<&2, U32>, +b: List<&2, U32>) -> Bool:
305 is_zero(sub(a, b))
Uses (5)
Used by (8)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/point:dec_y
- bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/point:equal
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/eqf:eq_val
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/pcodec:eq_rel
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/pcodec:equal_rel
- …