Re: How to access different fields of typedef struct evp_pkey_st EVP_PKEY.

2021-04-20 Thread Tomas Mraz
On Tue, 2021-04-20 at 10:45 +, Kumar Mishra, Sanjeev wrote: > Hi, > I am not getting different functions in OpenSSL 3.0 for accessing > different fields of typedef struct evp_pkey_st EVP_PKEY. For Example > - code is like this - > EVP_PKEY * privKey; > - > - > if ( BN_cmp(privKey->pkey.

Re: How to access different fields of typedef struct evp_pkey_st EVP_PKEY.

2021-04-20 Thread Matt Caswell
On 20/04/2021 11:45, Kumar Mishra, Sanjeev wrote: Hi, I am not getting different functions in OpenSSL 3.0 for accessing different fields of typedef struct evp_pkey_st EVP_PKEY. For Example - code is like this - EVP_PKEY * privKey; - - if ( BN_cmp(privKey->pkey.rsa->n, pubKey->pkey.r

How to access different fields of typedef struct evp_pkey_st EVP_PKEY.

2021-04-20 Thread Kumar Mishra, Sanjeev
Hi, I am not getting different functions in OpenSSL 3.0 for accessing different fields of typedef struct evp_pkey_st EVP_PKEY. For Example - code is like this - EVP_PKEY * privKey; - - if ( BN_cmp(privKey->pkey.rsa->n, pubKey->pkey.rsa->n) != 0 ) else if ((privKey->type == EVP_PK