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

Remove unnecessary constant time compare #1974

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Remove unnecessary constant time compare #1974

merged 1 commit into from
Sep 21, 2023

Conversation

inahga
Copy link
Contributor

@inahga inahga commented Sep 21, 2023

It's not necessary to compare in constant time here, because our implementation of AuthenticationToken has a PartialEq implementation that works in constant time.

@inahga inahga requested a review from a team as a code owner September 21, 2023 20:58
@inahga inahga enabled auto-merge (squash) September 21, 2023 21:00
@inahga inahga merged commit 8a3c9d8 into main Sep 21, 2023
8 checks passed
@inahga inahga deleted the inahga/constant-time branch September 21, 2023 21:55
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