RE: RSA sign and verify

2013-03-14 Thread Leon Brits
Just a view more questions: In my existing code, I used the EVP_SignInit/Update/Final calls. I did not set the padding so the default (RSASSA_PKCS1.5) was always used. So now, to set the padding, I've added the code as mentioned after the EVP_SignInit() and before the first EVP_SignUpdate().

[openssl.org #3017] [PATCH] Added missing documentation and usage help on -CRLfile

2013-03-14 Thread Claes Jakobsson via RT
Hi, openssl verify takes the -CRLfile switch to specify a file with CRLs. However this isn't documented nor does -h show the switch. The attached patch adds some rudimentary docs in the POD as well as adds it to -h. Best Regards, Claes Jakobsson

EVP and Elliptic curve

2013-03-14 Thread Leon Brits
Hi List, I just want to verify: Elliptic curve functions are not encapsulated by the EVP functions - correct? If so, what is the EVP_PKEY_CTX_set_ec_paramgen_curve_nid function then used for? If NOT so, then please help with an example since I could only find the normal EC_{KEY,GROUP}* type of

Re: RSA sign and verify

2013-03-14 Thread Dr. Stephen Henson
On Thu, Mar 14, 2013, Leon Brits wrote: Just a view more questions: In my existing code, I used the EVP_SignInit/Update/Final calls. I did not set the padding so the default (RSASSA_PKCS1.5) was always used. So now, to set the padding, I've added the code as mentioned after the

Re: EVP and Elliptic curve

2013-03-14 Thread Dr. Stephen Henson
On Thu, Mar 14, 2013, Leon Brits wrote: Hi List, I just want to verify: Elliptic curve functions are not encapsulated by the EVP functions - correct? If so, what is the EVP_PKEY_CTX_set_ec_paramgen_curve_nid function then used for? If NOT so, then please help with an example since I

Re: EVP and Elliptic curve

2013-03-14 Thread Matt Caswell
On Thu, Mar 14, 2013, Leon Brits wrote: Hi List, I just want to verify: Elliptic curve functions are not encapsulated by the EVP functions - correct? If so, what is the EVP_PKEY_CTX_set_ec_paramgen_curve_nid function then used for? If NOT so, then please help with an example