/* Mixmaster version 3.0 -- (C) 1999 - 2006 Anonymizer Inc. and others. Mixmaster may be redistributed and modified under certain conditions. This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the file COPYRIGHT for details. Interface to cryptographic library $Id$ */ #ifndef _CRYPTO_H #define _CRYPTO_H #include "mix3.h" #ifdef USE_OPENSSL #include #if (OPENSSL_VERSION_NUMBER < 0x0903100) #error "This version of OpenSSL is not supported. Please get a more current version from http://www.openssl.org" #endif /* version check */ #include #include #include #include #include #include #include #include #include #ifdef USE_IDEA #include #endif /* USE_IDEA */ #ifdef USE_AES #include #endif /* USE_AES */ #include #include typedef RSA PUBKEY; typedef RSA SECKEY; #else /* end of USE_OPENSSL */ /* #error "No crypto library." */ typedef void PUBKEY; typedef void SECKEY; #endif /* else not USE_OPENSSL */ #endif /* ifndef _CRYPTO_H */