etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / heimdal / dist / include / crypto-headers.h
blobed2e3389afb5bd1f2dfe40467b73ca9246cb759c
1 /* $NetBSD: crypto-headers.h,v 1.1.1.1 2011/04/13 18:14:34 elric Exp $ */
3 #ifndef __crypto_header__
4 #define __crypto_header__
6 #ifndef PACKAGE_NAME
7 #error "need config.h"
8 #endif
10 #ifdef HAVE_OPENSSL
12 #define OPENSSL_DES_LIBDES_COMPATIBILITY
14 #include <openssl/evp.h>
15 #include <openssl/des.h>
16 #include <openssl/rc4.h>
17 #include <openssl/rc2.h>
18 #include <openssl/md4.h>
19 #include <openssl/md5.h>
20 #include <openssl/sha.h>
21 #include <openssl/ui.h>
22 #include <openssl/rand.h>
23 #include <openssl/engine.h>
24 #include <openssl/pkcs12.h>
25 #include <openssl/pem.h>
26 #include <openssl/hmac.h>
27 #include <openssl/ec.h>
28 #include <openssl/ecdsa.h>
29 #include <openssl/ecdh.h>
30 #ifndef BN_is_negative
31 #define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0)
32 #define BN_is_negative(bn) ((bn)->neg != 0)
33 #endif
35 #else /* !HAVE_OPENSSL */
37 #ifdef KRB5
38 #include <krb5/krb5-types.h>
39 #endif
41 #include <hcrypto/evp.h>
42 #include <hcrypto/des.h>
43 #include <hcrypto/md4.h>
44 #include <hcrypto/md5.h>
45 #include <hcrypto/sha.h>
46 #include <hcrypto/rc4.h>
47 #include <hcrypto/rc2.h>
48 #include <hcrypto/ui.h>
49 #include <hcrypto/rand.h>
50 #include <hcrypto/engine.h>
51 #include <hcrypto/pkcs12.h>
52 #include <hcrypto/hmac.h>
53 #include <hcrypto/ec.h>
54 #include <hcrypto/ecdsa.h>
55 #include <hcrypto/ecdh.h>
57 #endif /* HAVE_OPENSSL */
59 #endif /* __crypto_header__ */