- Fixed cipher interface for encrypt/decrypt functions

This commit is contained in:
Paul Bakker 2010-03-18 21:21:02 +00:00
parent 4fc45522f1
commit f3ccc68100
21 changed files with 286 additions and 170 deletions

View file

@ -53,8 +53,10 @@ void arc4_setup( arc4_context *ctx, const unsigned char *key, int keylen );
* \param ctx ARC4 context
* \param buf buffer to be processed
* \param buflen amount of data in buf
*
* \return 0
*/
void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
int arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
/*
* \brief Checkup routine