shadowsocks / crypto2

The fastest cryptographic library in the galaxy
MIT License
350 stars 39 forks source link

enable optimization dynamically if target-feature is unknown #24

Closed zonyitoo closed 3 years ago

zonyitoo commented 3 years ago

When compile without required features, such as aes on x86, crypto on Aarch64, this PR will try to enable the optimization in the runtime.

If it is compiled with required features, then there will be exactly the same as the current implementation.