Use Bash arithmetic operators

This commit is contained in:
Jeffrey Walton 2019-08-11 14:54:14 -04:00
parent 11c5d14f85
commit 247418eec0
3 changed files with 1607 additions and 1604 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -230,7 +230,7 @@ ECP::Point AdditionFunction::operator()(const ECP::Point& P) const
return R;
}
else if (m_alpha == A_Star)
{
{
// Gyrations attempt to maintain constant-timeness
// We need either (P.x, P.y, 1) or (0, 1, 0).
const Integer x = P.x * IdentityToInteger(!P.identity);