|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: blf.h,v 1.4 1998/08/10 18:40:53 provos Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: blf.h,v 1.5 2000/12/21 16:35:32 aaron Exp $ */ |
|
|
/* |
|
|
/* |
|
|
* Blowfish - a fast block cipher designed by Bruce Schneier |
|
|
* Blowfish - a fast block cipher designed by Bruce Schneier |
|
|
* |
|
|
* |
|
@ -34,9 +34,9 @@ |
|
|
#ifndef _BLF_H_ |
|
|
#ifndef _BLF_H_ |
|
|
#define _BLF_H_ |
|
|
#define _BLF_H_ |
|
|
|
|
|
|
|
|
/* Schneier states the maximum key length to be 56 bytes. |
|
|
|
|
|
* The way how the subkeys are initalized by the key up |
|
|
|
|
|
* to (N+2)*4 i.e. 72 bytes are utilized. |
|
|
|
|
|
|
|
|
/* Schneier specifies a maximum key length of 56 bytes. |
|
|
|
|
|
* This ensures that every key bit affects every cipher |
|
|
|
|
|
* bit. However, the subkeys can hold up to 72 bytes. |
|
|
* Warning: For normal blowfish encryption only 56 bytes |
|
|
* Warning: For normal blowfish encryption only 56 bytes |
|
|
* of the key affect all cipherbits. |
|
|
* of the key affect all cipherbits. |
|
|
*/ |
|
|
*/ |
|
|