Skip to main content

default_kx_groups

Function default_kx_groups 

Source
pub fn default_kx_groups() -> &'static [&'static dyn SupportedKxGroup]
Expand description

The key exchange groups this provider offers.

X25519 first: it is fast, has no point validation to get wrong, and no invalid-curve attack surface. The NIST curves follow for peers that require them.