Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-10-01 Thread Tomas Mraz
very much, > > Diego Gonzalez > - > - >   > > -Original Message- > From: Tomas Mraz > Sent: Friday, September 30, 2022 1:22 AM > To: GonzalezVillalobos, Diego ; > openssl-users@openssl.org > Subject: Re: Updating RSA public key generation and signature >

RE: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-30 Thread GonzalezVillalobos, Diego via openssl-users
Subject: Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0 Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hi, unfortunately I do not see anything wrong with the code. Does

RE: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-30 Thread Michael Wojcik via openssl-users
> From: openssl-users On Behalf Of Tomas > Mraz > Sent: Friday, 30 September, 2022 00:22 > > unfortunately I do not see anything wrong with the code. Does the > EVP_DigestVerifyFinal return 0 or negative value? I do not think this > is a bug in OpenSSL as this API is thoroughly tested and it is h

Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-29 Thread Tomas Mraz
ret == 0) { >     cout << "EC Verify digest fails" << endl; >     break; >         } else if (ret < 0) { >     printf("Failed Final Verify > %s\n",ERR_error_string(ERR_get_error(),NULL)); &

RE: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-29 Thread GonzalezVillalobos, Diego via openssl-users
that, it is the same. Could it be a bug? Thank you, Diego Gonzalez --   -Original Message- From: Tomas Mraz Sent: Thursday, September 29, 2022 1:12 AM To: Gon

Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-28 Thread Tomas Mraz
Hi, comments below. On Wed, 2022-09-28 at 22:12 +, GonzalezVillalobos, Diego wrote: > [AMD Official Use Only - General] > > Hello Tomas, > > I generated the key as you suggested, and I am no longer getting an > error message! Thank you for that. Here is how I'm generating the key > now: >

RE: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-28 Thread GonzalezVillalobos, Diego via openssl-users
break; } found_match = true; cout << "SEV EC verification Succesful" << endl; Could it be because I'm creating a ECDSA SIG object and then turning it into a der format to verify? Again, suggestions would

Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-22 Thread Tomas Mraz
y); // Make a local key so you > can free it later >     if (ECDSA_do_verify(sha_digest, (uint32_t)sha_length, > tmp_ecdsa_sig, tmp_ec_key) != 1) { >     EC_KEY_free(tmp_ec_key); >             ECDSA_SIG_free(tmp_ecdsa_sig);  // Frees > BIGNUMs too

RE: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-22 Thread GonzalezVillalobos, Diego via openssl-users
} found_match = true; EC_KEY_free(tmp_ec_key); ECDSA_SIG_free(tmp_ecdsa_sig); // Frees BIGNUMs too break; } /*Verification successful*/ This is my current attempt for public key generation and verification: Generati

Re: Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-09 Thread Tomas Mraz
On Thu, 2022-09-08 at 16:10 +, GonzalezVillalobos, Diego via openssl-users wrote: > [AMD Official Use Only - General] > > Hello everyone, >   > I am currently working on updating a signature verification function > in C++ and I am a bit stuck. I am trying to replace the deprecated > 1.1.1 func

Updating RSA public key generation and signature verification from 1.1.1 to 3.0

2022-09-08 Thread GonzalezVillalobos, Diego via openssl-users
[AMD Official Use Only - General] Hello everyone, I am currently working on updating a signature verification function in C++ and I am a bit stuck. I am trying to replace the deprecated 1.1.1 functions to the appropriate 3.0 versions. The function takes in 2 certificate objects (parent and cer

Re: Public Key generation.

2009-07-17 Thread Akos Vandra
eration? >> >> Thanks. >> -- >> View this message in context: >> http://www.nabble.com/RE%3A-Public-Key-generation.-tp24506389p24506389.html >> Sent from the OpenSSL - User mailing list archive at Nabble.com. >> _

Re: Public Key generation.

2009-07-16 Thread So Gerald
ntext: > http://www.nabble.com/RE%3A-Public-Key-generation.-tp24506389p24506389.html > Sent from the OpenSSL - User mailing list archive at Nabble.com. > __ > OpenSSL Project http://w

RE: Public Key generation.

2009-07-16 Thread sdc186
Hello Everyone, I am using openssl 0.9.8g. Can anybody tell me how to generate public key in openssl. Which command should I use for the generation? Thanks. -- View this message in context: http://www.nabble.com/RE%3A-Public-Key-generation.-tp24506389p24506389.html Sent from the OpenSSL

EVP public key generation

2001-10-19 Thread Juan Segarra
Is it possible to generate a public/private key directly using EVP?? When I want an RSA key i do the next: main() { RSA *RSA_key; EVP_PKEY *EVP_key; RSA_key = RSA_generate_key( ... ); EVP_key = EVP_PKEY_new(); EVP_PKEY_assign_RSA (EVP_key, RSA

Re: Public key generation

2000-11-27 Thread Massimiliano Pala
Deepak Taneja wrote: > > Hello , >Anybody can tell me that which algo is used to generate > client public and private key.? Usually RSA with md5, anyway you can try the DSA as well. C'you, Massimiliano Pala ([EMAIL PROTECTED]) S/MIME Cryptographic Signature