corrections to built-in curves
authorBodo Möller <bodo@openssl.org>
Mon, 11 Nov 2002 10:24:52 +0000 (10:24 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 11 Nov 2002 10:24:52 +0000 (10:24 +0000)
Submitted by: Nils Larsch

crypto/ec/ec_curve.c

index fbab387..cb77763 100644 (file)
@@ -726,11 +726,11 @@ static const unsigned char _EC_X9_62_CHAR2_163V1_SEED[] = {
        0xF4,0xD6,0x96,0xE6,0x76,0x87,0x56,0x15,0x17,0x54};
 static const EC_CURVE_DATA _EC_X9_62_CHAR2_163V1 = {
        NID_X9_62_characteristic_two_field,
-       "0800000000000000000000000000000000000000C9",
+       "080000000000000000000000000000000000000107",
        "072546B5435234A422E0789675F432C89435DE5242",
        "00C9517D06D5240D3CFF38C74B20B6CD4D6F9DD4D9",
        "07AF69989546103D79329FCC3D74880F33BBE803CB",
-       "0190C402D65BCC2B845337BC52352774E879B94B0D",
+       "01EC23211B5966ADEA1D3F87F7EA5848AEF0B7CA9F",
        "0400000000000000000001E60FC8821CC74DAEAFC1", 2,
        _EC_X9_62_CHAR2_163V1_SEED, 20,
        "163 bit binary curve from the X9.62 draft"
@@ -741,11 +741,11 @@ static const unsigned char _EC_X9_62_CHAR2_163V2_SEED[] = {
        0x87,0x56,0x15,0x17,0x58,0x0C,0xA4,0xE2,0x9F,0xFD};
 static const EC_CURVE_DATA _EC_X9_62_CHAR2_163V2 = {
        NID_X9_62_characteristic_two_field,
-       "0800000000000000000000000000000000000000C9",
+       "080000000000000000000000000000000000000107",
        "0108B39E77C4B108BED981ED0E890E117C511CF072",
        "0667ACEB38AF4E488C407433FFAE4F1C811638DF20",
        "0024266E4EB5106D0A964D92C4860E2671DB9B6CC5",
-       "01F64F1C0280E19A062003DBAECEAEDEC1CE141D41",
+       "079F684DDF6684C5CD258B3890021B2386DFD19FC5",
        "03FFFFFFFFFFFFFFFFFFFDF64DE1151ADBB78F10A7", 2,
        _EC_X9_62_CHAR2_163V2_SEED, 20,
        "163 bit binary curve from the X9.62 draft"
@@ -756,11 +756,11 @@ static const unsigned char _EC_X9_62_CHAR2_163V3_SEED[] = {
        0x68,0x75,0x61,0x51,0x75,0xF1,0x6A,0x36,0xA3,0xB8};
 static const EC_CURVE_DATA _EC_X9_62_CHAR2_163V3 = {
        NID_X9_62_characteristic_two_field,
-       "0800000000000000000000000000000000000000C9",
+       "080000000000000000000000000000000000000107",
        "07A526C63D3E25A256A007699F5447E32AE456B50E",
        "03F7061798EB99E238FD6F1BF95B48FEEB4854252B",
        "02F9F87B7C574D0BDECF8A22E6524775F98CDEBDCB",
-       "01D42417D750A363F61E455807D047059CA039ACFE",
+       "05B935590C155E17EA48EB3FF3718B893DF59A05D0",
        "03FFFFFFFFFFFFFFFFFFFE1AEE140F110AFF961309", 2,
        _EC_X9_62_CHAR2_163V3_SEED, 20,
        "163 bit binary curve from the X9.62 draft"