Skip to content

Conversation

@A6GibKm
Copy link
Collaborator

@A6GibKm A6GibKm commented Jul 28, 2025

Prevents timing attacks that can be used to guess possible macs. The subtle crate is already a dependency of digest.

@A6GibKm A6GibKm requested a review from ueno July 28, 2025 19:24
ueno
ueno previously approved these changes Jul 28, 2025
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.

Looks nice!

@A6GibKm
Copy link
Collaborator Author

A6GibKm commented Jul 28, 2025

Thanks!

There is a small (public) api wart I just noticed. Ill fix it tomorrow

@A6GibKm A6GibKm force-pushed the mac-ct-time branch 3 times, most recently from 5839e53 to e1a6fcd Compare July 29, 2025 16:18
@A6GibKm A6GibKm force-pushed the mac-ct-time branch 2 times, most recently from 69b4b39 to f55100c Compare July 29, 2025 17:28
@A6GibKm
Copy link
Collaborator Author

A6GibKm commented Jul 29, 2025

Added documentation.

A6GibKm added 2 commits July 29, 2025 19:40
Prevents timing attacks [1] that can be used to guess possible macs. The
subtle crate is already a dependency of digest.

[1] https://en.wikipedia.org/wiki/Timing_attack
So it is clear we are talking about a mac.
@bilelmoussaoui bilelmoussaoui merged commit d46d5a0 into bilelmoussaoui:main Jul 29, 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