Commit ac1baca0 authored by Niels Möller's avatar Niels Möller

Fixed LE_SWAP32.

parent 99c6bc14
2012-04-01 Niels Möller <nisse@lysator.liu.se>
* salsa20.c (LE_SWAP32): Typo fix for big-endian case.
2012-03-31 Niels Möller <nisse@lysator.liu.se>
* salsa20.c: (salsa20_set_iv): Deleted size argument, only one
......
......@@ -42,7 +42,7 @@
#include "memxor.h"
#ifdef WORDS_BIGENDIAN
#define LE_SWAP32(v)
#define LE_SWAP32(v) \
((ROTL32(8, v) & 0x00FF00FFUL) | \
(ROTL32(24, v) & 0xFF00FF00UL))
#else
......
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