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

Implement constant-time array comparison in Rust #1899

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

briansmith
Copy link
Owner

No description provided.

@briansmith briansmith self-assigned this Jan 11, 2024
@briansmith
Copy link
Owner Author

This is blocked on #1898.

Copy link

codecov bot commented Jan 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (accca78) 96.02% compared to head (f629a6e) 96.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1899   +/-   ##
=======================================
  Coverage   96.02%   96.02%           
=======================================
  Files         136      137    +1     
  Lines       20776    20792   +16     
  Branches      226      226           
=======================================
+ Hits        19950    19966   +16     
  Misses        792      792           
  Partials       34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Add `RING_value_barrier_w` so that Rust code can use `value_barrier_w`.

Then use it to implement the constant-time comparison in Rust.
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.

1 participant