diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-16 15:38:15 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-16 15:38:15 +0200 |
commit | 081483815557570dee6009ae46d66ed43a42c407 (patch) | |
tree | a89311be413620bff1645ac4ded75c2e29bfafa5 /x86_64/salsa20-crypt.asm | |
parent | e1646357a32fc37f98c9c54e6cdabee12dd50119 (diff) | |
download | nettle-081483815557570dee6009ae46d66ed43a42c407.tar.gz |
Switch to non-logarithmic ALIGN macro.
Diffstat (limited to 'x86_64/salsa20-crypt.asm')
-rw-r--r-- | x86_64/salsa20-crypt.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64/salsa20-crypt.asm b/x86_64/salsa20-crypt.asm index 5d119804..25b7e497 100644 --- a/x86_64/salsa20-crypt.asm +++ b/x86_64/salsa20-crypt.asm @@ -50,7 +50,7 @@ C registers. C salsa20_crypt(struct salsa20_ctx *ctx, unsigned length, C uint8_t *dst, const uint8_t *src) .text - ALIGN(4) + ALIGN(16) PROLOGUE(nettle_salsa20_crypt) W64_ENTRY(4, 9) @@ -92,7 +92,7 @@ PROLOGUE(nettle_salsa20_crypt) SWAP(X0, X2, M0011) movl $10, XREG(COUNT) - ALIGN(4) + ALIGN(16) .Loop: QROUND(X0, X1, X2, X3) C For the row operations, we first rotate the rows, to get |