From: Niels Möller Date: Wed, 15 May 2002 09:04:42 +0000 (+0200) Subject: (aes_decrypt): Use _aes_decrypt_table instead of isbox. X-Git-Tag: nettle_1.6_release_20021003~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ffb2f0f86b09c3a7243cd31cd218f11d26a880;p=thirdparty%2Fnettle.git (aes_decrypt): Use _aes_decrypt_table instead of isbox. Rev: src/nettle/x86/aes.asm:1.10 --- diff --git a/x86/aes.asm b/x86/aes.asm index d7cc06b5..25aed239 100644 --- a/x86/aes.asm +++ b/x86/aes.asm @@ -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