[*] the s member is a u64[] - dont apply 8x modifier to the read index (doesnt apply to write)
This commit is contained in:
parent
051db40a1c
commit
278a128834
@ -265,7 +265,7 @@ namespace Aurora::Hashing
|
||||
return {};
|
||||
}
|
||||
|
||||
return AuMemoryViewRead(this->state_.sha3.s, this->state_.sha3.s + (8 * this->state_.sha3.word_index));
|
||||
return AuMemoryViewRead(this->state_.sha3.s, &this->state_.sha3.s[this->state_.sha3.word_index]);
|
||||
}
|
||||
|
||||
case EHashType::eTiger:
|
||||
|
@ -27,7 +27,7 @@ namespace Aurora::Parse
|
||||
(unsigned long)length,
|
||||
AuReinterpretCast<unsigned char *>(&decoded[0]),
|
||||
&length,
|
||||
BASE32_RFC4648);
|
||||
BASE32_RFC4648);
|
||||
if (iRet != CRYPT_OK)
|
||||
{
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user