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

Unnecessary parameters for Dilithium sign_open #181

Open
cyyber opened this issue Jul 10, 2022 · 0 comments
Open

Unnecessary parameters for Dilithium sign_open #181

cyyber opened this issue Jul 10, 2022 · 0 comments
Assignees

Comments

@cyyber
Copy link
Member

cyyber commented Jul 10, 2022

Dilithium crypto_sign_open expected to return only message but consumes size equivalent to message length and signature length. Thus extract_signature is not possible. sign_open must only be used as a bool to verify the signature and the extract_message and extract_signature must be used on the signature_message returned by sign function, instead of sign_open.

@cyyber cyyber self-assigned this Jul 10, 2022
@cyyber cyyber changed the title Incorrect Dilithium sign_open Unnecessary parameters for Dilithium sign_open Jul 10, 2022
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

No branches or pull requests

1 participant