mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-13 00:41:07 +00:00
fix compile
This commit is contained in:
parent
c4365a3870
commit
b1be555667
@ -8,7 +8,7 @@
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, unsigned int keylen)
|
||||
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, size_t keylen)
|
||||
{
|
||||
FixedSizeSecBlock<word32, 8> k0;
|
||||
GetUserKey(LITTLE_ENDIAN_ORDER, k0.begin(), 8, userKey, keylen);
|
||||
|
@ -429,6 +429,6 @@ NAMESPACE_BEGIN(CryptoPP)
|
||||
k[(8-r)*4 + 6] = c; \
|
||||
k[(8-r)*4 + 7] = d;}
|
||||
|
||||
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, unsigned int keylen);
|
||||
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, size_t keylen);
|
||||
|
||||
NAMESPACE_END
|
||||
|
Loading…
x
Reference in New Issue
Block a user