From 4eeb2497ab18ef0c40d67527c3987cbe6a0473cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Wed, 26 Apr 2006 22:08:13 +0200 Subject: [PATCH] * 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 --- x86/aes-decrypt-internal.asm | 4 ++-- x86/aes-encrypt-internal.asm | 4 ++-- x86/arcfour-crypt.asm | 2 +- x86/md5-compress.asm | 2 +- x86/sha1-compress.asm | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/x86/aes-decrypt-internal.asm b/x86/aes-decrypt-internal.asm index 90a49768..f97fa093 100644 --- a/x86/aes-decrypt-internal.asm +++ b/x86/aes-decrypt-internal.asm @@ -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 diff --git a/x86/aes-encrypt-internal.asm b/x86/aes-encrypt-internal.asm index 33e4570c..8fe041f0 100644 --- a/x86/aes-encrypt-internal.asm +++ b/x86/aes-encrypt-internal.asm @@ -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 diff --git a/x86/arcfour-crypt.asm b/x86/arcfour-crypt.asm index 5c87ff8c..8bf04539 100644 --- a/x86/arcfour-crypt.asm +++ b/x86/arcfour-crypt.asm @@ -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) diff --git a/x86/md5-compress.asm b/x86/md5-compress.asm index 58d9b979..96647543 100644 --- a/x86/md5-compress.asm +++ b/x86/md5-compress.asm @@ -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 diff --git a/x86/sha1-compress.asm b/x86/sha1-compress.asm index b37ace37..a155fab1 100644 --- a/x86/sha1-compress.asm +++ b/x86/sha1-compress.asm @@ -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 -- GitLab