Fix self-test.
authorBen Laurie <ben@openssl.org>
Wed, 28 Apr 2004 10:20:03 +0000 (10:20 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 28 Apr 2004 10:20:03 +0000 (10:20 +0000)
fips/rsa/fingerprint.sha1
fips/rsa/fips_rsa_gen.c

index 725b61ee5b2a1543dd18ff1aaf3e67dd87abf93b..74ed0c9404578e953978681ba988c7e870b4d2b5 100644 (file)
@@ -1,3 +1,3 @@
 HMAC-SHA1(fips_rsa_eay.c)= 3808fed15de958768052db96ff710699ca9afd92
-HMAC-SHA1(fips_rsa_gen.c)= 5b15b72cad8cc28cc49e0eeca4f3ba14de815d33
+HMAC-SHA1(fips_rsa_gen.c)= f0c9424afae306f47aa8f941c80d51d5612896e3
 HMAC-SHA1(fips_rsa_selftest.c)= af5b9c9a0237b2219f375849a5b2311d786e711b
index a99bcae5560a0c3148f541a1c3a2325c395d8cd2..a38023d86ced2513ab1a341c73993d28ecb953d9 100644 (file)
@@ -72,6 +72,10 @@ static int fips_check_rsa(RSA *rsa)
     unsigned char ctext[256];
     unsigned char ptext[256];
     static unsigned char original_ptext[] =
+       "\x01\x23\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0"
+       "\x23\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12"
+       "\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34"
+       "\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56"
        "\x01\x23\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0"
        "\x23\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12"
        "\x45\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34"