summaryrefslogtreecommitdiff
path: root/lsh512.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-23 14:10:27 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-23 14:10:27 -0400
commitd17f037ed02b6f60da343b0706d6196fe44d34a3 (patch)
tree9fb6a9c24cc979fef9fdcb9914a2ae62289ad70e /lsh512.cpp
parentdd57c4c7f7507ae50803e41afee6a1217324a958 (diff)
downloadcryptopp-git-d17f037ed02b6f60da343b0706d6196fe44d34a3.tar.gz
Remove unneeded asserts
Diffstat (limited to 'lsh512.cpp')
-rw-r--r--lsh512.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lsh512.cpp b/lsh512.cpp
index b973e759..a810b616 100644
--- a/lsh512.cpp
+++ b/lsh512.cpp
@@ -73,7 +73,7 @@
# include <x86intrin.h>
#endif
-// Use GCC_VERSION to avoid Clang, ICC and other imposters
+// Use GCC_VERSION to avoid Clang, ICC and other impostors
#if defined(CRYPTOPP_GCC_VERSION)
# define CRYPTOPP_WORKAROUND_AVX2_BUG 1
#endif
@@ -618,8 +618,6 @@ inline void load_sc(const lsh_u64** p_const_v, size_t i)
inline void msg_add_even(lsh_u64 cv_l[8], lsh_u64 cv_r[8], LSH512_Internal* i_state)
{
- CRYPTOPP_ASSERT(cv_l != NULLPTR);
- CRYPTOPP_ASSERT(cv_r != NULLPTR);
CRYPTOPP_ASSERT(i_state != NULLPTR);
lsh_u64* submsg_e_l = i_state->submsg_e_l;
@@ -678,8 +676,6 @@ inline void msg_add_even(lsh_u64 cv_l[8], lsh_u64 cv_r[8], LSH512_Internal* i_st
inline void msg_add_odd(lsh_u64 cv_l[8], lsh_u64 cv_r[8], LSH512_Internal* i_state)
{
- CRYPTOPP_ASSERT(cv_l != NULLPTR);
- CRYPTOPP_ASSERT(cv_r != NULLPTR);
CRYPTOPP_ASSERT(i_state != NULLPTR);
lsh_u64* submsg_o_l = i_state->submsg_o_l;