mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/lib/libgcrypt/cipher/idea.c (mul_inv): Remove signed
divisions.
This commit is contained in:
1 parent
b9563c9451
commit
2dc1eb6cbf
2 files changed
+7
-2
No files matched your search
@@ -72,8 +72,8 @@ mul_inv( u16 x )
|
||||
|
||||
if( x < 2 )
|
||||
return x;
|
||||
t1 = 0x10001L / x;
|
||||
y = 0x10001L % x;
|
||||
t1 = 0x10001UL / x;
|
||||
y = 0x10001UL % x;
|
||||
if( y == 1 )
|
||||
return (1-t1) & 0xffff;
|
||||
|
||||
|
||||
Reference in new issue
Block a user