From b3ffb2f0f86b09c3a7243cd31cd218f11d26a880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Wed, 15 May 2002 11:04:42 +0200 Subject: [PATCH] (aes_decrypt): Use _aes_decrypt_table instead of isbox. Rev: src/nettle/x86/aes.asm:1.10 --- x86/aes.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- GitLab