Use Bash arithmetic operators
parent
11c5d14f85
commit
247418eec0
File diff suppressed because it is too large
Load Diff
1444
cryptest.sh
1444
cryptest.sh
File diff suppressed because it is too large
Load Diff
2
ecp.cpp
2
ecp.cpp
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue