summaryrefslogtreecommitdiffstats
path: root/include/crypto/evp.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-02-05 12:53:14 +0100
committerRichard Levitte <levitte@openssl.org>2020-03-02 03:27:03 +0100
commitbee5d6cd3fa2f8bcc7e1153e4dc26aa26144bee0 (patch)
tree433108cf9e3f133fbc3423be1e10cf03b35f378f /include/crypto/evp.h
parent157ded39ee68c1c00814165f79f9b2f000996884 (diff)
KEYMGMT: Add a keydata matching function
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11158)
Diffstat (limited to 'include/crypto/evp.h')
-rw-r--r--include/crypto/evp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h
index bd624575bb..74d0c4b345 100644
--- a/include/crypto/evp.h
+++ b/include/crypto/evp.h
@@ -638,6 +638,9 @@ const OSSL_PARAM *evp_keymgmt_settable_params(const EVP_KEYMGMT *keymgmt);
int evp_keymgmt_has(const EVP_KEYMGMT *keymgmt, void *keyddata, int selection);
int evp_keymgmt_validate(const EVP_KEYMGMT *keymgmt, void *keydata,
int selection);
+int evp_keymgmt_match(const EVP_KEYMGMT *keymgmt,
+ const void *keydata1, const void *keydata2,
+ int selection);
int evp_keymgmt_import(const EVP_KEYMGMT *keymgmt, void *keydata,
int selection, const OSSL_PARAM params[]);