]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(aes_decrypt): Use _aes_decrypt_table instead of isbox.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 15 May 2002 09:04:42 +0000 (11:04 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 15 May 2002 09:04:42 +0000 (11:04 +0200)
Rev: src/nettle/x86/aes.asm:1.10

x86/aes.asm

index d7cc06b598e61ebc8d3ac807d00aeddf381e79dc..25aed23931ad2c54a265b8aab05cbf71214164c3 100644 (file)
@@ -245,22 +245,22 @@ aes_decrypt:
 .Lisubst:
        movl    %eax,%ebp
        andl    $0x000000ff,%ebp
-       movb    isbox(%ebp),%al
+       movb    AES_SBOX + _aes_decrypt_table (%ebp),%al
        roll    $8,%eax
 
        movl    %ebx,%ebp
        andl    $0x000000ff,%ebp
-       movb    isbox(%ebp),%bl
+       movb    AES_SBOX + _aes_decrypt_table (%ebp),%bl
        roll    $8,%ebx
 
        movl    %ecx,%ebp
        andl    $0x000000ff,%ebp
-       movb    isbox(%ebp),%cl
+       movb    AES_SBOX + _aes_decrypt_table (%ebp),%cl
        roll    $8,%ecx
 
        movl    %edx,%ebp
        andl    $0x000000ff,%ebp
-       movb    isbox(%ebp),%dl
+       movb    AES_SBOX + _aes_decrypt_table (%ebp),%dl
        roll    $8,%edx
 
        decl    %edi