mirror of
https://github.com/codestation/mhtools
synced 2025-03-15 22:27:02 +00:00
CryptoEngine: fix CBC size passed to hleUtilsBufferCopyWithRange
This commit is contained in:
parent
2d0e8a3188
commit
29925a5ce9
1 changed files with 3 additions and 3 deletions
|
@ -1943,9 +1943,9 @@ public class CryptoEngine {
|
|||
buf[15] = (byte) seed;
|
||||
|
||||
// Set the the data size to size.
|
||||
buf[16] = 0;
|
||||
buf[17] = 0;
|
||||
buf[18] = 0;
|
||||
buf[16] = (byte) (size >> 24);
|
||||
buf[17] = (byte) (size >> 16);
|
||||
buf[18] = (byte) (size >> 8);
|
||||
buf[19] = (byte) (size);
|
||||
|
||||
ByteBuffer bBuf = ByteBuffer.wrap(buf);
|
||||
|
|
Loading…
Add table
Reference in a new issue