Function bearssl::br_ssl_server_init_minf2g
[−]
[src]
pub unsafe extern "C" fn br_ssl_server_init_minf2g(
cc: *mut br_ssl_server_context,
chain: *const br_x509_certificate,
chain_len: usize,
sk: *const br_ec_private_key
)
\brief SSL server profile: minf2g.
This profile uses only TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256. Server key is EC, and ECDHE key exchange is used. This suite provides forward security, with a higher CPU expense on the client and server (by a factor of about 3 to 4), and a somewhat larger code footprint (compared to "minu2g" and "minv2g").
\param cc server context to initialise. \param chain server certificate chain. \param chain_len certificate chain length (number of certificate). \param sk EC private key.