mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Use Bash arithmetic operators
This commit is contained in:
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
Block a user