Merge pull request #5287

1d14b3f0 ringct: fix capitalization for scaler mult (fuwa)
This commit is contained in:
Riccardo Spagni 2019-04-01 17:19:32 +02:00
commit 7ec799c542
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -408,10 +408,10 @@ namespace rct {
return res; return res;
} }
//Computes aL where L is the curve order //Computes lA where l is the curve order
bool isInMainSubgroup(const key & a) { bool isInMainSubgroup(const key & A) {
ge_p3 p3; ge_p3 p3;
return toPointCheckOrder(&p3, a.bytes); return toPointCheckOrder(&p3, A.bytes);
} }
//Curve addition / subtractions //Curve addition / subtractions