#define EVP_MD_CTX_FLAG_KEEP_PKEY_CTX 0x0400
/*
- * An EVP_PKEY can have the following support states:
+ * An EVP_PKEY_CTX can have the following support states:
*
* Supports legacy implementations only:
*
const unsigned char **pp, long length,
OSSL_LIB_CTX *libctx, const char *propq);
+/* Three possible states: */
+# define EVP_PKEY_STATE_UNKNOWN 0
+# define EVP_PKEY_STATE_LEGACY 1
+# define EVP_PKEY_STATE_PROVIDER 2
+int evp_pkey_ctx_state(const EVP_PKEY_CTX *ctx);
+
#endif /* OSSL_CRYPTO_EVP_H */