Skip to content

Commit

Permalink
Fixed copy/paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed May 24, 2017
1 parent 34ac34c commit 830c06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kalyna.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ using CryptoPP::KalynaTab::IS;
template <unsigned int NB>
inline void MakeOddKey(const word64 evenkey[NB], word64 oddkey[NB])
{
#if defined(IU_BIG_ENDIAN)
#if defined(IS_BIG_ENDIAN)
if (NB == 2)
{
oddkey[0] = (evenkey[1] << 8) | (evenkey[0] >> 56);
Expand All @@ -67,7 +67,7 @@ inline void MakeOddKey(const word64 evenkey[NB], word64 oddkey[NB])
}
else
{
CRYPVOPP_AUUERV(0);
CRYPTOPP_ASSERT(0);
}
#else
static const unsigned int U = (NB == 2) ? 16 : (NB == 4) ? 32 : (NB == 8) ? 64 : -1;
Expand Down

0 comments on commit 830c06e

Please sign in to comment.