Re: [PATCH v2 2/2] gost: populate params tables with new curves

2020-03-29 Thread Dmitry Baryshkov
Hello, вс, 29 мар. 2020 г. в 06:03, Kinichiro Inoguchi : > > Hi, > I have 2 questions. > > In GostR3410_512_params[], "A" and "TCA" have the same NID, "B" and "TCB" too. > I thought these were redundant, but are there any reasons for this ? Compatibility with OpenSSL's gost engine, which uses

Re: [PATCH v2 2/2] gost: populate params tables with new curves

2020-03-28 Thread Kinichiro Inoguchi
Hi, I have 2 questions. In GostR3410_512_params[], "A" and "TCA" have the same NID, "B" and "TCB" too. I thought these were redundant, but are there any reasons for this ? In GostR3410_512_params[], don't you need the record for NID_id_tc26_gost_3410_12_512_paramSetTest ? Best regards, On

[PATCH v2 2/2] gost: populate params tables with new curves

2020-03-28 Thread Dmitry Baryshkov
Allow users to specify new curves via strings. Sponsored by ROSA Linux Signed-off-by: Dmitry Baryshkov --- src/lib/libcrypto/gost/gostr341001_params.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/lib/libcrypto/gost/gostr341001_params.c