Commit 5515ceb8 authored by Niels Möller's avatar Niels Möller

* x86/machine.m4: Renamed AES_LAST_ROUND to AES_FINAL_ROUND.

Updated users.

Rev: src/nettle/x86/aes-decrypt.asm:1.9
Rev: src/nettle/x86/aes-encrypt.asm:1.15
Rev: src/nettle/x86/machine.m4:1.7
parent 8bd45c63
......@@ -90,16 +90,16 @@ aes_decrypt:
C last round
AES_LAST_ROUND(a,b,c,d)
AES_FINAL_ROUND(a,b,c,d)
pushl %edi
AES_LAST_ROUND(b,c,d,a)
AES_FINAL_ROUND(b,c,d,a)
pushl %edi
AES_LAST_ROUND(c,d,a,b)
AES_FINAL_ROUND(c,d,a,b)
pushl %edi
AES_LAST_ROUND(d,a,b,c)
AES_FINAL_ROUND(d,a,b,c)
movl %edi,%edx
popl %ecx
......
......@@ -95,16 +95,16 @@ aes_encrypt:
C last round
AES_LAST_ROUND(a,b,c,d)
AES_FINAL_ROUND(a,b,c,d)
pushl %edi
AES_LAST_ROUND(b,c,d,a)
AES_FINAL_ROUND(b,c,d,a)
pushl %edi
AES_LAST_ROUND(c,d,a,b)
AES_FINAL_ROUND(c,d,a,b)
pushl %edi
AES_LAST_ROUND(d,a,b,c)
AES_FINAL_ROUND(d,a,b,c)
movl %edi,%edx
popl %ecx
......
......@@ -50,10 +50,10 @@ define(<AES_ROUND>, <
andl <$>0x000003fc,%esi
xorl AES_TABLE3 + $1 (%esi),%edi>)dnl
dnl AES_LAST_ROUND(a, b, c, d)
dnl AES_FINAL_ROUND(a, b, c, d)
dnl Computes one word of the final round. Leaves result in %edi.
dnl Note that we have to quote $ in constants.
define(<AES_LAST_ROUND>, <
define(<AES_FINAL_ROUND>, <
C FIXME: Perform substitution on least significant byte here,
C to save work later.
movl %e<>$1<>x,%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