Thank you Martin. I have tried using the function, however using the
code I have pasted below I get the error "Error = oaep decoding error"
when trying to unpadd to retrieve the original data.
For simplicity the code I have added here does not encrypt/decrypt, but
only attempts to pad and unpadd.
Hello,
On Thu, Sep 10, 2009 at 08:34:56AM +0200, Einar Thorsrud wrote:
> > I do not find any possibility to add the label to the
> > RSA_public_encrypt() function, but it could perhaps be achieved
> > otherwise?
>
> Could the label perhaps be related to the *p parameter in
>
> int RSA_padding_a
on., 09.09.2009 kl. 10.25 +0200, skrev Einar Thorsrud:
> I do not find any possibility to add the label to the
> RSA_public_encrypt() function, but it could perhaps be achieved
> otherwise?
Could the label perhaps be related to the *p parameter in
int RSA_padding_add_PKCS1_OAEP(unsigned char *to,
Hi all,
How is it possible to RSA OAEP encrypt using a label in addition to the
public encryption key and the message width libcrypto? The operation
would be that of RSAES-OAEP-ENCRYPT((n, e), M, L), as specified in the
RSA Cryptography Standard version 2.1.
I do not find any possibility to add