3 ms·
Off-by-one error. Didn't do the 1 byte update.
by tinglymintyfrsh 4y ago
Off-by-one error. Didn't do the 1 byte update.
- tptacek 4y agoSee downthread, but I don't think it matters. I didn't look at the code before writing the test case; the code here is just the SHA3 transform, not the buffer management code around it, which AFAIK is just Go code. I don't see an opportunity for the overflow here?