briansmith / ring

Safe, fast, small crypto using Rust
Other
3.77k stars 708 forks source link

Linux/Android: Use libc definitions of HWCAPs on AArch64. #1982

Closed briansmith closed 8 months ago

briansmith commented 8 months ago

Clarify the AArch64 case considerably by using the libc declarations for the function and all constants. Also clarify that NEON is statically guaranteed by the compiler to be available on AArch64.

Clarify the 32-bit ARM case slightly.

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 96.29%. Comparing base (6b6f7cd) to head (3581681).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1982 +/- ## ========================================== - Coverage 96.29% 96.29% -0.01% ========================================== Files 136 136 Lines 20680 20677 -3 Branches 226 226 ========================================== - Hits 19913 19910 -3 + Misses 733 732 -1 - Partials 34 35 +1 ```

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