-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPECK64 different output if input is passed in chunks #945
Comments
OFB mode look broken at the moment. When opening
The The current scorecard is ECB, CBC and CTR - Ok. OFB and probably CFB - Bad. All of the modes use |
Cleared at Commit 62ee118379f3. I don't know when I'll have the time to look at this issue. It is low priority since 64-bit block ciphers are not likely to be used nowadays. The 128-bit ciphers are OK. |
@noloader this commit appears to break my CI. The tests weren't updated? |
This reverts commit 62ee118.
Yeah, it broke mine, too. The ECB tests were generated with SIMON and SPECK reference implementation. Whatever is going on is most likely on our side. Let me take a look. |
So it looks like the SIMON64 and SPECK64 keys were still being pre-splatted on the SSE4 path in That break was cleared at Commit 84ab41902908. |
Thanks! BTW, you sure you want to drop SSE4 though? I'd probably prefer to live with chunking issues...? |
Yeah, I know what you mean. I think the library has to be correct before it can be fast. If it is not correct, then it does not matter if it is fast. |
…"" This reverts commit 8cba673.
I removed the 64-bit If they are causing bad code then they are a hazard. Other people should not be using them. I'll add a note about them in the head notes so someone can revert the change if they want the templates. |
This reverts commit 62ee118.
…"" This reverts commit 88094eb.
This was reported: weidai11/cryptopp#945 But it is still an issue, and impeding code coverage in OSS-Fuzz, so I'm disabling this for now.
Reproducer:
Compile this with and without
-DCHUNKED
. Both should output:But when compiled with
-DCHUNKED
, it outputs:Tested on Linux x64, Crypto++ recent master branch.
The text was updated successfully, but these errors were encountered: