briansmith / ring

Safe, fast, small crypto using Rust
Other
3.74k stars 704 forks source link

AEAD: Don't store cpu::Features in the key. #1857

Closed briansmith closed 11 months ago

briansmith commented 11 months ago

Have the inner AEAD API take cpu::features() for all operations. Then we will be able to write CPU-capability-based tests using (a variation of) the inner API, which will (when implemented) eliminate the need to use SDE and the other various hacks we use for testing all the implementations.