briansmith / ring

Safe, fast, small crypto using Rust
Other
3.65k stars 684 forks source link

AES internals: Clarify safety of `aes::Key::new()`. #2014

Closed briansmith closed 3 months ago

briansmith commented 3 months ago

Merge bytes and variant into a single parameter that statically guarantees consistency. Use BitLength for bit-length parameters in extern functions. Add SAFETY comments.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.30%. Comparing base (d651787) to head (0a50f96). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2014 +/- ## ======================================= Coverage 96.29% 96.30% ======================================= Files 140 140 Lines 20814 20816 +2 Branches 226 226 ======================================= + Hits 20043 20046 +3 + Misses 737 736 -1 Partials 34 34 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.