diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-23 14:10:27 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-23 14:10:27 -0400 |
commit | d17f037ed02b6f60da343b0706d6196fe44d34a3 (patch) | |
tree | 9fb6a9c24cc979fef9fdcb9914a2ae62289ad70e /lsh512.cpp | |
parent | dd57c4c7f7507ae50803e41afee6a1217324a958 (diff) | |
download | cryptopp-git-d17f037ed02b6f60da343b0706d6196fe44d34a3.tar.gz |
Remove unneeded asserts
Diffstat (limited to 'lsh512.cpp')
-rw-r--r-- | lsh512.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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;
|