4 * This is free software; see Copyright file in the source
5 * distribution for preciese wording.
7 * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
9 #ifndef __XMLSEC_OPENSSL_EVP_H__
10 #define __XMLSEC_OPENSSL_EVP_H__
14 #endif /* __cplusplus */
16 #include <openssl/evp.h>
18 #include <xmlsec/xmlsec.h>
19 #include <xmlsec/keys.h>
20 #include <xmlsec/transforms.h>
22 #include <xmlsec/openssl/crypto.h>
25 XMLSEC_CRYPTO_EXPORT int xmlSecOpenSSLEvpKeyDataAdoptEvp (xmlSecKeyDataPtr data,
27 XMLSEC_CRYPTO_EXPORT EVP_PKEY* xmlSecOpenSSLEvpKeyDataGetEvp (xmlSecKeyDataPtr data);
29 /******************************************************************************
31 * EVP helper functions
33 *****************************************************************************/
34 XMLSEC_CRYPTO_EXPORT EVP_PKEY* xmlSecOpenSSLEvpKeyDup (EVP_PKEY* pKey);
35 XMLSEC_CRYPTO_EXPORT xmlSecKeyDataPtr xmlSecOpenSSLEvpKeyAdopt (EVP_PKEY *pKey);
40 #endif /* __cplusplus */
42 #endif /* __XMLSEC_OPENSSL_EVP_H__ */