hi i installed the openssl-fips 1.2 in opensuse kernel 2.6.25.5-1.1-default Opensuse version 11.1. i try to run the following code . i got the illegal instruction .. and i need to knoe i installed the fips 1.2 fully..
GDB out of my code 27 FIPS_mode_set(1); (gdb) 31 strcpy(msg,"This is dapta ia bull shit why its not working to my program any give ne reason"); (gdb) 35 FILE *myfile = fopen("mykey_backup.pem", "rb"); (gdb) 37 RSA *rsa = PEM_read_RSAPrivateKey(myfile,NULL, NULL, NULL); //reading key values from the file (gdb) 39 signature = (unsigned char*) malloc(RSA_size(rsa)); (gdb) 41 if(RSA_sign(NID_sha256,(const unsigned char *)msg,strlen(msg),signature,&i,rsa)) (gdb) 42 printf("signed\n"); (gdb) signed 47 fclose(myfile); (gdb) 52 myfile = fopen("mykey_backup.pem", "rb"); (gdb) 53 strcpy(msg,"This is dapta ia bull shit why its not working to my program any give ne reason"); (gdb) 55 RSA *rsa1 = PEM_read_RSA_PUBKEY(myfile,NULL,NULL,NULL); (gdb) Program received signal SIGILL, Illegal instruction. 0x00007fff8b39d350 in PEM_read_RSA_PUBKEY () from /usr/lib64/libcrypto.so.0.9.8 Current language: auto; currently asm (gdb) -- View this message in context: http://old.nabble.com/PEM_read_PublicKey-API-gives-illegal-instruction..-tp32503879p32503879.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org