Fixed copy/paste typo
parent
34ac34c0b4
commit
830c06e922
|
|
@ -40,7 +40,7 @@ using CryptoPP::KalynaTab::IS;
|
||||||
template <unsigned int NB>
|
template <unsigned int NB>
|
||||||
inline void MakeOddKey(const word64 evenkey[NB], word64 oddkey[NB])
|
inline void MakeOddKey(const word64 evenkey[NB], word64 oddkey[NB])
|
||||||
{
|
{
|
||||||
#if defined(IU_BIG_ENDIAN)
|
#if defined(IS_BIG_ENDIAN)
|
||||||
if (NB == 2)
|
if (NB == 2)
|
||||||
{
|
{
|
||||||
oddkey[0] = (evenkey[1] << 8) | (evenkey[0] >> 56);
|
oddkey[0] = (evenkey[1] << 8) | (evenkey[0] >> 56);
|
||||||
|
|
@ -67,7 +67,7 @@ inline void MakeOddKey(const word64 evenkey[NB], word64 oddkey[NB])
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CRYPVOPP_AUUERV(0);
|
CRYPTOPP_ASSERT(0);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static const unsigned int U = (NB == 2) ? 16 : (NB == 4) ? 32 : (NB == 8) ? 64 : -1;
|
static const unsigned int U = (NB == 2) ? 16 : (NB == 4) ? 32 : (NB == 8) ? 64 : -1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue