[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openssl-gost] [gost-engine/engine] 243302: [test] ECC: KATs for the curves in RFC4357 and RFC...
Branch: refs/heads/openssl_1_1_1
Home: https://github.com/gost-engine/engine
Commit: 2433023ec9603378ba0ee4f5e55c33f7fb035e5a
https://github.com/gost-engine/engine/commit/2433023ec9603378ba0ee4f5e55c33f7fb035e5a
Author: Billy Brumley <bbrumley@gmail.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M test/04-pkey.t
Log Message:
-----------
[test] ECC: KATs for the curves in RFC4357 and RFC7836
* Tests that gost-engine correctly computes the public key from the
private key. (Twice -- Alice and Bob.)
* Tests that gost-engine correctly computes the derived shared key.
(Twice -- Alice and Bob, should be identical.)
(cherry picked from commit 95dd55b1152cc51bbd50d5eb09b459840971d68d)
Commit: 7c58f014e86f6014e8be53623b7dccef2124df78
https://github.com/gost-engine/engine/commit/7c58f014e86f6014e8be53623b7dccef2124df78
Author: Billy Brumley <bbrumley@gmail.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M gost_ec_keyx.c
M test/04-pkey.t
Log Message:
-----------
GOST key agreement cofactor fix (#265)
* GOST key agreement cofactor fix
(cherry picked from commit dbc8f4780fa78d66a68174f78f9ae9aa9cdad53c)
Commit: c43ce313a786fc16c60b0ce5782af29ff8b6d622
https://github.com/gost-engine/engine/commit/c43ce313a786fc16c60b0ce5782af29ff8b6d622
Author: Billy Brumley <bbrumley@gmail.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M CMakeLists.txt
A ecp_id_GostR3410_2001_CryptoPro_A_ParamSet.c
A ecp_id_GostR3410_2001_CryptoPro_B_ParamSet.c
A ecp_id_GostR3410_2001_CryptoPro_C_ParamSet.c
A ecp_id_GostR3410_2001_TestParamSet.c
A ecp_id_tc26_gost_3410_2012_256_paramSetA.c
A ecp_id_tc26_gost_3410_2012_512_paramSetA.c
A ecp_id_tc26_gost_3410_2012_512_paramSetB.c
A ecp_id_tc26_gost_3410_2012_512_paramSetC.c
M gost_ec_keyx.c
M gost_ec_sign.c
M gost_lcl.h
Log Message:
-----------
GOST ECC optimizations (#263)
Standalone EC implementations from ECCKiila.
https://gitlab.com/nisec/ecckiila
(cherry picked from commit bc346202fbb3bc838a19af8c3b0e449926589c7b)
Commit: 6c625485700a7c883066ab76b5e07c7464611636
https://github.com/gost-engine/engine/commit/6c625485700a7c883066ab76b5e07c7464611636
Author: Billy Brumley <bbrumley@gmail.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M ecp_id_GostR3410_2001_CryptoPro_A_ParamSet.c
M ecp_id_GostR3410_2001_CryptoPro_B_ParamSet.c
M ecp_id_GostR3410_2001_CryptoPro_C_ParamSet.c
M ecp_id_GostR3410_2001_TestParamSet.c
M ecp_id_tc26_gost_3410_2012_256_paramSetA.c
M ecp_id_tc26_gost_3410_2012_512_paramSetA.c
M ecp_id_tc26_gost_3410_2012_512_paramSetB.c
M ecp_id_tc26_gost_3410_2012_512_paramSetC.c
Log Message:
-----------
GOST EC armv7 aarch64 fixes
char defaults to signed on x86/x64, but unsigned on ARM.
(cherry picked from commit 409a1c2b76ac1d783bef6d35542e338d3777b5ac)
Commit: dc80c109e5d121f906bbf8a77d4646fbf990fe32
https://github.com/gost-engine/engine/commit/dc80c109e5d121f906bbf8a77d4646fbf990fe32
Author: Billy Brumley <bbrumley@gmail.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M ecp_id_tc26_gost_3410_2012_256_paramSetA.c
M ecp_id_tc26_gost_3410_2012_512_paramSetC.c
Log Message:
-----------
Edwards map fix
ECCKiila Changes from
https://gitlab.com/nisec/ecckiila/-/issues/2
https://gitlab.com/nisec/ecckiila/-/commit/7445ecabef77965743e0ae8d39d7433b07820be6
* X3 -> X1
* eliminate a temp variable
X3 = X1 as pointers is the reason this was still passing unit tests.
But that might not hold in future versions of ECCKiila, so fix it now.
(cherry picked from commit 259301a5adf2ef51b8f380b27fcead313669206e)
Compare: https://github.com/gost-engine/engine/compare/2433023ec960%5E...dc80c109e5d1