Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
ac1baca0
Commit
ac1baca0
authored
Apr 01, 2012
by
Niels Möller
Browse files
Fixed LE_SWAP32.
parent
99c6bc14
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ac1baca0
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
...
...
salsa20.c
View file @
ac1baca0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment