- Fixed cipher interface for encrypt/decrypt functions
This commit is contained in:
parent
4fc45522f1
commit
f3ccc68100
21 changed files with 286 additions and 170 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue