Commit aa8201ce authored by Niels Möller's avatar Niels Möller
Browse files

Changed the order of arguments to CRYPT.

Rev: src/abstract_crypto.h:1.11
Rev: src/crypto.c:1.7
parent 2fa2506e
......@@ -34,7 +34,7 @@ struct crypto_instance
UINT32 block_size;
/* Length must be a multiple of the block size */
void (*crypt)(struct crypto_instance *self,
UINT32 length, UINT8 *dst, UINT8 *src);
UINT32 length, UINT8 *src, UINT8 *dst);
};
#define CRYPT(instance, length, src, dst) \
......
......@@ -56,7 +56,7 @@ struct rc4_instance
};
static void do_crypt_rc4(struct crypto_instance *s,
UINT32 length, UINT8 *dst, UINT8 *src)
UINT32 length, UINT8 *src, UINT8 *dst)
{
struct rc4_instance *self = (struct rc4_instance *) s;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment