diff options
author | Alexander von Gernler <grunk@cvs.openbsd.org> | 2007-03-14 17:59:42 +0000 |
---|---|---|
committer | Alexander von Gernler <grunk@cvs.openbsd.org> | 2007-03-14 17:59:42 +0000 |
commit | 08a8f5ca3c33376ac20f78625b0a83de3c171137 (patch) | |
tree | 40dd894069cd3774804855ee627eb3a83c64ed2b /include/blf.h | |
parent | 72458d4225398ab8f184f91fa41fe76fec31f64e (diff) |
do the adjustment of arbitrary 128 -> BLF_MAXUTILIZED in userland as well,
also discussed on tech@ a while ago.
ok pedro@ tedu@ thib@
Diffstat (limited to 'include/blf.h')
-rw-r--r-- | include/blf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/blf.h b/include/blf.h index 6c9085a6e6f..ec42b419401 100644 --- a/include/blf.h +++ b/include/blf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: blf.h,v 1.6 2002/02/16 21:27:17 millert Exp $ */ +/* $OpenBSD: blf.h,v 1.7 2007/03/14 17:59:41 grunk Exp $ */ /* * Blowfish - a fast block cipher designed by Bruce Schneier * @@ -43,6 +43,7 @@ #define BLF_N 16 /* Number of Subkeys */ #define BLF_MAXKEYLEN ((BLF_N-2)*4) /* 448 bits */ +#define BLF_MAXUTILIZED ((BLF_N+2)*4) /* 576 bits */ /* Blowfish context */ typedef struct BlowfishContext { |