-
This is giving me the error: eddsa.PublicKey to big.Int not supported The error makes sense to me, however, I cant think of a way to assert if public keys are equal. |
Beta Was this translation helpful? Give feedback.
Answered by
ivokub
Mar 5, 2024
Replies: 1 comment
-
type PublicKey struct {
A twistededwards.Point
} and type twistededwards.Point struct {
X, Y frontend.Variable
} You need to verify the equality of points a la |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
drakstik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eddsa.PublicKey
isand
You need to verify the equality of points a la
api.AssertIsEqual(key1.A.X, key2.A.X)
etc