diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-07-13 01:45:09 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-07-13 01:45:09 -0400 |
| commit | c4f9a7cfceabd64f829ebcc335be44be01634e79 (patch) | |
| tree | bf6f1a41618c07cf5c0f8c2b6a0c11c21d06bf42 /blake2.cpp | |
| parent | 8281e51e9411f3198346140e21a006c5d5d4451e (diff) | |
| download | cryptopp-git-c4f9a7cfceabd64f829ebcc335be44be01634e79.tar.gz | |
Fix compile under iOS
Diffstat (limited to 'blake2.cpp')
| -rw-r--r-- | blake2.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -40,12 +40,6 @@ NAMESPACE_BEGIN(CryptoPP) # undef CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE
#endif
-#if defined(CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE) && ((__SUNPRO_CC >= 0x5130) || defined(__clang__))
-# include <emmintrin.h> // _mm_set_epi64x
-# include <smmintrin.h> // _mm_blend_epi16
-# include <tmmintrin.h> // _mm_shuffle_epi16
-#endif
-
// C/C++ implementation
static void BLAKE2_CXX_Compress32(const byte* input, BLAKE2_State<word32, false>& state);
static void BLAKE2_CXX_Compress64(const byte* input, BLAKE2_State<word64, true>& state);
@@ -3994,7 +3988,7 @@ static void BLAKE2_NEON_Compress64(const byte* input, BLAKE2_State<word64, true> uint64x2_t row1l, row1h, row2l, row2h;
uint64x2_t row3l, row3h, row4l, row4h;
- uint64x2_t b0, b1, t0, t1;
+ uint64x2_t b0 = {0,0}, b1 = {0,0}, t0, t1;
row1l = vld1q_u64((const uint64_t *)&state.h[0]);
row1h = vld1q_u64((const uint64_t *)&state.h[2]);
|
