Commit 3ffc9784 authored by Niels Möller's avatar Niels Möller
Browse files

* blowfish.h (BLOWFISH_MAX_KEY_SIZE): Fixed, should be 56.

* blowfish.h (struct blowfish_ctx): Use a two-dimensional array
for s.

Rev: src/nettle/blowfish.h:1.6
parent 4aece6c1
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
/* Variable key size between 64 and 448 bits. */ /* Variable key size between 64 and 448 bits. */
#define BLOWFISH_MIN_KEY_SIZE 8 #define BLOWFISH_MIN_KEY_SIZE 8
#define BLOWFISH_MAX_KEY_SIZE 32 #define BLOWFISH_MAX_KEY_SIZE 56
/* Default to 128 bits */ /* Default to 128 bits */
#define BLOWFISH_KEY_SIZE 16 #define BLOWFISH_KEY_SIZE 16
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment