Function s2n_tls_sys::s2n_connection_get_curve

source ·
pub unsafe extern "C" fn s2n_connection_get_curve(
    conn: *mut s2n_connection
) -> *const c_char
Expand description

Function to get the human readable elliptic curve name for the connection.

@param conn A pointer to the s2n connection @returns A string indicating the elliptic curve used during ECDHE key exchange. The string “NONE” is returned if no curve was used.