Browse Source

do the adjustment of arbitrary 128 -> BLF_MAXUTILIZED in userland as well,

also discussed on tech@ a while ago.
ok pedro@ tedu@ thib@
OPENBSD_4_2
grunk 17 years ago
parent
commit
10f675388a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/blf.h

+ 2
- 1
src/include/blf.h View File

@ -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 * Blowfish - a fast block cipher designed by Bruce Schneier
* *
@ -43,6 +43,7 @@
#define BLF_N 16 /* Number of Subkeys */ #define BLF_N 16 /* Number of Subkeys */
#define BLF_MAXKEYLEN ((BLF_N-2)*4) /* 448 bits */ #define BLF_MAXKEYLEN ((BLF_N-2)*4) /* 448 bits */
#define BLF_MAXUTILIZED ((BLF_N+2)*4) /* 576 bits */
/* Blowfish context */ /* Blowfish context */
typedef struct BlowfishContext { typedef struct BlowfishContext {


Loading…
Cancel
Save