-
Notifications
You must be signed in to change notification settings - Fork 67
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
Testcases failure #65
Comments
Sorry about those. I know about them. This is an area where I need to find the time and patience/motivation for. And yes, I think I should handle this a bit better so that not so many issues in that area are in the public repository. At the time being the best you can do is to disable these Keccak tests. The algorithm as such passes the relevant testcases fine, just the Unicode convenience implementation doesn't pass the tests, but that is most likely a failure in the test implementation. |
I want to help you as good as possible with improving DEC. I am very happy that DEC is maintained all the years to work on the latest Delphi versions |
Feel free to give a specific task to me! I will look at the Keccak issues today. |
Thanks for offering help! I really appreciate that! If you like we can switch to using e-mail for conversation, in case that's more convenient. One of my mail addresses is the one listed as main contact in notice.txt. |
About this Keccak issue: Keccak is the original version of SHA3. When creating the SHA3 standard, NIST as added some bits to the unhashed message to identify the variant of SHA3 algorithm (SHA3 vs. SHake etc.). Now some libraries had implemented Keccak and didn't notice the difference to SHA3 and named their implementation SHA3. That's wy Keccak got added to DEC after adding SHA3. |
Currently, there are a few things that I am confused about. I hope I don't annoy you with my many questions :-) (1) First, I am a bit confused why you think it is an Unicode problem. Inside all (2) I didn't quite understand what you said about SHA3 and Keccak being different. At least in the test cases If (3) Next confusion is, how the test cases are written; maybe you can help me understanding.
The PDF writes that the test message And in If I remove the first vector, then I see that the second vector also fails:
Here, the test vector (4) For the Keccak224 testcase, I see that the SHA3 test vector files
Thank you very much for your help! In re email communication: I think we can do that for sure. However, to share screenshots and formatted source code snippets, GitHub has better options in the visualization. It would just be more comfortable to keep talking in German :-) |
Ok, we can switch to e-mail if you send me one and then we can of course switch to german ;-)
|
I found this issue! Now, all Keccak testcases except |
Analysis for TestCalcUnicodeString :
|
Keccak tests now pass except for Unicode String Test which might be impossible , more details in MHumm#65
All test cases except the Unicode test case are working now. MHumm#65
(as previously mentioned in #62 )
I am using Delphi 11, have compiled DEC60.exe to compile the DCU files and then immediately compiled and ran DECUnitTestSuite.exe
There are the following problems "out of the box":
The vector is from gcmEncryptExtIV128.rsp
I guess this is the same as #52 (comment)
The text was updated successfully, but these errors were encountered: