krb5: do not store TGTs if GC_NO_STORE
[heimdal.git] / include / crypto-headers.h
blobd695054550707f1eefc193860f15588a1b761563
1 #ifndef __crypto_header__
2 #define __crypto_header__
4 #ifndef PACKAGE_NAME
5 #error "need config.h"
6 #endif
8 #ifdef HAVE_OPENSSL
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/rsa.h>
26 #include <openssl/dsa.h>
27 #include <openssl/ec.h>
28 #include <openssl/ecdsa.h>
29 #include <openssl/ecdh.h>
30 #include <openssl/dh.h>
31 #include <openssl/bn.h>
32 #ifndef HAVE_BN_IS_NEGATIVE
33 #define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0)
34 #define BN_is_negative(bn) ((bn)->neg != 0)
35 #endif
37 #else /* !HAVE_OPENSSL */
39 #ifdef KRB5
40 #include <krb5-types.h>
41 #endif
43 #include <hcrypto/evp.h>
44 #include <hcrypto/des.h>
45 #include <hcrypto/md4.h>
46 #include <hcrypto/md5.h>
47 #include <hcrypto/sha.h>
48 #include <hcrypto/rc4.h>
49 #include <hcrypto/rc2.h>
50 #include <hcrypto/ui.h>
51 #include <hcrypto/rand.h>
52 #include <hcrypto/engine.h>
53 #include <hcrypto/pkcs12.h>
54 #include <hcrypto/hmac.h>
55 #include <hcrypto/ec.h>
56 #include <hcrypto/ecdsa.h>
57 #include <hcrypto/ecdh.h>
59 #endif /* HAVE_OPENSSL */
61 #endif /* __crypto_header__ */