Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
crypto/tls: de-prioritize AES cipher suites when lacking hardware support #41181
We already prioritize ChaCha20 if we lack AES hardware, as software AES implementations are slow and less secure, and on the client side that's the best we can do. On the server, though, that only applies if
This is why I didn't expose the default preference order! This logic can't be expressed as a static preference order.