summaryrefslogtreecommitdiff
path: root/src/CAST.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CAST.c')
-rw-r--r--src/CAST.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CAST.c b/src/CAST.c
index d7b00f3..9476683 100644
--- a/src/CAST.c
+++ b/src/CAST.c
@@ -48,6 +48,12 @@
#define BLOCK_SIZE 8
#define KEY_SIZE 0
+#define HAS_ENCRYPT 1
+#define HAS_MODE_CBC 1
+#define HAS_MODE_CFB 1
+#define HAS_MODE_OFB 1
+#define HAS_MODE_CTR 1
+
/* adjust these according to your compiler/platform. On some machines
uint32 will have to be a long. It's OK if uint32 is more than 32 bits. */
typedef uint32_t uint32;