Blame SOURCES/libgcrypt-1.7.3-ecc-test-fix.patch

5bcc82
diff -up libgcrypt-1.7.3/tests/benchmark.c.eccfix libgcrypt-1.7.3/tests/benchmark.c
5bcc82
--- libgcrypt-1.7.3/tests/benchmark.c.eccfix	2016-07-14 11:19:17.000000000 +0200
5bcc82
+++ libgcrypt-1.7.3/tests/benchmark.c	2016-11-22 16:21:00.109004197 +0100
5bcc82
@@ -1412,7 +1412,7 @@ ecc_bench (int iterations, int print_hea
5bcc82
 {
5bcc82
 #if USE_ECC
5bcc82
   gpg_error_t err;
5bcc82
-  const char *p_sizes[] = { "192", "224", "256", "384", "521", "Ed25519",
5bcc82
+  const char *p_sizes[] = { "224", "256", "384", "521", "Ed25519",
5bcc82
               "gost256", "gost512" };
5bcc82
   int testno;
5bcc82
 
5bcc82
diff -up libgcrypt-1.7.3/tests/dsa-rfc6979.c.eccfix libgcrypt-1.7.3/tests/dsa-rfc6979.c
5bcc82
--- libgcrypt-1.7.3/tests/dsa-rfc6979.c.eccfix	2016-02-18 09:38:03.000000000 +0100
5bcc82
+++ libgcrypt-1.7.3/tests/dsa-rfc6979.c	2016-11-22 16:22:11.804674008 +0100
5bcc82
@@ -210,16 +210,6 @@ check_dsa_rfc6979 (void)
5bcc82
       " ))"
5bcc82
     },
5bcc82
     {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "(private-key"
5bcc82
-      " (ecdsa"
5bcc82
-      " (curve \"NIST P-192\")"
5bcc82
-      " (q #04AC2C77F529F91689FEA0EA5EFEC7F210D8EEA0B9E047ED56"
5bcc82
-      "       3BC723E57670BD4887EBC732C523063D0A7C957BC97C1C43#)"
5bcc82
-      " (d #6FAB034934E4C0FC9AE67F5B5659A9D7D1FEFD187EE09FD4#)"
5bcc82
-      " ))"
5bcc82
-    },
5bcc82
-    {
5bcc82
       "ECDSA, 224 bits (prime field)",
5bcc82
       "(private-key"
5bcc82
       " (ecdsa"
5bcc82
@@ -443,89 +433,6 @@ check_dsa_rfc6979 (void)
5bcc82
       "C9F0BDABCC0D880BB137A994CC7F3980CE91CC10FAF529FC46565B15CEA854E1"
5bcc82
     },
5bcc82
     {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-1, message = \"sample\"",
5bcc82
-      "sha1", "sample",
5bcc82
-      "37D7CA00D2C7B0E5E412AC03BD44BA837FDD5B28CD3B0021",
5bcc82
-      "98C6BD12B23EAF5E2A2045132086BE3EB8EBD62ABF6698FF",
5bcc82
-      "57A22B07DEA9530F8DE9471B1DC6624472E8E2844BC25B64"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-224, message = \"sample\"",
5bcc82
-      "sha224", "sample",
5bcc82
-      "4381526B3FC1E7128F202E194505592F01D5FF4C5AF015D8",
5bcc82
-      "A1F00DAD97AEEC91C95585F36200C65F3C01812AA60378F5",
5bcc82
-      "E07EC1304C7C6C9DEBBE980B9692668F81D4DE7922A0F97A"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-256, message = \"sample\"",
5bcc82
-      "sha256", "sample",
5bcc82
-      "32B1B6D7D42A05CB449065727A84804FB1A3E34D8F261496",
5bcc82
-      "4B0B8CE98A92866A2820E20AA6B75B56382E0F9BFD5ECB55",
5bcc82
-      "CCDB006926EA9565CBADC840829D8C384E06DE1F1E381B85"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-384, message = \"sample\"",
5bcc82
-      "sha384", "sample",
5bcc82
-      "4730005C4FCB01834C063A7B6760096DBE284B8252EF4311",
5bcc82
-      "DA63BF0B9ABCF948FBB1E9167F136145F7A20426DCC287D5",
5bcc82
-      "C3AA2C960972BD7A2003A57E1C4C77F0578F8AE95E31EC5E"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-512, message = \"sample\"",
5bcc82
-      "sha512", "sample",
5bcc82
-      "A2AC7AB055E4F20692D49209544C203A7D1F2C0BFBC75DB1",
5bcc82
-      "4D60C5AB1996BD848343B31C00850205E2EA6922DAC2E4B8",
5bcc82
-      "3F6E837448F027A1BF4B34E796E32A811CBB4050908D8F67"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-1, message = \"test\"",
5bcc82
-      "sha1", "test",
5bcc82
-      "D9CF9C3D3297D3260773A1DA7418DB5537AB8DD93DE7FA25",
5bcc82
-      "0F2141A0EBBC44D2E1AF90A50EBCFCE5E197B3B7D4DE036D",
5bcc82
-      "EB18BC9E1F3D7387500CB99CF5F7C157070A8961E38700B7"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-224, message = \"test\"",
5bcc82
-      "sha224", "test",
5bcc82
-      "F5DC805F76EF851800700CCE82E7B98D8911B7D510059FBE",
5bcc82
-      "6945A1C1D1B2206B8145548F633BB61CEF04891BAF26ED34",
5bcc82
-      "B7FB7FDFC339C0B9BD61A9F5A8EAF9BE58FC5CBA2CB15293"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-256, message = \"test\"",
5bcc82
-      "sha256", "test",
5bcc82
-      "5C4CE89CF56D9E7C77C8585339B006B97B5F0680B4306C6C",
5bcc82
-      "3A718BD8B4926C3B52EE6BBE67EF79B18CB6EB62B1AD97AE",
5bcc82
-      "5662E6848A4A19B1F1AE2F72ACD4B8BBE50F1EAC65D9124F"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-384, message = \"test\"",
5bcc82
-      "sha384", "test",
5bcc82
-      "5AFEFB5D3393261B828DB6C91FBC68C230727B030C975693",
5bcc82
-      "B234B60B4DB75A733E19280A7A6034BD6B1EE88AF5332367",
5bcc82
-      "7994090B2D59BB782BE57E74A44C9A1C700413F8ABEFE77A"
5bcc82
-    },
5bcc82
-    {
5bcc82
-      "ECDSA, 192 bits (prime field)",
5bcc82
-      "With SHA-512, message = \"test\"",
5bcc82
-      "sha512", "test",
5bcc82
-      "0758753A5254759C7CFBAD2E2D9B0792EEE44136C9480527",
5bcc82
-      "FE4F4AE86A58B6507946715934FE2D8FF9D95B6B098FE739",
5bcc82
-      "74CF5605C98FBA0E1EF34D4B5A1577A7DCF59457CAE52290"
5bcc82
-    },
5bcc82
-
5bcc82
-
5bcc82
-
5bcc82
-    {
5bcc82
       "ECDSA, 224 bits (prime field)",
5bcc82
       "With SHA-1, message = \"sample\"",
5bcc82
       "sha1", "sample",