Commit fce23774 authored by Niels Möller's avatar Niels Möller

Fix syntax error in ARM offset addressing. Spotted by Jukka Ukkonen.

parent a434246b
2015-04-29 Niels Möller <nisse@lysator.liu.se>
* arm/v6/sha256-compress.asm: Fix syntax error in offset
addressing. Spotted by Jukka Ukkonen.
* arm/v6/aes-decrypt-internal.asm: Drop %-prefix on r12 register.
* arm/v6/aes-encrypt-internal.asm: Likewise.
......
......@@ -126,7 +126,7 @@ define(<NOEXPN>, <
PROLOGUE(_nettle_sha256_compress)
push {r4,r5,r6,r7,r8,r10,r11,r14}
sub sp, sp, #68
str STATE, [sp, +#64]
str STATE, [sp, #+64]
C Load data up front, since we don't have enough registers
C to load and shift on-the-fly
......@@ -199,7 +199,7 @@ PROLOGUE(_nettle_sha256_compress)
EXPN(15) ROUND(SB,SC,SD,SE,SF,SG,SH,SA)
bne .Loop2
ldr STATE, [sp, +#64]
ldr STATE, [sp, #+64]
C No longer needed registers
ldm STATE, {r1,r2,r12,r14}
add SA, SA, r1
......
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