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

During private key loading, there is no indication if the provided 'aux data' is corrupted #25

Open
MarkLuk opened this issue May 7, 2024 · 0 comments

Comments

@MarkLuk
Copy link

MarkLuk commented May 7, 2024

Either the library should provide means to check aux data integrity before passing it to hss_load_private_key or hss_load_private_key shall return an indication that aux data is corrupted.

Something like

expanded_aux = hss_expand_aux_data( aux_data, len_aux_data, &temp_aux,

Check if expanded_aux is 0 and return a warning to the user via info->error_code

@MarkLuk MarkLuk changed the title During private key loading, there is no indication that the provided 'aux data' is corrupted During private key loading, there is no indication if the provided 'aux data' is corrupted May 12, 2024
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