Marcus Hoffmann <[email protected]> writes:

> 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.

Note that the URL is somewhat broken, it doesn't work with javascript
disabled.

> Signed-off-by: Marcus Hoffmann <[email protected]>
> ---
>  arm/ecc-521-modp.asm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arm/ecc-521-modp.asm b/arm/ecc-521-modp.asm
> index c311a89..3fba239 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

Applied. Thanks!

/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to