Changeset View
Changeset View
Standalone View
Standalone View
secure/lib/libcrypt/blowfish.h
Show All 34 Lines | |||||
/* | /* | ||||
* FreeBSD implementation by Paul Herman <pherman@frenchfries.net> | * FreeBSD implementation by Paul Herman <pherman@frenchfries.net> | ||||
*/ | */ | ||||
#ifndef _BLF_H_ | #ifndef _BLF_H_ | ||||
#define _BLF_H_ | #define _BLF_H_ | ||||
/* Schneier states the maximum key length to be 56 bytes. | /* Schneier states the maximum key length to be 56 bytes. | ||||
* The way how the subkeys are initalized by the key up | * The way how the subkeys are initialized by the key up | ||||
* to (N+2)*4 i.e. 72 bytes are utilized. | * to (N+2)*4 i.e. 72 bytes are utilized. | ||||
* 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. | ||||
*/ | */ | ||||
#define BLF_N 16 /* Number of Subkeys */ | #define BLF_N 16 /* Number of Subkeys */ | ||||
/* Blowfish context */ | /* Blowfish context */ | ||||
Show All 20 Lines |