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

FIX: Non-KEX-algos may choose to not implement ::generate_another() #3786

Conversation

reneme
Copy link
Collaborator

@reneme reneme commented Oct 31, 2023

Some algorithms (like HSS/LMS #3716) cannot even implement it at all, because their public key does not provide enough information about the private key's internal parameters.

@reneme reneme requested review from randombit and lieser October 31, 2023 16:26
@reneme reneme self-assigned this Oct 31, 2023
* same algorithm parameters as this key.
* same algorithm parameters as this key. This is most useful for algorithms
* that support PublicKeyOperation::KeyAgreement to generate a fitting ephemeral
* key pair. For other key types it might throw NotImplemented.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not_Implemented

@coveralls
Copy link

coveralls commented Oct 31, 2023

Coverage Status

coverage: 91.704% (-0.007%) from 91.711% when pulling 87bcc79 on Rohde-Schwarz:fix/allow_not_implementing_generate_another into 7713fa9 on randombit:master.

Some algorithms (like HSS/LMS) cannot even implement it at all,
because their public key does not provide enough information about
the private key's internal parameters.
@reneme reneme force-pushed the fix/allow_not_implementing_generate_another branch from 18f2275 to 87bcc79 Compare October 31, 2023 18:27
@reneme reneme merged commit 55b92d1 into randombit:master Oct 31, 2023
37 checks passed
@reneme reneme deleted the fix/allow_not_implementing_generate_another branch October 31, 2023 20:29
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.

3 participants