diff options
author | Marcus Hoffmann <m.hoffmann@cartelsol.com> | 2017-02-28 19:56:40 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2017-03-09 22:13:30 +0100 |
commit | cc792a0a4458e056586bc868e84fbafa11de3ff4 (patch) | |
tree | 5d714dee43b8582dabcad4e791c9daf99f3c0db7 /arm | |
parent | 336575810f333323cb3c3bc48be2241874a5ee1a (diff) | |
download | nettle-cc792a0a4458e056586bc868e84fbafa11de3ff4.tar.gz |
Make nettle compile with pre-UAL arm assembler.
See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0204j/Cjagjjbc.html
The pre-UAL instruction is also accepted by modern assemblers.
Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Diffstat (limited to 'arm')
-rw-r--r-- | arm/ecc-521-modp.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm/ecc-521-modp.asm b/arm/ecc-521-modp.asm index c311a891..3fba2396 100644 --- a/arm/ecc-521-modp.asm +++ b/arm/ecc-521-modp.asm @@ -91,7 +91,7 @@ PROLOGUE(nettle_ecc_521_modp) adcs F0, F0, F3, lsr #9 C Copy low 9 bits to H, then shift right including carry and H, F0, T0 - rrx F0, F0 + mov F0, F0, rrx lsr F0, F0, #8 C Add in F1 = rp[33], with weight 2^1056 = 2^14 adds F0, F0, F1, lsl #14 |