summaryrefslogtreecommitdiff
path: root/src/Blowfish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blowfish.c')
-rw-r--r--src/Blowfish.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Blowfish.c b/src/Blowfish.c
index f1ab55a..cd0a54a 100644
--- a/src/Blowfish.c
+++ b/src/Blowfish.c
@@ -35,6 +35,12 @@
#define BLOCK_SIZE 8 /* 64-bit block size */
#define KEY_SIZE 0 /* variable key size */
+#define HAS_ENCRYPT 1
+#define HAS_MODE_CBC 1
+#define HAS_MODE_CFB 1
+#define HAS_MODE_OFB 1
+#define HAS_MODE_CTR 1
+
#define BLOWFISH_MAGIC 0xf9d565deu
typedef struct {
uint32_t magic;