def csub
import bend-collections@1.0.0.0/src/crypto/ed25519/scalar.bend as Scalarimport Base
import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as F
29# x - L when x >= L, else x (x tight, x < 2 L)
30def csub(+x: List<&2, U32>) -> List<&2, U32>:
31 F.csub_fin(F.carry(F.addl(x, comp_l()), 0), x)