]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Move NID_id_tc26_gost_3410_2012_256_paramSetA to 256-bit
authorNikolay Morozov <nmorozoff77@yandex.ru>
Tue, 4 Feb 2020 11:54:36 +0000 (14:54 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Wed, 5 Feb 2020 15:51:28 +0000 (18:51 +0300)
gost_params.c

index b5684b6bad465045029d2810a41383d994179246..9f9806e1962b1890d513c690cdc101c5aea5c250 100644 (file)
@@ -82,6 +82,25 @@ R3410_ec_params R3410_2001_paramset[] = {
      "41ECE55743711A8C3CBF3783CD08C0EE4D4DC440D4641A8F366E550DFDB3BB67",
      "1"}
     ,
+    /*
+     * 1.2.643.7.1.2.1.1.1 Edvards
+     */
+    {NID_id_tc26_gost_3410_2012_256_paramSetA,
+     /* a */
+     "C2173F1513981673AF4892C23035A27CE25E2013BF95AA33B22C656F277E7335",
+     /* b */
+     "295F9BAE7428ED9CCC20E7C359A9D41A22FCCD9108E17BF7BA9337A6F8AE9513",
+     /* p */
+     "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97",
+     /* q */
+     "400000000000000000000000000000000FD8CDDFC87B6635C115AF556C360C67",
+     /* x */
+     "91E38443A5E82C0D880923425712B2BB658B9196932E02C78B2582FE742DAA28",
+     /* y */
+     "32879423AB1A0375895786C4BB46E9565FDE0B5344766740AF268ADB32322E5C",
+     /* cofactor */
+     "4"}
+    ,
     {NID_undef, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
 };
 
@@ -150,21 +169,6 @@ R3410_ec_params R3410_2012_512_paramset[] = {
      "DCB228FD1EDF4A39152CBCAAF8C0398828041055F94CEEEC7E21340780FE41BD",
      "1"}
     ,
-    {NID_id_tc26_gost_3410_2012_256_paramSetA,
-     /* a */
-     "C2173F1513981673AF4892C23035A27CE25E2013BF95AA33B22C656F277E7335",
-     /* b */
-     "295F9BAE7428ED9CCC20E7C359A9D41A22FCCD9108E17BF7BA9337A6F8AE9513",
-     /* p */
-     "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97",
-     /* q */
-     "400000000000000000000000000000000FD8CDDFC87B6635C115AF556C360C67",
-     /* x */
-     "91E38443A5E82C0D880923425712B2BB658B9196932E02C78B2582FE742DAA28",
-     /* y */
-     "32879423AB1A0375895786C4BB46E9565FDE0B5344766740AF268ADB32322E5C",
-     "4"}
-    ,
     {NID_id_tc26_gost_3410_2012_512_paramSetC,
      /* a */
      "DC9203E514A721875485A529D2C722FB187BC8980EB866644DE41C68E1430645"