summaryrefslogtreecommitdiff
path: root/x86_64/ecc-secp224r1-modp.asm
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2020-01-07 01:16:45 +0300
committerNiels Möller <nisse@lysator.liu.se>2020-01-10 20:18:08 +0100
commit0a5e2524909b5f7be602786da26685ab492bb7d6 (patch)
treef945c05b3e44db52f3fbf0221f4f36d588730e4d /x86_64/ecc-secp224r1-modp.asm
parent34fbd9910a779c7fb5bb7ccc07e4ae68ae35e997 (diff)
downloadnettle-0a5e2524909b5f7be602786da26685ab492bb7d6.tar.gz
ecc: rename functions to contain curve names instead of bits
Rename curve functions to use curve names instead of just bits. Otherwise function names can easily become confusing after adding other curves. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'x86_64/ecc-secp224r1-modp.asm')
-rw-r--r--x86_64/ecc-secp224r1-modp.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/x86_64/ecc-secp224r1-modp.asm b/x86_64/ecc-secp224r1-modp.asm
index e44b5418..dfa85a8d 100644
--- a/x86_64/ecc-secp224r1-modp.asm
+++ b/x86_64/ecc-secp224r1-modp.asm
@@ -44,8 +44,8 @@ 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)
+ C ecc_secp224r1_modp (const struct ecc_modulo *m, mp_limb_t *rp)
+PROLOGUE(_nettle_ecc_secp224r1_modp)
W64_ENTRY(2, 0)
mov 48(RP), H0
mov 56(RP), H1
@@ -128,4 +128,4 @@ PROLOGUE(_nettle_ecc_224_modp)
W64_EXIT(2, 0)
ret
-EPILOGUE(_nettle_ecc_224_modp)
+EPILOGUE(_nettle_ecc_secp224r1_modp)