Timeout Engine OpenSSL

2012-08-21 Thread Rick Lopes de Souza
Hi, I have some doubt about the Engine OpenSSL. If i load it, does it have a timeout to unload the engine? For example, I want to make a webservice that may use the openssl any time, so i need to load the engine and let it loaded all the time. Thanks for your atention, -- Rick Lopes de Souza

Re: EC_KEY_new_by_curve_name returns NULL

2012-05-22 Thread Rick Lopes de Souza
, > I got a problem with > EC_KEY_new_by_curve_name: it always return NULL. Here is how I used it: > EC_KEY *eckey = EC_KEY_new_by_curve_name(NID_ecdsa_with_SHA256); > If(eckey == NULL) > { > printf("ERROR: NULL ECKEY!\r\n"); > } > Do you happen to know the reas

Re: ECDH

2012-05-15 Thread Rick Lopes de Souza
h), point, > > POINT_CONVERSION_COMPRESSED, pubkey, ECDH_SIZE, NULL); with a NULL value. > > The program exists and gives no segFAULT or any erros messages. > > > > Any suggestions? > > > > Thanks, > > > > -- > > Fabio Resner. > __ > OpenSSL Project http://www.openssl.org > User Support Mailing Listopenssl-users@openssl.org > Automated List Manager majord...@openssl.org > -- Rick Lopes de Souza

Format to use RSA and ECDSA

2012-01-03 Thread Rick Lopes de Souza
Hi, I have some doubts about the formats that openssl use with ECDSA and RSA. I know that openssl implemments PKCS#1 and PKCS#8 to RSA, but ECDSA only uses PKCS#8 ? And PKCS#13 ? Thanks, -- Rick Lopes de Souza

Differences between RSA and ECDSA - Conceptual and Practical

2011-10-08 Thread Rick Lopes de Souza
es it has the same features? I know it doesn't needs the hash algorithm, but the message needs to be smaller than the size of the key? ECDSA signs a message with any size? Example: an ecdsa key with 192 bits signing a hash sha 512. It could be signed or it is wrong? Thanks, -- Rick Lopes de Souza

Re: Req with ECDSA key and CA with RSA key

2011-08-30 Thread Rick Lopes de Souza
AM, Rick Lopes de Souza wrote: > Maybe it's a simple question, but i want to know if there is any problem > that i have a request using a ECDSA key with SHA-256 and i want to issue a > certificate where the CA uses RSA with SHA 1. > > In some tests, a ECDSA with sha1 and a CA w

Req with ECDSA key and CA with RSA key

2011-08-30 Thread Rick Lopes de Souza
ertificate Authority has? Thanks, -- Rick Lopes de Souza

Problems with stack_st_X509_EXTENSION

2011-08-22 Thread Rick Lopes de Souza
es without errors. Can anyone help me? -- Rick Lopes de Souza