Re: [PATCH 1/2] Change ecc_mod_*mul_1 to be per-module callbacks

2020-05-08 Thread Dmitry Baryshkov
Hello, вс, 16 февр. 2020 г. в 00:00, : > > From: Dmitry Baryshkov > > GOST curves will require different "fixups" for fast (mul X mod p) > operations. Move these operations to ecc_modulo structure and call them > via function pointer. These two patches were postponed till 3.6 release. Any

[PATCH 1/2] Change ecc_mod_*mul_1 to be per-module callbacks

2020-02-15 Thread dbaryshkov
From: Dmitry Baryshkov GOST curves will require different "fixups" for fast (mul X mod p) operations. Move these operations to ecc_modulo structure and call them via function pointer. Signed-off-by: Dmitry Baryshkov --- ecc-add-jja.c | 8 ecc-add-jjj.c | 8

Re: [PATCH 1/2] Change ecc_mod_*mul_1 to be per-module callbacks

2020-01-28 Thread Niels Möller
dbarysh...@gmail.com writes: > GOST curves will require different "fixups" for fast (mul X mod p) > operations. Move these operations to ecc_modulo structure and call them > via function pointer. It looks like ecc_mod_addmul_1 is used only by ecc-mul-m.c, used only for curve25519 and curve448.

[PATCH 1/2] Change ecc_mod_*mul_1 to be per-module callbacks

2020-01-27 Thread dbaryshkov
From: Dmitry Baryshkov GOST curves will require different "fixups" for fast (mul X mod p) operations. Move these operations to ecc_modulo structure and call them via function pointer. Signed-off-by: Dmitry Baryshkov --- ecc-curve25519.c | 8 ecc-curve448.c| 8