Skip to content

ascon-hash: Add Zeroize feature#480

Merged
newpavlov merged 1 commit intoRustCrypto:masterfrom
aewag:add-zeroize-ascon-hash
Oct 23, 2023
Merged

ascon-hash: Add Zeroize feature#480
newpavlov merged 1 commit intoRustCrypto:masterfrom
aewag:add-zeroize-ascon-hash

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.

@aewag aewag force-pushed the add-zeroize-ascon-hash branch 2 times, most recently from 4b8845c to 991f8f1 Compare October 23, 2023 13:07
@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 force-pushed the add-zeroize-ascon-hash branch from 5e875d7 to bffd086 Compare October 23, 2023 13:25
@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
flaub pushed a commit to risc0/RustCrypto-hashes that referenced this pull request Jul 24, 2025
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.
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.

2 participants