error:0308010C:digital envelope routines::unsupported & other EVP_PKEY question

2022-05-30 Thread Kip Warner
Hey list, I am having difficulty trying to allocate an EVP_PKEY_CTX via EVP_PKEY_CTX_new(3) from a public key loaded via PEN_read_PUBKEY(3). The former fails with OpenSSL setting the following error: error:0308010C:digital envelope routines::unsupported See L135: https://pastebin.com/5p7MRGGK

Re: EVP_PKEY_pairwise_check(3) fails with error:0300009A:digital envelope routines::no key set

2022-05-30 Thread Kip Warner
On Mon, 2022-05-30 at 08:27 +0200, Tomas Mraz wrote: > For the pairwise check, you need to initialize a new EVP_PKEY_CTX > context with EVP_PKEY_CTX_new_from_pkey(). > > You cannot reuse the key generation context. Thanks Tomas. I will give that a try. In the mean time, I'm having another proble