Fix RC4 key length in cipher

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-04 12:28:37 +02:00
parent 83f3fc0d77
commit ce4112538c
2 changed files with 6 additions and 2 deletions

View file

@ -55,7 +55,7 @@ arc4_context;
*
* \param ctx ARC4 context to be initialized
* \param key the secret key
* \param keylen length of the key
* \param keylen length of the key, in bytes
*/
void arc4_setup( arc4_context *ctx, const unsigned char *key, unsigned int keylen );