Detect low-level engine and app method based keys
authorTomas Mraz <tomas@openssl.org>
Tue, 13 Apr 2021 15:31:08 +0000 (17:31 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 19 Apr 2021 09:36:16 +0000 (11:36 +0200)
commitb247113c053903ebb61a54ba5324847ba883ed70
treed01dfc99a0b4f52ba94b186ff1e476f1b1916e2f
parent5ae52001e115452ca285713feb1c2feaf07902ad
Detect low-level engine and app method based keys

The low-level engine and app method based keys have to be treated
as foreign and must be used with old legacy pmeths.

Fixes #14632

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14859)
crypto/dh/dh_backend.c
crypto/dsa/dsa_backend.c
crypto/ec/ec_backend.c
crypto/evp/p_lib.c
crypto/evp/pmeth_lib.c
crypto/rsa/rsa_backend.c
include/crypto/dh.h
include/crypto/dsa.h
include/crypto/ec.h
include/crypto/evp.h
include/crypto/rsa.h