Commit 89742b68 authored by Niels Möller's avatar Niels Möller

Comment updates.

parent 0b511c91
......@@ -33,7 +33,7 @@ ifelse(<
.file "ecc-192-modp.asm"
.arm
define(<HP>, <r0>) C Overlaps unused ecc argument
define(<HP>, <r0>) C Overlaps unused modulo argument
define(<RP>, <r1>)
define(<T0>, <r2>)
......@@ -49,7 +49,7 @@ define(<H1>, <T1>)
define(<C2>, <HP>)
define(<C4>, <r12>)
C ecc_192_modp (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_192_modp (const struct ecc_modulo *m, mp_limb_t *rp)
.text
.align 2
......
......@@ -34,7 +34,7 @@ ifelse(<
.arm
define(<RP>, <r1>)
define(<H>, <r0>) C Overlaps unused ecc argument
define(<H>, <r0>) C Overlaps unused modulo argument
define(<T0>, <r2>)
define(<T1>, <r3>)
......@@ -48,7 +48,7 @@ define(<L0>, <r11>)
define(<L1>, <r12>)
define(<L2>, <lr>)
C ecc_224_modp (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_224_modp (const struct ecc_modulo *m, mp_limb_t *rp)
.text
.align 2
......
......@@ -35,7 +35,7 @@ ifelse(<
define(<RP>, <r1>)
define(<T0>, <r0>) C Overlaps unused ecc argument
define(<T0>, <r0>) C Overlaps unused modulo argument
define(<T1>, <r2>)
define(<T2>, <r3>)
define(<T3>, <r4>)
......@@ -48,7 +48,7 @@ define(<F1>, <r11>)
define(<F2>, <r12>)
define(<F3>, <lr>)
C ecc_256_redc (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_256_redc (const struct ecc_modulo *m, mp_limb_t *rp)
.text
.align 2
......
......@@ -46,7 +46,7 @@ define(<F4>, <r10>)
define(<N>, <r12>)
define(<H>, <lr>)
C ecc_384_modp (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_384_modp (const struct ecc_modulo *m, mp_limb_t *rp)
.text
.align 2
......
......@@ -45,7 +45,7 @@ define(<F3>, <r8>)
define(<H>, <r12>)
define(<N>, <lr>)
C ecc_521_modp (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_521_modp (const struct ecc_modulo *m, mp_limb_t *rp)
.text
.Lc511:
.int 511
......
......@@ -33,7 +33,7 @@ ifelse(<
.file "ecc-192-modp.asm"
define(<RP>, <%rsi>)
define(<T0>, <%rdi>) C Overlaps unused ecc input
define(<T0>, <%rdi>) C Overlaps unused modulo input
define(<T1>, <%rcx>)
define(<T2>, <%rdx>)
define(<T3>, <%r8>)
......@@ -41,7 +41,7 @@ define(<H>, <%r9>)
define(<C1>, <%r10>)
define(<C2>, <%r11>)
C ecc_192_modp (const struct ecc_curve *ecc, mp_limb_t *rp)
C ecc_192_modp (const struct ecc_modulo *m, mp_limb_t *rp)
.text
ALIGN(16)
PROLOGUE(nettle_ecc_192_modp)
......
......@@ -33,7 +33,7 @@ ifelse(<
.file "ecc-224-modp.asm"
define(<RP>, <%rsi>)
define(<T0>, <%rdi>) C Overlaps unused ecc input
define(<T0>, <%rdi>) C Overlaps unused modulo input
define(<T1>, <%rcx>)
define(<H0>, <%rax>)
define(<H1>, <%rdx>)
......@@ -42,6 +42,7 @@ define(<F0>, <%r9>)
define(<F1>, <%r10>)
define(<F2>, <%r11>)
C ecc_224_modp (const struct ecc_modulo *m, mp_limb_t *rp)
PROLOGUE(nettle_ecc_224_modp)
W64_ENTRY(2, 0)
mov 48(RP), H0
......
......@@ -33,7 +33,7 @@ ifelse(<
.file "ecc-25519-modp.asm"
define(<RP>, <%rsi>)
define(<U0>, <%rdi>) C Overlaps unused ecc input
define(<U0>, <%rdi>) C Overlaps unused modulo input
define(<U1>, <%rcx>)
define(<U2>, <%r8>)
define(<U3>, <%r9>)
......
......@@ -33,7 +33,7 @@ ifelse(<
.file "ecc-256-redc.asm"
define(<RP>, <%rsi>)
define(<U0>, <%rdi>) C Overlaps unused ecc input
define(<U0>, <%rdi>) C Overlaps unused modulo input
define(<U1>, <%rcx>)
define(<U2>, <%rax>)
define(<U3>, <%rdx>)
......
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