From 10f675388ada625b0775580792ce5a513358800e Mon Sep 17 00:00:00 2001 From: grunk <> Date: Wed, 14 Mar 2007 17:59:41 +0000 Subject: [PATCH] do the adjustment of arbitrary 128 -> BLF_MAXUTILIZED in userland as well, also discussed on tech@ a while ago. ok pedro@ tedu@ thib@ --- src/include/blf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/blf.h b/src/include/blf.h index 6c9085a6..ec42b419 100644 --- a/src/include/blf.h +++ b/src/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 {