* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_CRYPTO_BN_DH_H)
+#define OSSL_CRYPTO_BN_DH_H
+
#define declare_dh_bn(x) \
extern const BIGNUM ossl_bignum_dh##x##_p; \
extern const BIGNUM ossl_bignum_dh##x##_q; \
extern const BIGNUM ossl_bignum_modp_4096_q;
extern const BIGNUM ossl_bignum_modp_6144_q;
extern const BIGNUM ossl_bignum_modp_8192_q;
+
+#endif /* !defined(OSSL_CRYPTO_BN_DH_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_CRYPTO_CONTEXT_H)
+#define OSSL_CRYPTO_CONTEXT_H
+
#include <openssl/core.h>
void *ossl_provider_store_new(OSSL_LIB_CTX *);
#if defined(OPENSSL_THREADS)
void ossl_threads_ctx_free(void *);
#endif
+
+#endif /* !defined(OSSL_CRYPTO_CONTEXT_H) */
/* @brief Internal LMS helper functions */
+#if !defined(OSSL_CRYPTO_LMS_UTIL_H)
+#define OSSL_CRYPTO_LMS_UTIL_H
+
#include "internal/packet.h"
#include <openssl/params.h>
#include <openssl/core_names.h>
}
return EVP_DigestInit_ex2(ctx, md, p);
}
+
+#endif /* !defined(OSSL_CRYPTO_LMS_UTIL_H) */
*/
/* This header can move into provider when legacy support is removed */
+#if !defined(OSSL_CRYPTO_MODES_H)
+#define OSSL_CRYPTO_MODES_H
+
#include <openssl/modes.h>
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
};
#endif /* OPENSSL_NO_SIV */
+
+#endif /* !defined(OSSL_CRYPTO_MODES_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_CRYPTO_OBJECTS_H)
+#define OSSL_CRYPTO_OBJECTS_H
+
#include <openssl/objects.h>
void ossl_obj_cleanup_int(void);
+
+#endif /* !defined(OSSL_CRYPTO_OBJECTS_H) */
*/
/* If a supported OS is added here, update test/bio_tfo_test.c */
+#if !defined(OSSL_INTERNAL_BIO_TFO_H)
+#define OSSL_INTERNAL_BIO_TFO_H
+
#if defined(TCP_FASTOPEN) && !defined(OPENSSL_NO_TFO)
#if defined(OPENSSL_SYS_MACOSX) || defined(__FreeBSD__)
#endif
#endif
+
+#endif /* !defined(OSSL_INTERNAL_BIO_TFO_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_INTERNAL_NAMEMAP_H)
+#define OSSL_INTERNAL_NAMEMAP_H
+
#include "internal/cryptlib.h"
typedef struct ossl_namemap_st OSSL_NAMEMAP;
*/
int ossl_namemap_add_names(OSSL_NAMEMAP *namemap, int number,
const char *names, const char separator);
+
+#endif /* !defined(OSSL_INTERNAL_NAMEMAP_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_INTERNAL_PARAMS_H)
+#define OSSL_INTERNAL_PARAMS_H
+
#include <stddef.h>
#include <openssl/params.h>
*/
int ossl_param_get1_concat_octet_string(size_t n, OSSL_PARAM *params[],
unsigned char **out, size_t *out_len);
+
+#endif /* !defined(OSSL_INTERNAL_PARAMS_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_INTERNAL_SSL3_CBC_H)
+#define OSSL_INTERNAL_SSL3_CBC_H
+
#include <openssl/evp.h>
/* tls_pad.c */
size_t data_plus_mac_plus_padding_size,
const unsigned char *mac_secret,
size_t mac_secret_length, char is_sslv3);
+
+#endif /* !defined(OSSL_INTERNAL_SSL3_CBC_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_OPENSSL_ECDH_H)
+#define OSSL_OPENSSL_ECDH_H
+
#include <openssl/ec.h>
+
+#endif /* !defined(OSSL_OPENSSL_ECDH_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_OPENSSL_ECDSA_H)
+#define OSSL_OPENSSL_ECDSA_H
+
#include <openssl/ec.h>
+
+#endif /* !defined(OSSL_OPENSSL_ECDSA_H) */
* This header file only exists for compatibility reasons with older
* applications which #include <openssl/ossl_typ.h>.
*/
+#if !defined(OSSL_OPENSSL_OSSL_TYP_H)
+#define OSSL_OPENSSL_OSSL_TYP_H
+
#include <openssl/types.h>
+
+#endif /* !defined(OSSL_OPENSSL_OSSL_TYP_H) */
* Unfortunate workaround to avoid symbol conflict with wincrypt.h
* See https://github.com/openssl/openssl/issues/9981
*/
+#if !defined(OSSL_OPENSSL_TYPES_H)
+#define OSSL_OPENSSL_TYPES_H
+
#ifdef _WIN32
#define WINCRYPT_USE_SYMBOL_PREFIX
#undef X509_NAME
#endif
#endif /* OPENSSL_TYPES_H */
+
+#endif /* !defined(OSSL_OPENSSL_TYPES_H) */