diff options
author | Ben Laurie <ben@openssl.org> | 2004-04-28 10:20:03 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2004-04-28 10:20:03 +0000 |
commit | 8343bcfb2b6262e8481ed23f78c9b08b35e7f078 (patch) | |
tree | 02002058352f52af1f4fbf7e361aeaae69acec68 | |
parent | 8435dc4e8d381701a60c34a1259b6c6d163c40a3 (diff) |
Fix self-test.
-rw-r--r-- | fips/rsa/fingerprint.sha1 | 2 | ||||
-rw-r--r-- | fips/rsa/fips_rsa_gen.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/fips/rsa/fingerprint.sha1 b/fips/rsa/fingerprint.sha1 index 725b61ee5b..74ed0c9404 100644 --- a/fips/rsa/fingerprint.sha1 +++ b/fips/rsa/fingerprint.sha1 @@ -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 diff --git a/fips/rsa/fips_rsa_gen.c b/fips/rsa/fips_rsa_gen.c index a99bcae556..a38023d86c 100644 --- a/fips/rsa/fips_rsa_gen.c +++ b/fips/rsa/fips_rsa_gen.c @@ -75,6 +75,10 @@ static int fips_check_rsa(RSA *rsa) "\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" "\x67\x89\xab\xcd\xef\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56"; n=RSA_public_encrypt(sizeof(original_ptext)-1,original_ptext,ctext,rsa, |