Sorry for the incomplete message...
So using the below code:
plainTextSize = RSA_size(rsaKey);
plainText = (unsigned char *)calloc(plainTextSize, sizeof(unsigned
char));
decryptedBytes = RSA_private_decrypt(secretSize, secret, plainText,
rsaKey, RSA_PKCS1_PADDING);
the rsaKey is the
Am 03.11.2012 15:26, schrieb Frediano Ziglio:
Hi,
I'm searching for a way to pass a TLS session between two programs
under Unix. I can use unix sockets to send the file descriptor but I
don't know how to request to OpenSSL crypto information (like
algorithm used and key) in order to pass to th
I have a tool that is creating a cert using X509_sign. I noticed that there
are no EVP_MD structs that handle ECDSA properly and found this thread from a
while back.
So if the digest passed to X509_sign doesn't indicate the signature algorithm
to use, it appears that the proper value needs to
On Mon, Nov 05, 2012, Erik Tkal wrote:
> I have a tool that is creating a cert using X509_sign. I noticed that there
> are no EVP_MD structs that handle ECDSA properly and found this thread from
> a while back.
>
What version of OpenSSL is this for?
For OpenSSL 1.0.0 and later you just pass th