mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:25:52 +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
2 changed files with 4 additions and 4 deletions
|
@ -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 ? */
|
/* power of two ? */
|
||||||
if (s_is_power_of_two(b, &ix) == 1) {
|
if (s_is_power_of_two(b, &ix)) {
|
||||||
if (d != NULL) {
|
if (d != NULL) {
|
||||||
*d = a->dp[0] & ((((mp_digit)1)<<ix) - 1);
|
*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;
|
dr = 0;
|
||||||
|
|
||||||
/* if the modulus is odd or dr != 0 use the fast method */
|
/* if the modulus is odd use the fast method */
|
||||||
if (mp_isodd (P) == 1 || dr != 0) {
|
if (mp_isodd (P) == 1) {
|
||||||
return mp_exptmod_fast (G, X, P, Y, dr);
|
return mp_exptmod_fast (G, X, P, Y, dr);
|
||||||
} else {
|
} else {
|
||||||
/* otherwise use the generic Barrett reduction technique */
|
/* 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/riched32 # Synced to WineStaging-1.7.37
|
||||||
reactos/dll/win32/rpcrt4 # Synced to Wine-1.7.17
|
reactos/dll/win32/rpcrt4 # Synced to Wine-1.7.17
|
||||||
reactos/dll/win32/rsabase # Synced to WineStaging-1.7.37
|
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/sccbase # Synced to WineStaging-1.7.37
|
||||||
reactos/dll/win32/schannel # 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
|
reactos/dll/win32/scrrun # Synced to WineStaging-1.7.37
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue