comparison mycrypt_custom.h @ 3:7faae8f46238 libtomcrypt-orig

Branch renaming
author Matt Johnston <matt@ucc.asn.au>
date Mon, 31 May 2004 18:25:41 +0000
parents
children 6362d3854bb4
comparison
equal deleted inserted replaced
-1:000000000000 3:7faae8f46238
1 /* This header is meant to be included before mycrypt.h in projects where
2 * you don't want to throw all the defines in a makefile.
3 */
4
5 #ifndef MYCRYPT_CUSTOM_H_
6 #define MYCRYPT_CUSTOM_H_
7
8 #ifdef CRYPT
9 #error mycrypt_custom.h should be included before mycrypt.h
10 #endif
11
12 #define XMALLOC malloc
13 #define XREALLOC realloc
14 #define XCALLOC calloc
15 #define XFREE free
16 #define XCLOCK clock
17 #define XCLOCKS_PER_SEC CLOCKS_PER_SEC
18 #define SMALL_CODE
19 #define LTC_TEST
20 #define BLOWFISH
21 #define RC2
22 #define RC5
23 #define RC6
24 #define SAFERP
25 #define RIJNDAEL
26 #define XTEA
27 #define TWOFISH
28 #define TWOFISH_TABLES
29 #define DES
30 #define CAST5
31 #define NOEKEON
32 #define SKIPJACK
33 #define CFB
34 #define OFB
35 #define ECB
36 #define CBC
37 #define CTR
38 #define WHIRLPOOL
39 #define SHA512
40 #define SHA384
41 #define SHA256
42 #define SHA224
43 #define TIGER
44 #define SHA1
45 #define MD5
46 #define MD4
47 #define MD2
48 #define RIPEMD128
49 #define RIPEMD160
50 #define HMAC
51 #define OMAC
52 #define PMAC
53 #define EAX_MODE
54 #define OCB_MODE
55 #define BASE64
56 #define YARROW
57 #define SPRNG
58 #define RC4
59 #define DEVRANDOM
60 #define TRY_URANDOM_FIRST
61 #define MRSA
62 #define MDSA
63 #define MDH
64 #define MECC
65 #define DH768
66 #define DH1024
67 #define DH1280
68 #define DH1536
69 #define DH1792
70 #define DH2048
71 #define DH2560
72 #define DH3072
73 #define DH4096
74 #define ECC160
75 #define ECC192
76 #define ECC224
77 #define ECC256
78 #define ECC384
79 #define ECC521
80 #define MPI
81
82 #define PKCS_1
83 #define PKCS_5
84
85
86 #include <mycrypt.h>
87
88 #endif
89