mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
37 lines
1019 B
C
37 lines
1019 B
C
|
/*
|
||
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||
|
*
|
||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||
|
*
|
||
|
* See the COPYRIGHT file distributed with this work for additional
|
||
|
* information regarding copyright ownership.
|
||
|
*/
|
||
|
|
||
|
#ifndef ISC_OPENSSL_P_H
|
||
|
#define ISC_OPENSSL_P_H
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include <openssl/opensslv.h>
|
||
|
|
||
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||
|
|
||
|
#include <openssl/engine.h>
|
||
|
#include <openssl/hmac.h>
|
||
|
|
||
|
void *OPENSSL_zalloc(size_t size);
|
||
|
EVP_CIPHER_CTX* EVP_CIPHER_CTX_new(void);
|
||
|
void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx);
|
||
|
EVP_MD_CTX *EVP_MD_CTX_new(void);
|
||
|
void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
|
||
|
int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
|
||
|
HMAC_CTX *HMAC_CTX_new(void);
|
||
|
void HMAC_CTX_free(HMAC_CTX *ctx);
|
||
|
int HMAC_CTX_reset(HMAC_CTX *ctx);
|
||
|
|
||
|
#endif /* ISC_OPENSSL_P_H */
|
||
|
|
||
|
#endif /* ISC_OPENSSL_P_H */
|