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

ascon-hash: Add Zeroize feature #480

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

aewag
Copy link
Contributor

@aewag aewag commented May 19, 2023

Not zeroizing the state allows to recover any squeezed output. This is because the ascon permutations can be inversed. Hence, access to the complete state allows to perform this operation.

This relies on RustCrypto/sponges#57 and a new release of the ascon crate.

ascon-hash/Cargo.toml Outdated Show resolved Hide resolved
ascon-hash/Cargo.toml Outdated Show resolved Hide resolved
@aewag aewag force-pushed the add-zeroize-ascon-hash branch 2 times, most recently from 47a8262 to 5e875d7 Compare October 23, 2023 13:19
Not zeroizing the state allows to recover any squeezed output. This is
because the `ascon` permutations can be inversed. Hence, access to the
complete state allows to perform this operation.
@aewag aewag marked this pull request as ready for review October 23, 2023 13:44
@newpavlov newpavlov merged commit c640781 into RustCrypto:master Oct 23, 2023
10 checks passed
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.

None yet

2 participants