mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[RSAENH] Sync with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68497
This commit is contained in:
parent
b6bf232f18
commit
786aa41d34
|
@ -1783,7 +1783,7 @@ static int mp_div_d (const mp_int * a, mp_digit b, mp_int * c, mp_digit * d)
|
|||
}
|
||||
|
||||
/* power of two ? */
|
||||
if (s_is_power_of_two(b, &ix) == 1) {
|
||||
if (s_is_power_of_two(b, &ix)) {
|
||||
if (d != NULL) {
|
||||
*d = a->dp[0] & ((((mp_digit)1)<<ix) - 1);
|
||||
}
|
||||
|
@ -1955,8 +1955,8 @@ int mp_exptmod (const mp_int * G, const mp_int * X, mp_int * P, mp_int * Y)
|
|||
|
||||
dr = 0;
|
||||
|
||||
/* if the modulus is odd or dr != 0 use the fast method */
|
||||
if (mp_isodd (P) == 1 || dr != 0) {
|
||||
/* if the modulus is odd use the fast method */
|
||||
if (mp_isodd (P) == 1) {
|
||||
return mp_exptmod_fast (G, X, P, Y, dr);
|
||||
} else {
|
||||
/* otherwise use the generic Barrett reduction technique */
|
||||
|
|
|
@ -168,7 +168,7 @@ reactos/dll/win32/riched20 # Synced to WineStaging-1.7.47
|
|||
reactos/dll/win32/riched32 # Synced to WineStaging-1.7.37
|
||||
reactos/dll/win32/rpcrt4 # Synced to Wine-1.7.17
|
||||
reactos/dll/win32/rsabase # Synced to WineStaging-1.7.37
|
||||
reactos/dll/win32/rsaenh # Synced to WineStaging-1.7.37
|
||||
reactos/dll/win32/rsaenh # Synced to WineStaging-1.7.47
|
||||
reactos/dll/win32/sccbase # Synced to WineStaging-1.7.37
|
||||
reactos/dll/win32/schannel # Synced to WineStaging-1.7.37
|
||||
reactos/dll/win32/scrrun # Synced to WineStaging-1.7.37
|
||||
|
|
Loading…
Reference in a new issue