diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-24 23:14:21 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-24 23:14:21 +0200 |
commit | 1b5897ef03e6ac0efac8ff90b21f6e7690a89da3 (patch) | |
tree | 0e1fa8978549d9e3acf6b9134abe7184050331de /salsa20-crypt.c | |
parent | 5cc019f935243f6548e75e0c106d121d4de4ffc2 (diff) | |
download | nettle-1b5897ef03e6ac0efac8ff90b21f6e7690a89da3.tar.gz |
Deleted unneeded casts of memxor arguments.
Diffstat (limited to 'salsa20-crypt.c')
-rw-r--r-- | salsa20-crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/salsa20-crypt.c b/salsa20-crypt.c index b061b4b8..82abceaa 100644 --- a/salsa20-crypt.c +++ b/salsa20-crypt.c @@ -61,10 +61,10 @@ salsa20_crypt(struct salsa20_ctx *ctx, if (length <= SALSA20_BLOCK_SIZE) { - memxor3 (c, m, (uint8_t *) x, length); + memxor3 (c, m, x, length); return; } - memxor3 (c, m, (uint8_t *) x, SALSA20_BLOCK_SIZE); + memxor3 (c, m, x, SALSA20_BLOCK_SIZE); length -= SALSA20_BLOCK_SIZE; c += SALSA20_BLOCK_SIZE; |