Commit 08148381 authored by Niels Möller's avatar Niels Möller
Browse files

Switch to non-logarithmic ALIGN macro.

parent e1646357
...@@ -114,7 +114,7 @@ define(<NOEXPN>, < ...@@ -114,7 +114,7 @@ define(<NOEXPN>, <
C _nettle_sha512_compress(uint64_t *state, const uint8_t *input, const uint64_t *k) C _nettle_sha512_compress(uint64_t *state, const uint8_t *input, const uint64_t *k)
.text .text
ALIGN(4) ALIGN(16)
PROLOGUE(_nettle_sha512_compress) PROLOGUE(_nettle_sha512_compress)
W64_ENTRY(3, 0) W64_ENTRY(3, 0)
...@@ -137,7 +137,7 @@ PROLOGUE(_nettle_sha512_compress) ...@@ -137,7 +137,7 @@ PROLOGUE(_nettle_sha512_compress)
mov 48(STATE), SG mov 48(STATE), SG
mov 56(STATE), SH mov 56(STATE), SH
xor COUNT, COUNT xor COUNT, COUNT
ALIGN(4) ALIGN(16)
.Loop1: .Loop1:
NOEXPN(0) ROUND(SA,SB,SC,SD,SE,SF,SG,SH,0) NOEXPN(0) ROUND(SA,SB,SC,SD,SE,SF,SG,SH,0)
......
...@@ -49,7 +49,7 @@ C aligned. ...@@ -49,7 +49,7 @@ C aligned.
C umac_nh_n(uint64_t *out, unsigned n, const uint32_t *key, C umac_nh_n(uint64_t *out, unsigned n, const uint32_t *key,
C unsigned length, const uint8_t *msg) C unsigned length, const uint8_t *msg)
.text .text
ALIGN(4) ALIGN(16)
PROLOGUE(_nettle_umac_nh_n) PROLOGUE(_nettle_umac_nh_n)
W64_ENTRY(5, 14) W64_ENTRY(5, 14)
pxor XY0, XY0 pxor XY0, XY0
......
...@@ -36,7 +36,7 @@ C aligned. ...@@ -36,7 +36,7 @@ C aligned.
C umac_nh(const uint32_t *key, unsigned length, const uint8_t *msg) C umac_nh(const uint32_t *key, unsigned length, const uint8_t *msg)
.text .text
ALIGN(4) ALIGN(16)
PROLOGUE(_nettle_umac_nh) PROLOGUE(_nettle_umac_nh)
W64_ENTRY(3, 7) W64_ENTRY(3, 7)
pxor XY, XY pxor XY, XY
......
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