mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-07 05:26:08 +00:00
Fix func/subfunc parameter names (GH #502)
This commit is contained in:
parent
7bdb62b336
commit
5296e087ad
2
cpu.cpp
2
cpu.cpp
@ -149,7 +149,7 @@ bool CpuId(word32 func, word32 subfunc, word32 output[4])
|
||||
}
|
||||
|
||||
// function 0 returns the highest basic function understood in EAX
|
||||
if(input == 0)
|
||||
if(func == 0)
|
||||
return !!output[0];
|
||||
|
||||
return true;
|
||||
|
4
sha.cpp
4
sha.cpp
@ -790,7 +790,7 @@ size_t SHA224::HashMultipleBlocks(const word32 *input, size_t length)
|
||||
|
||||
void SHA384::InitState(HashWordType *state)
|
||||
{
|
||||
static const word64 s[8] = {
|
||||
const word64 s[8] = {
|
||||
W64LIT(0xcbbb9d5dc1059ed8), W64LIT(0x629a292a367cd507),
|
||||
W64LIT(0x9159015a3070dd17), W64LIT(0x152fecd8f70e5939),
|
||||
W64LIT(0x67332667ffc00b31), W64LIT(0x8eb44a8768581511),
|
||||
@ -800,7 +800,7 @@ void SHA384::InitState(HashWordType *state)
|
||||
|
||||
void SHA512::InitState(HashWordType *state)
|
||||
{
|
||||
static const word64 s[8] = {
|
||||
const word64 s[8] = {
|
||||
W64LIT(0x6a09e667f3bcc908), W64LIT(0xbb67ae8584caa73b),
|
||||
W64LIT(0x3c6ef372fe94f82b), W64LIT(0xa54ff53a5f1d36f1),
|
||||
W64LIT(0x510e527fade682d1), W64LIT(0x9b05688c2b3e6c1f),
|
||||
|
Loading…
x
Reference in New Issue
Block a user