Commit 4eeb2497 authored by Niels Möller's avatar Niels Möller

* x86/aes-decrypt-internal.asm: Use ALIGN.

* x86/aes-encrypt-internal.asm: Likewise.
* x86/arcfour-crypt.asm: Likewise.
* x86/md5-compress.asm: Likewise.
* x86/sha1-compress.asm: Likewise.

Rev: src/nettle/x86/aes-decrypt-internal.asm:1.3
Rev: src/nettle/x86/aes-encrypt-internal.asm:1.4
Rev: src/nettle/x86/arcfour-crypt.asm:1.15
Rev: src/nettle/x86/md5-compress.asm:1.6
Rev: src/nettle/x86/sha1-compress.asm:1.13
parent b86fb579
......@@ -58,7 +58,7 @@ C %edi is a temporary, often used as an accumulator.
C unsigned length, uint8_t *dst,
C uint8_t *src)
.text
.align 16
ALIGN(4)
PROLOGUE(_nettle_aes_decrypt)
C save all registers that need to be saved
pushl %ebx C 20(%esp)
......@@ -90,7 +90,7 @@ PROLOGUE(_nettle_aes_decrypt)
addl $16,KEY C point to next key
movl KEY,FRAME_KEY
.align 16
ALIGN(4)
.Lround_loop:
AES_ROUND(T, SA,SD,SC,SB, TMP, KEY)
pushl TMP
......
......@@ -58,7 +58,7 @@ C %edi is a temporary, often used as an accumulator.
C unsigned length, uint8_t *dst,
C uint8_t *src)
.text
.align 16
ALIGN(4)
PROLOGUE(_nettle_aes_encrypt)
C save all registers that need to be saved
pushl %ebx C 20(%esp)
......@@ -90,7 +90,7 @@ PROLOGUE(_nettle_aes_encrypt)
addl $16,KEY C point to next key
movl KEY,FRAME_KEY
.align 16
ALIGN(4)
.Lround_loop:
AES_ROUND(T, SA,SB,SC,SD, TMP, KEY)
pushl TMP
......
......@@ -23,7 +23,7 @@ C MA 02111-1307, USA.
C unsigned length, uint8_t *dst,
C const uint8_t *src)
.text
.align 16
ALIGN(4)
PROLOGUE(nettle_arcfour_crypt)
C save all registers that need to be saved
pushl %ebx C 12(%esp)
......
......@@ -68,7 +68,7 @@ define(<ROUND>,<
C _nettle_md5_compress(uint32_t *state, uint8_t *data)
.text
.align 16
ALIGN(4)
PROLOGUE(_nettle_md5_compress)
C save all registers that need to be saved
......
......@@ -119,7 +119,7 @@ C adding, and then rotating back.
C _nettle_sha1_compress(uint32_t *state, uint8_t *data)
.text
.align 16
ALIGN(4)
PROLOGUE(_nettle_sha1_compress)
C save all registers that need to be saved
......
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