X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fed25519%2Fge.c;h=87c691bff55d66e591c1fb3c2bdf87a4efee200d;hb=2a7a656ad099a6d29699fad80703ed15a8a96a69;hp=3c342b1d2126619ecd1eb2e0ec0509c46199b082;hpb=56ca6f187bb01507d1588e4de25eeefaea1b4c3f;p=meshlink-tiny diff --git a/src/ed25519/ge.c b/src/ed25519/ge.c index 3c342b1..87c691b 100644 --- a/src/ed25519/ge.c +++ b/src/ed25519/ge.c @@ -346,7 +346,7 @@ static unsigned char negative(signed char b) { return (unsigned char) x; } -static void cmov(ge_precomp *t, ge_precomp *u, unsigned char b) { +static void cmov(ge_precomp *t, const ge_precomp *u, unsigned char b) { fe_cmov(t->yplusx, u->yplusx, b); fe_cmov(t->yminusx, u->yminusx, b); fe_cmov(t->xy2d, u->xy2d, b);