|
@ -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 { |
|
|