1 #ifndef __crypto_header__
2 #define __crypto_header__
10 #define OPENSSL_DES_LIBDES_COMPATIBILITY
12 #include <openssl/evp.h>
13 #include <openssl/des.h>
14 #include <openssl/rc4.h>
15 #include <openssl/rc2.h>
16 #include <openssl/md4.h>
17 #include <openssl/md5.h>
18 #include <openssl/sha.h>
19 #include <openssl/ui.h>
20 #include <openssl/rand.h>
21 #include <openssl/engine.h>
22 #include <openssl/pkcs12.h>
23 #include <openssl/pem.h>
24 #include <openssl/hmac.h>
25 #include <openssl/ec.h>
26 #include <openssl/ecdsa.h>
27 #include <openssl/ecdh.h>
28 #ifndef BN_is_negative
29 #define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0)
30 #define BN_is_negative(bn) ((bn)->neg != 0)
33 #else /* !HAVE_OPENSSL */
36 #include <krb5-types.h>
39 #include <hcrypto/evp.h>
40 #include <hcrypto/des.h>
41 #include <hcrypto/md4.h>
42 #include <hcrypto/md5.h>
43 #include <hcrypto/sha.h>
44 #include <hcrypto/rc4.h>
45 #include <hcrypto/rc2.h>
46 #include <hcrypto/ui.h>
47 #include <hcrypto/rand.h>
48 #include <hcrypto/engine.h>
49 #include <hcrypto/pkcs12.h>
50 #include <hcrypto/hmac.h>
51 #include <hcrypto/ec.h>
52 #include <hcrypto/ecdsa.h>
53 #include <hcrypto/ecdh.h>
55 #endif /* HAVE_OPENSSL */
57 #endif /* __crypto_header__ */