On Fri, Nov 18, 2022 at 04:53:44PM -0600, Nico Williams wrote: > I can't use d2i_PrivateKey() because that requires an existing > EVP_PKEY * that has the group already set. Although, that's just what's documented. From code inspection, if the parameters are found in the encoded private key, then the group will be set internally and no error will be returned. Nico --