diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-01-29 20:32:32 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-01-29 20:32:32 +1000 |
commit | 12603de634fe628488066d1f3f2c720ca20d6df9 (patch) | |
tree | a7345e533ae5811eeb682a7cf8d02c6a8008b6f6 /include/crypto/evp.h | |
parent | a76ce2862bc6ae2cf8a749c8747d371041fc42d1 (diff) |
Add RSA key validation to default provider
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10780)
Diffstat (limited to 'include/crypto/evp.h')
-rw-r--r-- | include/crypto/evp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index b3d1f7d21c..5d6f70be78 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -637,6 +637,12 @@ int evp_keymgmt_get_key_params(const EVP_KEYMGMT *keymgmt, void *provkey, OSSL_PARAM params[]); const OSSL_PARAM *evp_keymgmt_gettable_key_params(const EVP_KEYMGMT *keymgmt); +int evp_keymgmt_validate_domparams(const EVP_KEYMGMT *keymgmt, void *provkey); +int evp_keymgmt_validate_public(const EVP_KEYMGMT *keymgmt, void *provkey); +int evp_keymgmt_validate_private(const EVP_KEYMGMT *keymgmt, void *provkey); +int evp_keymgmt_validate_pairwise(const EVP_KEYMGMT *keymgmt, void *provkey); + + /* Pulling defines out of C source files */ #define EVP_RC4_KEY_SIZE 16 |