Wycheproof failures #745
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt#745
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Project Wycheproof there are currently 340 JSON files with test vectors.
I have:
From the 65883 executed tests, we have 308 unique failed tcIds (0.5%):
Do not take the numbers as exact; they may vary slightly, as I may have done some simplifications.
For now just this information, I will try to submit separate PRs to fix some of them.
Would it maybe make sense to create a single PR with all the fixes as separate commits and link it to this issue?
not sure, the needed fixes are very different
With these fixes:
I am able to run wycheproof tests with these results:
Just FYI skipped tests are:
Some algorithms (SM3, ML-KEM and ML-DSA) are waiting as pull requests.
Missing algorithms are clear, but there are some cases where we are pretty close, especially RSA and ECC combined with SHAKE128/256. We do support SHAKE128/256, but not in the form of an
ltc_hash_descriptorthat can be passed to e.g.rsa_sign_hash_ex. Maybe two simple helperssha3_shake128_init+sha3_shake256_init(usable forltc_hash_descriptor) based onsha3_shake_initwould do the trick. I am not sure whether it is worth it.