Created
June 24, 2020 01:41
-
-
Save caloni/2e093cd93c4627601be65821d2372c17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 56f510... (tag: 1.49) | |
Author: caloni <caloni@desenv06x> | |
Date: Mon Apr 21 03:26:50 2008 -0300 | |
Corrigido bug na encriptacao por Blowfish em assembly. | |
O problema ocorria por causa da inversao desnecessaria do iv, e existia | |
apenas na funcao de encriptacao (escritas no disco), funcionando | |
normalmente, portanto, na desencriptacao (leituras no disco). | |
Esse bug provavelmente afetava somente boots de sistemas que tentavam | |
escrever no disco antes de entrar o driver. | |
- xor 4[si], eax | |
+ xor [si] eax | |
add bx, #4 | |
seg es | |
mov eax, [bx] | |
- xor [si], eax | |
+ xor 4[si], eax | |
... | |
- xchg eax, 4[si] | |
- bswap eax | |
mov [si], eax | |
+ mov eax, 4[si] | |
+ bswap eax | |
+ mov 4[si], eax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment