Commit 8343bcfb authored by Ben Laurie's avatar Ben Laurie
Browse files

Fix self-test.

parent 8435dc4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
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
+4 −0
Original line number Diff line number Diff line
@@ -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"