mobilecoinfoundation / sgx

SGX Libraries and Utilities
Apache License 2.0
9 stars 7 forks source link

Add `ConstantTimeEq` impl for wrapped byte structs #407

Closed nick-mobilecoin closed 1 year ago

nick-mobilecoin commented 1 year ago

Types that wrap a byte struct, pub struct foo { pub bytes: [u8; some_size] }, now implement the ConstantTimeEq trait.

nick-mobilecoin commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

codecov[bot] commented 1 year ago

Codecov Report

Merging #407 (965952b) into nick/serialize-quote-nonce (a49e198) will decrease coverage by 0.05%. The diff coverage is 0.00%.

@@                      Coverage Diff                       @@
##           nick/serialize-quote-nonce     #407      +/-   ##
==============================================================
- Coverage                       88.43%   88.39%   -0.05%     
==============================================================
  Files                              40       40              
  Lines                            5640     5643       +3     
==============================================================
  Hits                             4988     4988              
- Misses                            652      655       +3     
Files Changed Coverage Δ
core/types/src/macros.rs 82.46% <0.00%> (-1.64%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more