diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-11-13 12:29:45 -0600 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-11-13 12:29:45 -0600 |
| commit | a2a90f73d9d6132f74464737087a2ec1d2f0f9fb (patch) | |
| tree | ac5f866ae7bf5a3546242239ea03e27a3a5f2d85 /assembly/passworddoor | |
| parent | e3e663213c440815d69a946593be25278cc92135 (diff) | |
| download | rvcontroller-a2a90f73d9d6132f74464737087a2ec1d2f0f9fb.tar rvcontroller-a2a90f73d9d6132f74464737087a2ec1d2f0f9fb.tar.gz rvcontroller-a2a90f73d9d6132f74464737087a2ec1d2f0f9fb.tar.bz2 rvcontroller-a2a90f73d9d6132f74464737087a2ec1d2f0f9fb.tar.xz rvcontroller-a2a90f73d9d6132f74464737087a2ec1d2f0f9fb.zip | |
Fix a bug in passworddoor that didn't actually matter in this case
Diffstat (limited to 'assembly/passworddoor')
| -rw-r--r-- | assembly/passworddoor/sha256sum.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/assembly/passworddoor/sha256sum.S b/assembly/passworddoor/sha256sum.S index 657f4c5..86ecd83 100644 --- a/assembly/passworddoor/sha256sum.S +++ b/assembly/passworddoor/sha256sum.S @@ -163,17 +163,18 @@ lw t1,28(t0) add t1,t1,a7 sw t1,28(t0) -la t0,w -cbo.zero (t0) # Wipe memory used by hashing function -la t0,message -cbo.zero (t0) # Making sure to wipe the input too - la t0,origendian lb t0,0(t0) # Read what MBE was at the start bnez t0,1f li t0,0x20 csrc mstatush,t0 # If it was little, then put it back to little +la t0,w +cbo.zero (t0) # Wipe memory used by hashing function +la t0,message +cbo.zero (t0) # Making sure to wipe the input too + + 1: ret horig: .word 0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19 |
