version 1.5, 2000/12/21 16:35:32 |
version 1.6, 2002/02/16 21:27:17 |
|
|
* Blowfish_expand0state( state, key, keylen ) |
* Blowfish_expand0state( state, key, keylen ) |
*/ |
*/ |
|
|
void Blowfish_encipher __P((blf_ctx *, u_int32_t *, u_int32_t *)); |
void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *); |
void Blowfish_decipher __P((blf_ctx *, u_int32_t *, u_int32_t *)); |
void Blowfish_decipher(blf_ctx *, u_int32_t *, u_int32_t *); |
void Blowfish_initstate __P((blf_ctx *)); |
void Blowfish_initstate(blf_ctx *); |
void Blowfish_expand0state __P((blf_ctx *, const u_int8_t *, u_int16_t)); |
void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t); |
void Blowfish_expandstate |
void Blowfish_expandstate |
__P((blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t)); |
(blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t); |
|
|
/* Standard Blowfish */ |
/* Standard Blowfish */ |
|
|
void blf_key __P((blf_ctx *, const u_int8_t *, u_int16_t)); |
void blf_key(blf_ctx *, const u_int8_t *, u_int16_t); |
void blf_enc __P((blf_ctx *, u_int32_t *, u_int16_t)); |
void blf_enc(blf_ctx *, u_int32_t *, u_int16_t); |
void blf_dec __P((blf_ctx *, u_int32_t *, u_int16_t)); |
void blf_dec(blf_ctx *, u_int32_t *, u_int16_t); |
|
|
void blf_ecb_encrypt __P((blf_ctx *, u_int8_t *, u_int32_t)); |
void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t); |
void blf_ecb_decrypt __P((blf_ctx *, u_int8_t *, u_int32_t)); |
void blf_ecb_decrypt(blf_ctx *, u_int8_t *, u_int32_t); |
|
|
void blf_cbc_encrypt __P((blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t)); |
void blf_cbc_encrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t); |
void blf_cbc_decrypt __P((blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t)); |
void blf_cbc_decrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t); |
|
|
/* Converts u_int8_t to u_int32_t */ |
/* Converts u_int8_t to u_int32_t */ |
u_int32_t Blowfish_stream2word __P((const u_int8_t *, u_int16_t , u_int16_t *)); |
u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *); |
|
|
#endif |
#endif |