diff --git a/src/headers/tomcrypt_custom.h b/src/headers/tomcrypt_custom.h
index 558db5d8f2d10b69aa960cfd6944dcbea180e6dd..ad61f523ec0f4fb2a1cfe301e6d90289308acad9 100644
--- a/src/headers/tomcrypt_custom.h
+++ b/src/headers/tomcrypt_custom.h
@@ -47,11 +47,11 @@
 #define BLOWFISH
 #endif
 
-#ifdef DROPBEAR_AES128_CBC
+#ifdef DROPBEAR_AES_CBC
 #define RIJNDAEL
 #endif
 
-#ifdef DROPBEAR_TWOFISH128_CBC
+#ifdef DROPBEAR_TWOFISH_CBC
 #define TWOFISH
 
 /* enabling just TWOFISH_SMALL will make the binary ~1kB smaller, turning on