Re: [EXTERNAL] Re: Need Replacement for Deprecated function

2021-12-12 Thread Shivakumar Poojari
Monday, December 6, 2021 7:19 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Amballi, Kishor ; Bhattacharjee, Debapriyo (c) ; Kumar Mishra, Sanjeev Subject: [EXTERNAL] Re: Need Replacement for Deprecated function On 06/12/2021 12:26, Shivakumar Poojari wrote: > Hi All, > > We ar

Need Replacement for Deprecated function

2021-12-06 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. Need Replacement for below Deprecated function. DSE: DES_set_key(); DES_ecb_encrypt(); AES: AES_set_encrypt_key(); AES_set_decrypt_key(); AES_wrap_key(); AES_unwrap_key();--- perivously i upgraded AES function with EVP related function but

Re: [EXTERNAL] Re: Need Replacement for Deprecated function.

2021-12-01 Thread Shivakumar Poojari
// From: openssl-users on behalf of Matt Caswell Sent: Monday, November 29, 2021 8:40 PM To: openssl-users@openssl.org Subject: [EXTERNAL] Re: Need Replacement for Deprecated function. On 29/11/2021 12:35, Shivakumar Poojari wrote: > H

Need Replacement for Deprecated function.

2021-11-29 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. Need Replacement for below Deprecated function. SSL_use_RSAPrivateKey_ASN1(); PEM_read_bio_DHparams(); PEM_read_bio_DSAparams(); DSA_dup_DH(); DSA_free(); SSL_set_tmp_dh(); DH_free(); SSL_CTX_set_tmp_dh(); I'm not able to find proper

Re: [EXTERNAL] Re: Alternative for structure opaque X509 & X509_STORE_CTX

2021-10-10 Thread Shivakumar Poojari
ify_cb = X509_STORE_get_verify_cb(ctx); Thanks Shiva kumar From: Matt Caswell Sent: Friday, October 8, 2021 8:41 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Kumar Mishra, Sanjeev ; Bhattacharjee, Debapriyo (c) Subject: Re: [EXTERN

Re: [EXTERNAL] Re: Alternative for structure opaque X509 & X509_STORE_CTX

2021-10-08 Thread Shivakumar Poojari
erify_cb(0, ctx); X509_STORE_get_verify_cb() please suggest. Thanks, shivakumar From: Matt Caswell Sent: Tuesday, October 5, 2021 1:20 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Kumar Mishra, Sanjeev ; Bhattacharjee, Debapriy

Re: [EXTERNAL] Re: Replacement for BIO_get_port(), BIO_get_host_ip()

2021-10-07 Thread Shivakumar Poojari
both thanks, Shivakumar. From: Matt Caswell Sent: Monday, September 27, 2021 3:05 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil Subject: [EXTERNAL] Re: Replacement for BIO_get_port(), BIO_get_host_ip() On 24/09/2021 07:05

Re: [EXTERNAL] Re: Alternative for structure opaque X509 & X509_STORE_CTX

2021-10-05 Thread Shivakumar Poojari
Thanks Matt!! your suggestions are very helpful. From: Matt Caswell Sent: Tuesday, October 5, 2021 1:20 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Kumar Mishra, Sanjeev ; Bhattacharjee, Debapriyo (c) Subject: [EXTERNAL

Alternative for structure opaque X509 & X509_STORE_CTX

2021-10-04 Thread Shivakumar Poojari
Hi Matt, Seen this comment in GitHub OpenSSL 1.1.0 made many structures opaque. You cannot directly access the fields inside the X509 structure any more. Instead you must use accessor functions. In this case, as @slontis says, you must use the function

Re: [EXTERNAL] Re: Replacement for BIO_get_port(), BIO_get_host_ip()

2021-09-27 Thread Shivakumar Poojari
_get_host_ip() itself in openssl version 1.0.1 Please suggest the alternative function, or some suggestions to move forward . Thanks, Shivakumar From: Jordan Brown Sent: Friday, September 24, 2021 9:40 PM To: Shivakumar Poojari Subject: [EXTERNAL] Re: Replacement for

Re: Replacement for BIO_get_port(), BIO_get_host_ip()

2021-09-24 Thread Shivakumar Poojari
Gentle reminder. Thanks, Shiva Kumar From: Shivakumar Poojari Sent: Friday, September 24, 2021 11:35 AM To: openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Kumar Mishra, Sanjeev Subject: Replacement for BIO_get_port(), BIO_get_host_ip() Hi BIO_get_port

Replacement for BIO_get_port(), BIO_get_host_ip()

2021-09-24 Thread Shivakumar Poojari
Hi BIO_get_port(), BIO_get_host_ip(), were deprecated in OpenSSL 1.1.0. Trying for replacement for OpenSSl 3.0 Gone through the below man page, but not found alternative function. https://www.openssl.org/docs/manmaster/man3/BIO_connect.html please suggest, Thanks, Shiva kumar Notice: This

Replacement for BIO_get_port(), BIO_get_host_ip()

2021-09-23 Thread Shivakumar Poojari
Hi BIO_get_port(), BIO_get_host_ip(), were deprecated in OpenSSL 1.1.0. Trying for replacement for OpenSSl 3.0 Gone through the below man page, with suggested function how do i get port& host_ip https://www.openssl.org/docs/manmaster/man3/BIO_connect.html please suggest, Thanks, Shiva kumar

Re: [EXTERNAL] Re:

2021-09-20 Thread Shivakumar Poojari
Thanks Matt! From: openssl-users on behalf of Matt Caswell Sent: Monday, September 20, 2021 7:43 PM To: openssl-users@openssl.org Subject: [EXTERNAL] Re: On 20/09/2021 14:59, Shivakumar Poojari wrote: > But how do i manage "f" paramater which i

[no subject]

2021-09-20 Thread Shivakumar Poojari
Hi #define of BIOerr and BUFerr is deprecated in openssl3.0 # ifndef OPENSSL_NO_DEPRECATED_3_0 #define BIOerr(f, r) ERR_raise_data(ERR_LIB_BIO, (r), NULL) # define BUFerr(f, r) ERR_raise_data(ERR_LIB_BUF, (r), NULL) #endif The BIOerr and BUFerr are used in the code something like below

Re: [EXTERNAL] Re: ENGINE API replacement for Openssl3.0

2021-09-15 Thread Shivakumar Poojari
the sample program and the links to understand the providers Thanks, shiva kumar From: Tomas Mraz Sent: Wednesday, September 8, 2021 7:00 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Bhattacharjee, Debapriyo (c) Subject

ENGINE API replacement for Openssl3.0

2021-09-08 Thread Shivakumar Poojari
Hi Upgrading our code to openssl 3.0. the below function we trying to replace ENGINE_load_dynamic() Replacment for 3.0 what i found OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_DYNAMIC, NULL) ENGINE_by_id("dynamic") ENGINE_ctrl_cmd_string() ENGINE_set_default() ENGINE_get_DH() ENGINE_free()

Re: [EXTERNAL] Re: Replacement for CRYPTO_thread_id() & ERR_get_error_line_data() for openssl3.0

2021-09-06 Thread Shivakumar Poojari
aswell Sent: Friday, September 3, 2021 1:25 PM To: Shivakumar Poojari ; openssl-users@openssl.org Cc: Paramashivaiah, Sunil ; Bhattacharjee, Debapriyo (c) Subject: [EXTERNAL] Re: Replacement for CRYPTO_thread_id() & ERR_get_error_line_data() for openssl3.0 On 03/09/2021 05:58, Shivakum

Replacement for CRYPTO_thread_id() & ERR_get_error_line_data() for openssl3.0

2021-09-02 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. the below function we trying to replace, searched in the openssl man pages not found proper information. CRYPTO_thread_id() ERR_get_error_line_data() please suggest. thanks, shivakumar. Notice: This e-mail together with any attachments may

Replacement for AES_set_encrypt_key and AES_encrypt to support 3.0

2021-08-17 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. we need replacement for AES_set_encrypt_key and AES_encrypt, these two functions are in two different functions previously we replaced below functions AES_set_decrypt_key() AES_cbc_encrypt() to EVP_CipherInit_ex

Macro to support 3.0 and 1.0

2021-05-06 Thread Shivakumar Poojari
Hi All, We are upgrading our code to openssl 3.0. But we need to keep the older version of code also which is 1.0. So, we tried by keeping the newer version of the code as below but when we compiled the code for 3.0, evp.h is not getting included. Please