diff options
author | Anton Gorev <kvirund@gmail.com> | 2017-04-27 13:50:47 -0500 |
---|---|---|
committer | Anton Gorev <kvirund@gmail.com> | 2017-04-27 13:50:47 -0500 |
commit | 1df5fc1e2188b5f154295dc84d12ac7eeec1d08c (patch) | |
tree | 16cbee3e6df3b708329cc5b7697f933e326db9cf /whrlpool.cpp | |
parent | 2297dd000a7cf2831095ba59be2ed653ea3bd884 (diff) | |
download | cryptopp-git-1df5fc1e2188b5f154295dc84d12ac7eeec1d08c.tar.gz |
Revert "Some fixes related to SunCC compiler bugs."
This reverts commit 72d8cbe9177bade320b51c149aac1c67c4dd13ec.
Diffstat (limited to 'whrlpool.cpp')
-rw-r--r-- | whrlpool.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/whrlpool.cpp b/whrlpool.cpp index 8d065b30..1278ad8a 100644 --- a/whrlpool.cpp +++ b/whrlpool.cpp @@ -609,15 +609,7 @@ void Whirlpool::Transform(word64 *digest, const word64 *block) // Compute and apply K^0 to the cipher state
// Also apply part of the Miyaguchi-Preneel compression function
for (int i=0; i<8; i++)
- {
-#if defined (__SUNPRO_CC)
- word64 block_i = 0;
- memcpy(&block_i, &block[i], sizeof(block_i));
- digest[i] = s[i] = block_i ^ (k[i] = digest[i]);
-#else
digest[i] = s[i] = block[i] ^ (k[i] = digest[i]);
-#endif
- }
#define KSL(op, i, a, b, c, d) \
t = (word32)k[i];\
|