[PATCH v2 1/3] ecc: rename source files with curves data

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov In preparation to adding GOST curves support, rename source files and use curve name as eccdata parameter. Signed-off-by: Dmitry Eremin-Solenikov --- .gitignore| 14 ++--- Makefile.in | 54

[PATCH v2 2/3] ecc: prefix optimized ECC function names with underscore

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov There is no need to keep optimized ECC functions in public namespace (nettle_*), move them to internal namespace (_nettle_*). Signed-off-by: Dmitry Eremin-Solenikov --- arm/ecc-secp192r1-modp.asm | 4 ++-- arm/ecc-secp224r1-modp.asm | 4 ++--

[PATCH v2 3/3] ecc: rename functions to contain curve names instead of bits

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov 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 --- arm/ecc-secp192r1-modp.asm | 6 +++--- arm/ecc-secp224r1-modp.asm |

[PATCH 3/3] ecc: rename functions to contain curve names instead of bits

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov 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 --- arm/ecc-secp192r1-modp.asm | 6 +++--- arm/ecc-secp224r1-modp.asm |

[PATCH 1/3] ecc: rename source files with curves data

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov In preparation to adding GOST curves support, rename source files and use curve name as eccdata parameter. Signed-off-by: Dmitry Eremin-Solenikov --- .gitignore| 14 ++--- Makefile.in | 54

[PATCH 2/3] ecc: prefix optimized ECC function names with underscore

2019-12-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov There is no need to keep optimized ECC functions in public namespace (nettle_*), move them to internal namespace (_nettle_*). Signed-off-by: Dmitry Eremin-Solenikov --- arm/ecc-secp192r1-modp.asm | 4 ++-- arm/ecc-secp224r1-modp.asm | 4 ++--