mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Clear MSVC warning
This commit is contained in:
parent
5107611cce
commit
bbb29e9ead
2
cham.cpp
2
cham.cpp
@ -128,7 +128,7 @@ void CHAM64::Base::UncheckedSetKey(const byte *userKey, unsigned int keyLength,
|
||||
m_rk[(i + m_kw) ^ 1] = rk1 ^ rotlConstant<1>(rk1) ^ rotlConstant<11>(rk1);
|
||||
i++;
|
||||
|
||||
const word16 rk2 = rk & 0xffff;
|
||||
const word16 rk2 = static_cast<word16>(rk & 0xffff);
|
||||
m_rk[i] = rk2 ^ rotlConstant<1>(rk2) ^ rotlConstant<8>(rk2);
|
||||
m_rk[(i + m_kw) ^ 1] = rk2 ^ rotlConstant<1>(rk2) ^ rotlConstant<11>(rk2);
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user