Dear all:
When executing my sample code, I got the message below:
error:0406B07A:lib(4):func(107):reason(122)
My question are:
1. after checking crypto/err/err.h
#define ERR_LIB_RSA 4
the error seems comes from RSA, but how can I find the code name
of func and reason?
2. is there any
On Mon, Jul 27, 2009, Neil Dugan wrote:
> Hi,
>
> I have been trying to read the keys generated by "openssl genrsa ..." and
> "openssl rsa -pubout ..." commands.
>
> I successfully (according to the return code) read the private key with
>
> if (in = BIO_new_file("rsakey.pem", "r")) {
> int
Hi,
I have been trying to read the keys generated by "openssl genrsa ..."
and "openssl rsa -pubout ..." commands.
I successfully (according to the return code) read the private key with
if (in = BIO_new_file("rsakey.pem", "r")) {
int ok;
printf ("Created private BIO\n");
Okay, forgive my ignorance, but isn't the most common way of signing
data simply taking a cryptographic hash (SHA-1, RIPEMD-160, WHIRLPOOL,
etc.) and then encrypting it with a public-key technology? By
definition, isn't any public-key technology (including RSA) guaranteed
to make it impossi