diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2020-01-07 01:16:45 +0300 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-01-10 20:18:08 +0100 |
commit | 0a5e2524909b5f7be602786da26685ab492bb7d6 (patch) | |
tree | f945c05b3e44db52f3fbf0221f4f36d588730e4d /arm/ecc-secp384r1-modp.asm | |
parent | 34fbd9910a779c7fb5bb7ccc07e4ae68ae35e997 (diff) | |
download | nettle-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 'arm/ecc-secp384r1-modp.asm')
-rw-r--r-- | arm/ecc-secp384r1-modp.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm/ecc-secp384r1-modp.asm b/arm/ecc-secp384r1-modp.asm index dd9a325b..1983ee68 100644 --- a/arm/ecc-secp384r1-modp.asm +++ b/arm/ecc-secp384r1-modp.asm @@ -46,11 +46,11 @@ define(<F4>, <r10>) define(<N>, <r12>) define(<H>, <lr>) - C ecc_384_modp (const struct ecc_modulo *m, mp_limb_t *rp) + C ecc_secp384r1_modp (const struct ecc_modulo *m, mp_limb_t *rp) .text .align 2 -PROLOGUE(_nettle_ecc_384_modp) +PROLOGUE(_nettle_ecc_secp384r1_modp) push {r4,r5,r6,r7,r8,r10,lr} add RP, RP, #80 @@ -267,4 +267,4 @@ PROLOGUE(_nettle_ecc_384_modp) adcs T3, T3, H stm RP!, {T0,T1,T2,T3} C 8-11 pop {r4,r5,r6,r7,r8,r10,pc} -EPILOGUE(_nettle_ecc_384_modp) +EPILOGUE(_nettle_ecc_secp384r1_modp) |