AW: EVP_KEY_cmp and -_parameters issues

2019-08-07 Thread Johannes.Heinz
Now I've got it. Thank you very much. -Ursprüngliche Nachricht- Von: Thulasi Goriparthi Gesendet: Mittwoch, 7. August 2019 09:42 An: Heinz, Johannes Cc: openssl-users@openssl.org Betreff: Re: EVP_KEY_cmp and -_parameters issues RSA keys wouldn't have parameters that are sepa

Re: EVP_KEY_cmp and -_parameters issues

2019-08-07 Thread Thulasi Goriparthi
RSA keys wouldn't have parameters that are separated from key components. So, EVP_PKEY_cmp() is applicable, but not EVP_PKEY_cmp_parameters(). DH keys, which are generally used for key exchange, are short lived, though the group parameters can be comparatively valid for longer duration (let's say

EVP_KEY_cmp and -_parameters issues

2019-08-06 Thread Johannes.Heinz
I have a question to following situation with RSA and DH structures: I'm testing these in separated unit tests. Both test cases (each one for RSA and DH) are doing the same: I'm creating a new DH or RSA structure, filling it with my params (pqg ...) and convert it to an EVP_PKEY (for example: EVP

EVP_KEY_cmp and -_parameters issues

2019-07-25 Thread Johannes.Heinz
I have a question to following situation with RSA and DH structures: I'm testing these in separated unit tests. Both test cases (each one for RSA and DH) are doing the same: I'm creating a new DH or RSA structure, filling it with my params (pqg ...) and convert it to an EVP_PKEY (for example: EVP