mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
fix for DLL-import configuration
This commit is contained in:
parent
826889105d
commit
df3d51172b
14
des.cpp
14
des.cpp
@ -117,6 +117,13 @@ static inline void FPERM(word32 &left, word32 &right)
|
||||
left = rotrFixed(left^work, 4U);
|
||||
}
|
||||
|
||||
void DES::Base::UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &)
|
||||
{
|
||||
AssertValidKeyLength(length);
|
||||
|
||||
RawSetKey(GetCipherDirection(), userKey);
|
||||
}
|
||||
|
||||
#ifndef CRYPTOPP_IMPORTS
|
||||
|
||||
/* Tables defined in the Data Encryption Standard documents
|
||||
@ -345,13 +352,6 @@ void RawDES::RawProcessBlock(word32 &l_, word32 &r_) const
|
||||
l_ = l; r_ = r;
|
||||
}
|
||||
|
||||
void DES::Base::UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &)
|
||||
{
|
||||
AssertValidKeyLength(length);
|
||||
|
||||
RawSetKey(GetCipherDirection(), userKey);
|
||||
}
|
||||
|
||||
void DES_EDE2::Base::UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &)
|
||||
{
|
||||
AssertValidKeyLength(length);
|
||||
|
Loading…
Reference in New Issue
Block a user