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

Optimize size of constant_time_eq #354

Closed
wants to merge 1 commit into from

Conversation

jhand2
Copy link
Collaborator

@jhand2 jhand2 commented Sep 21, 2024

The constant_time_eq crate is used for comparing random context handles. Switch to the fixed-size constant_time_eq_16 comparison function, which uses quite a bit less code space.

Fixes #353

Copy link

linux-foundation-easycla bot commented Sep 21, 2024

CLA Not Signed

@jhand2 jhand2 force-pushed the const-time-eq-optimize branch from 8992731 to d97e744 Compare September 23, 2024 16:36
@jhand2 jhand2 requested a review from zhalvorsen September 23, 2024 16:38
The constant_time_eq crate is used for comparing random context handles.
Switch to the fixed-size constant_time_eq_16 comparison function, which
uses quite a bit less code space.
@jhand2 jhand2 force-pushed the const-time-eq-optimize branch from d97e744 to e3d75c5 Compare September 23, 2024 19:59
@jhand2 jhand2 closed this Sep 23, 2024
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.

Consider replacing constant_time_eq
1 participant