Correct some parameter values.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 1 Dec 2011 17:26:58 +0000 (17:26 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 1 Dec 2011 17:26:58 +0000 (17:26 +0000)
crypto/dh/dh_rfc5114.c

index 3d005ce..ced7fce 100644 (file)
@@ -80,7 +80,7 @@ static const BN_ULONG dh1024_160_g[] = {
        0xA4D1CBD5C3FD3412ULL
 };
 static const BN_ULONG dh1024_160_q[] = {
-       0x0000000049462353ULL,0x8ABA4E7D64B7CB9DULL,0xF518AA8781A8DF27ULL
+       0x64B7CB9D49462353ULL,0x81A8DF278ABA4E7DULL,0x00000000F518AA87ULL
 };
 
 static const BN_ULONG dh2048_224_p[] = {
@@ -110,8 +110,8 @@ static const BN_ULONG dh2048_224_g[] = {
        0x9DF30B5C8FFDAC50ULL,0xAC4032EF4F2D9AE3ULL
 };
 static const BN_ULONG dh2048_224_q[] = {
-       0x00000000B36371EBULL,0x4738CEBCBF389A99ULL,0x997177101F80535AULL,
-       0x801C0D34C58D93FEULL
+       0xBF389A99B36371EBULL,0x1F80535A4738CEBCULL,0xC58D93FE99717710ULL,
+       0x00000000801C0D34ULL
 };
 
 static const BN_ULONG dh2048_256_p[] = {