[*] the s member is a u64[] - dont apply 8x modifier to the read index (doesnt apply to write)

This commit is contained in:
Reece Wilson 2022-10-04 13:25:56 +01:00
parent 051db40a1c
commit 278a128834
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ namespace Aurora::Hashing
return {}; 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: case EHashType::eTiger: