comparison src/headers/tomcrypt_custom.h @ 222:36160290a1b2 libtomcrypt LTC_DB_0.46

* change include path of options.h * don't use the constant ROL/ROR operations, since compilers seem to have problems
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Jul 2005 19:13:24 +0000
parents 4768b55c5240
children 809b681a9af5
comparison
equal deleted inserted replaced
213:7adce1fbdbff 222:36160290a1b2
1 #ifndef TOMCRYPT_CUSTOM_H_ 1 #ifndef TOMCRYPT_CUSTOM_H_
2 #define TOMCRYPT_CUSTOM_H_ 2 #define TOMCRYPT_CUSTOM_H_
3 3
4 /* this will sort out which stuff based on the user-config in options.h */ 4 /* this will sort out which stuff based on the user-config in options.h */
5 #include "../options.h" 5 #include "options.h"
6 6
7 /* macros for various libc functions you can change for embedded targets */ 7 /* macros for various libc functions you can change for embedded targets */
8 #define XMALLOC malloc 8 #define XMALLOC malloc
9 #define XREALLOC realloc 9 #define XREALLOC realloc
10 #define XCALLOC calloc 10 #define XCALLOC calloc
17 #define XCLOCKS_PER_SEC CLOCKS_PER_SEC 17 #define XCLOCKS_PER_SEC CLOCKS_PER_SEC
18 18
19 #ifdef DROPBEAR_SMALL_CODE 19 #ifdef DROPBEAR_SMALL_CODE
20 #define LTC_SMALL_CODE 20 #define LTC_SMALL_CODE
21 #endif 21 #endif
22
23 /* These spit out warnings etc */
24 #define LTC_NO_ROLC
22 25
23 /* Enable self-test test vector checking */ 26 /* Enable self-test test vector checking */
24 /* Not for dropbear */ 27 /* Not for dropbear */
25 //#define LTC_TEST 28 //#define LTC_TEST
26 29