summaryrefslogtreecommitdiff
path: root/aria.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-04-16 13:23:27 -0400
committerJeffrey Walton <noloader@gmail.com>2017-04-16 13:23:27 -0400
commitdad532cb4b610206dda46ccb03b6b7c0d75214fd (patch)
tree93394e4c8d3cc236fcf308e4a92cf05b1c9a5f02 /aria.cpp
parent1d1a1507372b7be7cbccdfec818a9f9985be03c6 (diff)
downloadcryptopp-git-dad532cb4b610206dda46ccb03b6b7c0d75214fd.tar.gz
Remove stdio.h header
Diffstat (limited to 'aria.cpp')
-rw-r--r--aria.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/aria.cpp b/aria.cpp
index 3f5b9058..041be215 100644
--- a/aria.cpp
+++ b/aria.cpp
@@ -7,8 +7,6 @@
#include "misc.h"
#include "cpu.h"
-#include <stdio.h>
-
#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
# define CRYPTOPP_ENABLE_ARIA_SSE2_INTRINSICS 1
#endif
@@ -579,7 +577,6 @@ void ARIA::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, b
// 'outBlock' and 'xorBlock' may be unaligned.
if (xorBlock != NULLPTR)
{
- // 3 SSE instructions
_mm_storeu_si128((__m128i*)(outBlock),
_mm_xor_si128(
_mm_loadu_si128((const __m128i*)(outBlock)),
@@ -626,7 +623,7 @@ void ARIA::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, b
outBlock[15] = (byte)(S2[ARIA_BRF(t[3],0)] );
t = reinterpret_cast<word32*>(outBlock);
- AlignedBigEndianBlock::Put(rk, t)(t[0])(t[1])(t[2])(t[3]);
+ BigEndianBlock::Put(rk, t)(t[0])(t[1])(t[2])(t[3]);
#endif
#if CRYPTOPP_ENABLE_ARIA_NEON_INTRINSICS
@@ -634,7 +631,6 @@ void ARIA::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, b
{
if (xorBlock != NULLPTR)
{
- // 4 NEON instructions
vst1q_u32(reinterpret_cast<uint32_t*>(outBlock),
veorq_u32(
vld1q_u32((const uint32_t*)outBlock),