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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey list,

I am in the process of porting some RSA related code that used OpenSSL
1.1.1 to the newer 3.0 API. A lot of the functions I was using are now
deprecated. I've tried to follow the migration guide as best I can.

Right now I am having an issue generating an RSA key pair:

   https://pastebin.com/jbLdqUdv

Note that the call to EVP_PKEY_pairwise_check(3) fails on L66 with
"error:0300009A:digital envelope routines::no key set". This error
string was set by OpenSSL internally.

I'm not sure exactly what I'm doing wrong. All I want to do is generate
the RSA key pair and then verify that this was done correctly.

Any help appreciated.

Yours truly,

-- 
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux