Skip to content
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

Add more generic EdDSA tests #379

Merged
merged 6 commits into from
Apr 15, 2024
Merged

Add more generic EdDSA tests #379

merged 6 commits into from
Apr 15, 2024

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Apr 12, 2024

Description

Implements tests requested in #272

Fixes #272

Checklist

  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • This feature/change has adequate documentation added
  • Code conform to coding style that today cannot yet be enforced via the check style test
  • Commits have short titles and sensible commit messages
  • Coverity Scan has run if needed (code PR) and no new defects were found

@simo5 simo5 requested a review from Jakuje April 12, 2024 20:01
@simo5
Copy link
Member Author

simo5 commented Apr 12, 2024

@Jakuje I stole (and rebased) one of your commits from #292 but otherwise just implemented basic test via changes to tcmpkeys and tgenkeys so they could be used in tests/tedwards

My last commit changes tgenkey to remove custom detection given my general tgenkey changes allow us to call ED25519 checks only from the appropriate test script.

@simo5
Copy link
Member Author

simo5 commented Apr 12, 2024

Lovely, address sanitizer fails w/o a peep in the logs ... will look at it next week

@simo5 simo5 added the covscan Triggers Coverity Scanner label Apr 12, 2024
@github-actions github-actions bot removed the covscan Triggers Coverity Scanner label Apr 12, 2024
@simo5 simo5 force-pushed the edtests branch 2 times, most recently from 367e431 to d2c4440 Compare April 15, 2024 14:37
tests/tcmpkeys.c Outdated Show resolved Hide resolved
tests/tgenkey.c Outdated Show resolved Hide resolved
tests/tgenkey.c Outdated Show resolved Hide resolved
simo5 and others added 6 commits April 15, 2024 11:13
- Make each key type test configurable via command argument
- Call tgenkey from the basic test suite with proper arguments

Signed-off-by: Simo Sorce <[email protected]>
Signed-off-by: Simo Sorce <[email protected]>
This allow to use private URIs w/o interference.

Signed-off-by: Simo Sorce <[email protected]>
@Jakuje Jakuje added the covscan Triggers Coverity Scanner label Apr 15, 2024
@github-actions github-actions bot removed the covscan Triggers Coverity Scanner label Apr 15, 2024
@simo5 simo5 merged commit 2229d9c into latchset:main Apr 15, 2024
29 checks passed
@simo5
Copy link
Member Author

simo5 commented Apr 15, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test coverage for key comparison and getting public key data from EdDSA
2 participants