Skip to content
Snippets Groups Projects
Commit b3ffb2f0 authored by Niels Möller's avatar Niels Möller
Browse files

(aes_decrypt): Use _aes_decrypt_table instead of isbox.

Rev: src/nettle/x86/aes.asm:1.10
parent 066f07bc
No related branches found
No related tags found
No related merge requests found
...@@ -245,22 +245,22 @@ aes_decrypt: ...@@ -245,22 +245,22 @@ aes_decrypt:
.Lisubst: .Lisubst:
movl %eax,%ebp movl %eax,%ebp
andl $0x000000ff,%ebp andl $0x000000ff,%ebp
movb isbox(%ebp),%al movb AES_SBOX + _aes_decrypt_table (%ebp),%al
roll $8,%eax roll $8,%eax
movl %ebx,%ebp movl %ebx,%ebp
andl $0x000000ff,%ebp andl $0x000000ff,%ebp
movb isbox(%ebp),%bl movb AES_SBOX + _aes_decrypt_table (%ebp),%bl
roll $8,%ebx roll $8,%ebx
movl %ecx,%ebp movl %ecx,%ebp
andl $0x000000ff,%ebp andl $0x000000ff,%ebp
movb isbox(%ebp),%cl movb AES_SBOX + _aes_decrypt_table (%ebp),%cl
roll $8,%ecx roll $8,%ecx
movl %edx,%ebp movl %edx,%ebp
andl $0x000000ff,%ebp andl $0x000000ff,%ebp
movb isbox(%ebp),%dl movb AES_SBOX + _aes_decrypt_table (%ebp),%dl
roll $8,%edx roll $8,%edx
decl %edi decl %edi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment