def ge_p

bend-collections@1.0.0.0 · src/crypto/ed25519/point.bend:132

import bend-collections@1.0.0.0/src/crypto/ed25519/point.bend as Point
import Base
import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as F

132# y >= p: the carry of y + 2^256 - p is not 0
133def ge_p(+y: List<&2, U32>) -> Bool:
134  Bool.not(U32.is_eq(F.cr_out(F.carry(F.addl(y, F.comp_p()), 0)), 0))

Uses (9)

Used by (1)