sprofile: various correctness fixes.

This commit is contained in:
Michael Scire committed 2021-10-29 17:38:44 -07:00
1 parent 2a0b99d9f9
commit 4e92687cab
6 files changed
+24 -4

No files matched your search

@@ -149,7 +149,7 @@ namespace ams::crypto::impl {
/* Copy in any leftover data. */
if (const auto left = size % BlockSize; left > 0) {
std::memcpy(m_y, cur_block, size);
std::memcpy(m_y, cur_block, left);
}
}