My soft is running well now...
Thx a lot Marek,
Best regards,
Florian MANACH a écrit :
The RSA_check_key doesn't core dump with the private key if I remove
the one with the public key.
I'll try to continue in this way and I'll let you know.
Thanks a lot,
Best regards,
Marek Marcola a écr
The RSA_check_key doesn't core dump with the private key if I remove the
one with the public key.
I'll try to continue in this way and I'll let you know.
Thanks a lot,
Best regards,
Marek Marcola a écrit :
Hello,
This functions return :
804b298 and 804b0d0
That seems to be a pointer o
Hello,
> This functions return :
>
> 804b298 and 804b0d0
>
> That seems to be a pointer on a RSA object and that seems to mean that there
> is no error.
Yes, this looks good, but after looking at documentation
for RSA_check_key() there is information that this function
checks integrity of all p
Hi Marek, thx for the answer
This functions return :
804b298 and 804b0d0
That seems to be a pointer on a RSA object and that seems to mean that there is
no error.
Regards,
--
Florian Manach
NUMLOG
[EMAIL PROTECTED]
(+33)0130791616
Marek Marcola a écrit :
Hello,
clefpub=d2i_RSA_
Hello,
>
> clefpub=d2i_RSA_PUBKEY(NULL,(const unsigned char**)&pub,62);
> clefpriv=d2i_RSAPrivateKey(NULL,(const unsigned char**)&priv,230);
> puts("Chargement des clés terminé");
You should check return code of this two functions, probably first
function returns NULL and in RSA_che
Hi,
I'm trying to encrypt and decrypt data using RSA.
In order to test, I generated a key pair using openssl rsa -outform DER
and I transformed it into a C array getting this :
unsigned char clepriv_der[] = {
0x30, 0x81, 0xab, 0x02, 0x01, 0x00, 0x02, 0x21, 0x00, 0xdb,
0x46, 0x81,