summaryrefslogtreecommitdiff
path: root/crypto/tomcrypt_custom.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
commit81ca3923a29ea9b67f7291be23b210019546aa5f (patch)
treefcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /crypto/tomcrypt_custom.h
parent830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff)
downloadaccel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz
accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.zip
remove trailing whitespaces
Diffstat (limited to 'crypto/tomcrypt_custom.h')
-rw-r--r--crypto/tomcrypt_custom.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/crypto/tomcrypt_custom.h b/crypto/tomcrypt_custom.h
index 0baf6fb2..2eb51545 100644
--- a/crypto/tomcrypt_custom.h
+++ b/crypto/tomcrypt_custom.h
@@ -20,19 +20,19 @@
/* macros for various libc functions you can change for embedded targets */
#ifndef XMALLOC
- #ifdef malloc
+ #ifdef malloc
#define LTC_NO_PROTOTYPES
#endif
#define XMALLOC malloc
#endif
#ifndef XREALLOC
- #ifdef realloc
+ #ifdef realloc
#define LTC_NO_PROTOTYPES
#endif
#define XREALLOC realloc
#endif
#ifndef XCALLOC
- #ifdef calloc
+ #ifdef calloc
#define LTC_NO_PROTOTYPES
#endif
#define XCALLOC calloc
@@ -57,7 +57,7 @@
#define XMEMCPY memcpy
#endif
#ifndef XMEMCMP
- #ifdef memcmp
+ #ifdef memcmp
#define LTC_NO_PROTOTYPES
#endif
#define XMEMCMP memcmp
@@ -91,19 +91,19 @@
#define LTC_DES
#define LTC_DES3
#define LTC_CAST5
-
+
#define LTC_NO_MODES
#define LTC_ECB_MODE
#define LTC_CBC_MODE
#define LTC_CTR_MODE
-
+
#define LTC_NO_HASHES
#define LTC_SHA1
#define LTC_SHA512
#define LTC_SHA384
#define LTC_SHA256
#define LTC_SHA224
-
+
#define LTC_NO_MACS
#define LTC_HMAC
#define LTC_OMAC
@@ -114,11 +114,11 @@
#define LTC_YARROW
#define LTC_DEVRANDOM
#define TRY_URANDOM_FIRST
-
+
#define LTC_NO_PK
#define LTC_MRSA
#define LTC_MECC
-#endif
+#endif
/* Use small code where possible */
/* #define LTC_SMALL_CODE */
@@ -195,7 +195,7 @@
#define LTC_LRW_MODE
#ifndef LTC_NO_TABLES
/* like GCM mode this will enable 16 8x128 tables [64KB] that make
- * seeking very fast.
+ * seeking very fast.
*/
#define LRW_TABLES
#endif
@@ -206,7 +206,7 @@
#endif /* LTC_NO_MODES */
/* ---> One-Way Hash Functions <--- */
-#ifndef LTC_NO_HASHES
+#ifndef LTC_NO_HASHES
#define LTC_CHC_HASH
#define LTC_WHIRLPOOL
@@ -253,7 +253,7 @@
/* Use 64KiB tables */
#ifndef LTC_NO_TABLES
- #define LTC_GCM_TABLES
+ #define LTC_GCM_TABLES
#endif
/* USE SSE2? requires GCC works on x86_32 and x86_64*/
@@ -320,7 +320,7 @@
#define LTC_MRSA
/* Include Katja (a Rabin variant like RSA) */
-/* #define MKAT */
+/* #define MKAT */
/* Digital Signature Algorithm */
#define LTC_MDSA
@@ -333,7 +333,7 @@
#if defined(TFM_LTC_DESC) && defined(LTC_MECC)
#define LTC_MECC_ACCEL
-#endif
+#endif
/* do we want fixed point ECC */
/* #define LTC_MECC_FP */
@@ -377,9 +377,9 @@
#ifdef LTC_MRSA
#define LTC_PKCS_1
-#endif
+#endif
-#if defined(LTC_DER) && !defined(MPI)
+#if defined(LTC_DER) && !defined(MPI)
#error ASN.1 DER requires MPI functionality
#endif