Skip to content

Conversation

@A6GibKm
Copy link
Collaborator

@A6GibKm A6GibKm commented Jul 25, 2025

A mac does not contain sensitive data (no more than a hash at least), it does not need zeroizing on drop.

A mac does not contain sensitive data (no more than a hash at least), it
does not need zeroizing on drop.
@A6GibKm A6GibKm requested a review from ueno July 25, 2025 08:29
Copy link
Collaborator

@ueno ueno left a comment

Choose a reason for hiding this comment

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

LGTM! I suspect that we could hide the content of MAC behind a newtype to make sure the values are always compared in a constant-time manner (i.e. using memcmp::eq), or at least suggesting that, though it might require changes in the other parts of the API.

@bilelmoussaoui bilelmoussaoui merged commit a212ebe into bilelmoussaoui:main Jul 25, 2025
7 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.

3 participants