branches: 1.2.2;
authorDr. Stephen Henson <steve@openssl.org>
Sat, 7 Apr 2012 17:41:51 +0000 (17:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 7 Apr 2012 17:41:51 +0000 (17:41 +0000)
Correct some parameter values.
(backport from HEAD)

crypto/dh/dh_rfc5114.c

index 3d005ce5e8da597878438931029f4f68d784847d..ced7fce1a6795d87827324c94cdcabcb15a98d6e 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[] = {