def Inv.value

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/curve25519/field.bend:139

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

139def Inv.value(+one: Nat, +h1: {one == 1n : Nat}, +a: List<&2, U32>, +ha: {tight(a) == True{} : Bool}) -> Type:
140  {Nat.mod(value(F.inv(a)), prime(one)) == finv(prime(one), value(a)) : Nat}

Uses (10)

Used by (1)