- Fixed min keysize bug for Blowfish (it is 32, not 64).
- Documentation updates.
as well as general application notes such as RFC2451 ("The ESP CBC-Mode
Cipher Algorithms").
+It's a good idea to avoid using lots of macros and use inlined functions
+instead, as gcc does a good job with inlining, while excessive use of
+macros can cause compilation problems on some platforms.
+
BUGS
Dana L. How (DES)
Andrew Tridgell and Steve French (MD4)
Colin Plumb (MD5)
- Steve Raid (SHA1)
+ Steve Reid (SHA1)
Jean-Luc Cooke (SHA256)
Kazunori Miyazawa / USAGI (HMAC)
help
Blowfish cipher algorithm, by Bruce Schneier.
- This is a fast cipher which can use variable length key from 32
- bits to 448 bits. It's fast, simple and specifically designed for
- use on "large microprocessors".
+ This is a variable key length cipher which can use keys from 32
+ bits to 448 bits in length. It's fast, simple and specifically
+ designed for use on "large microprocessors".
See also:
http://www.counterpane.com/blowfish.html
#include <linux/crypto.h>
#define BF_BLOCK_SIZE 8
-#define BF_MIN_KEY_SIZE 8
+#define BF_MIN_KEY_SIZE 4
#define BF_MAX_KEY_SIZE 56
struct bf_ctx {
*
* Derived from cryptoapi implementation, adapted for in-place
* scatterlist interface. Originally based on the public domain
- * implementation written by Steve Raid.
+ * implementation written by Steve Reid.
*
* Copyright (c) Alan Smithee.
* Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>