=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/blf.h,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/include/blf.h 2000/12/21 16:35:32 1.5 --- src/include/blf.h 2002/02/16 21:27:17 1.6 *************** *** 1,4 **** ! /* $OpenBSD: blf.h,v 1.5 2000/12/21 16:35:32 aaron Exp $ */ /* * Blowfish - a fast block cipher designed by Bruce Schneier * --- 1,4 ---- ! /* $OpenBSD: blf.h,v 1.6 2002/02/16 21:27:17 millert Exp $ */ /* * Blowfish - a fast block cipher designed by Bruce Schneier * *************** *** 56,81 **** * Blowfish_expand0state( state, key, keylen ) */ ! void Blowfish_encipher __P((blf_ctx *, u_int32_t *, u_int32_t *)); ! void Blowfish_decipher __P((blf_ctx *, u_int32_t *, u_int32_t *)); ! void Blowfish_initstate __P((blf_ctx *)); ! void Blowfish_expand0state __P((blf_ctx *, const u_int8_t *, u_int16_t)); void Blowfish_expandstate ! __P((blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t)); /* Standard Blowfish */ ! void blf_key __P((blf_ctx *, const u_int8_t *, u_int16_t)); ! void blf_enc __P((blf_ctx *, u_int32_t *, u_int16_t)); ! void blf_dec __P((blf_ctx *, u_int32_t *, u_int16_t)); ! void blf_ecb_encrypt __P((blf_ctx *, u_int8_t *, u_int32_t)); ! void blf_ecb_decrypt __P((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_decrypt __P((blf_ctx *, u_int8_t *, u_int8_t *, 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 *)); #endif --- 56,81 ---- * Blowfish_expand0state( state, key, keylen ) */ ! void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *); ! void Blowfish_decipher(blf_ctx *, u_int32_t *, u_int32_t *); ! void Blowfish_initstate(blf_ctx *); ! void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t); void Blowfish_expandstate ! (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t); /* Standard Blowfish */ ! void blf_key(blf_ctx *, const u_int8_t *, u_int16_t); ! void blf_enc(blf_ctx *, u_int32_t *, u_int16_t); ! void blf_dec(blf_ctx *, u_int32_t *, u_int16_t); ! void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t); ! void blf_ecb_decrypt(blf_ctx *, 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(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t); /* Converts u_int8_t to u_int32_t */ ! u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *); #endif