RE: [EXTERNAL] Re: Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

2021-10-27 Thread Paramashivaiah, Sunil
Matt Caswell Sent: Monday, October 25, 2021 3:03 PM To: Paramashivaiah, Sunil ; openssl-users@openssl.org Cc: Kumar Mishra, Sanjeev Subject: Re: [EXTERNAL] Re: Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0 Caveat: I've not tested or compiled the following...but so

RE: [EXTERNAL] Re: Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

2021-10-25 Thread Paramashivaiah, Sunil
_ecPublicKey: { ecGrpId = EC_GROUP_get_curve_name(evpKey->pkey.ec->group); /* some code follows*/ Thanks and Regards, Sunil -Original Message- From: Matt Caswell Sent: Monday, October 25, 2021 2:23 PM To: Paramashivaiah, Sunil ; openssl-users@o

Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

2021-10-24 Thread Paramashivaiah, Sunil
Hi All, I need get APIs for accessing the members of EVP_PKEY. Please suggest APIs to get following members of EVP_PKEY evpkey->type , evpkey->pkey.rsa , pubKey->pkey.ec->group. Thanks and Regards, Sunil Notice: This e-mail together with any attachments may contain information of

Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

2021-10-21 Thread Paramashivaiah, Sunil
Hi All, Please let me know how I can replace the below 1.0.2 code to 3.0 SSL_SESSION data; SSL_SESSION *ret=NULL; data.ssl_version = sessVersion; data.session_id_length= sessIdLen; memcpy(data.session_id, sessId, sessIdLen); CRYPTO_r_lock(CRYPTO_LOCK_SSL_CTX);

Need help to get members of SSL_SESSION in openssl 3.0

2021-10-20 Thread Paramashivaiah, Sunil
Hi All, Please let me know APIs to get members(ssl_version, session_id, references and session_id_length) of SSL_SESSION structure variable. Thanks and Regards, Sunil Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its

Re: API to get BIGNUM member "top" in openssl 3.0

2021-10-08 Thread Paramashivaiah, Sunil
Hi Billy Brumley, I am trying to update the function eay_bn2v() in the racoon2 code. Please check the function in the below link https://android.googlesource.com/platform/external/ipsec-tools/+/051f86dfca525c160855397f7b6a4fb5ef8df2b5/src/racoon/crypto_openssl.c But I found one

API to get BIGNUM member "top" in openssl 3.0

2021-10-07 Thread Paramashivaiah, Sunil
Hi All, In our application we are accessing BIGNUM member top as bn->top. Now we are trying to migrate to OPENSSL 3.0. I am unable to find API to access this member. Please let me know if there is any get API to get the "top" member of BIGNUM. Thanks and

Providers in OPENSSL 3.0 to replace Third Party Engine(OPENSSL 1.0.2)

2021-10-06 Thread Paramashivaiah, Sunil
Hi All, We are migrating our application to use OPENSSL 3.0 from OPENSSL 1.0.2. We have ENGINE related code which loads a third party lib.so as engine. We are using the below set of deprecated API's for that.

DES_is_weak_key replacement in openssl 3.0

2021-08-17 Thread Paramashivaiah, Sunil
Hi All, I am not able to find EVP API for replacing deprecated DES_is_weak_key API. Does checking DES_is_weak_key not required for using EVP API's for DES related operations in openssl 3.0. Please suggest. Thanks and Regards, Sunil Notice: This e-mail together with any

RE: Replacing DES_ede3_cbc_encrypt with EVP API's for upgrading to openssl 3.0

2021-08-17 Thread Paramashivaiah, Sunil
Corrected the typo From: Paramashivaiah, Sunil Sent: Tuesday, August 17, 2021 3:48 PM To: openssl-users@openssl.org Cc: Bhattacharjee, Debapriyo (c) Subject: Replacing DES_ede3_cbc_encrypt with EVP API's for upgrading to openssl 3.0 Hi All, I am trying to upgrade our

Replacing DES_ede3_cbc_encrypt with EVP API's for upgrading to openssl 3.0

2021-08-17 Thread Paramashivaiah, Sunil
Hi All, I am trying to upgrade over application to use openssl 3.0 from openssl 1.0.2. I am trying to replace DES_ede3_cbc_encrypt with EVP API's as below. DES_ede3_cbc_encrypt accepts 3 keys got from des_key_sched. But for same thing

EVP_MAX_BLOCK_LENGTH Macro for upgrading application from openssl 1.0.2 to openssl 3.0

2021-08-11 Thread Paramashivaiah, Sunil
Hi All, In our application we are using MD5_CBLOCK, SHA_CBLOCK, SHA256_CBLOCK, SHA512_CBLOCK macros which are deprecated in openssl 3.0. We are trying upgrade our application from using openssl 1.0.2 to openssl 3.0. Can we use EVP_MAX_BLOCK_LENGTH to replace all these

PKCS#1 RSAPublicKey in Openssl 3.0

2021-04-19 Thread Paramashivaiah, Sunil
Hi All, PEM_read_bio_RSAPublicKey is deprecated in Openssl 3.0. I am unable to find an alternate API to get EVP_PKEY from Pem format PKCS#1 Public key. Is PKCS#1 Public key not supported in Openssl 3.0 Please suggest me how to get EVP_PKEY from Pem format PKCS#1 Public key

Re: PEM_read_bio_RSAPublicKey equivalent API which returns EVP_PKEY

2021-04-14 Thread Paramashivaiah, Sunil
, rsa); ^~~ Thanks and Regards, Sunil From: Skip Carter Sent: 14 April 2021 20:58 To: Paramashivaiah, Sunil Subject: Re: PEM_read_bio_RSAPublicKey equivalent API which returns EVP_PKEY NOTICE: This email was received from an EXTERNAL

Re: PEM_read_bio_RSAPublicKey equivalent API which returns EVP_PKEY

2021-04-14 Thread Paramashivaiah, Sunil
? > > Regards, > Shariful Alam > > > -- next part -- An HTML attachment was scrubbed... URL: <https://clicktime.symantec.com/3swRYpsU9KK78WoSiSrAfr6H2?u=https%3A%2F%2Fmta.openssl.org%2Fpipermail%2Fopenssl-users%2Fattachments%2F20210412%2F3eab5997%2F

PEM_read_bio_RSAPublicKey equivalent API which returns EVP_PKEY

2021-04-11 Thread Paramashivaiah, Sunil
Hi All, While migrating from 1.0.2 to 3.0, we are replacing deprecated APIs "RSA_public_encrypt" and "RSA_public_decrypt" with "EVP_PKEY_encrypt" and "EVP_PKEY_decrypt". In 1.0.2, "RSA_public_encrypt" and "RSA_public_decrypt" were taking RSA public key as parameter created using

'RSA' does not name a type

2021-03-26 Thread Paramashivaiah, Sunil
Hi All, While migrating from 1.0.2 to 3.0 we are getting errors like below error: 'RSA' does not name a type We have included header "#include " in the application code but still where ever RSA is used, compiler is unable to identify it as a type. Please suggest