Commit b3ffb2f0 authored by Niels Möller's avatar Niels Möller

(aes_decrypt): Use _aes_decrypt_table instead of isbox.

Rev: src/nettle/x86/aes.asm:1.10
parent 066f07bc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment