dalek-cryptography / curve25519-dalek

A pure-Rust implementation of group operations on Ristretto and Curve25519
Other
867 stars 439 forks source link

curve25519-dalek: disable SIMD on UEFI targets #552

Open tarcieri opened 1 year ago

tarcieri commented 1 year ago

It would probably be good for is_capable_simd to return false on UEFI targets, which are a bit weird and configured -mmx,-sse,+soft-floats.

i don't think this is a practical problem for building on UEFI targets, since it's already special cased in cpufeatures.