Function bearssl::br_ssl_server_init_minv2g [] [src]

pub unsafe extern "C" fn br_ssl_server_init_minv2g(
    cc: *mut br_ssl_server_context,
    chain: *const br_x509_certificate,
    chain_len: usize,
    sk: *const br_ec_private_key
)

\brief SSL server profile: minv2g.

This profile uses only TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256. Server key is EC, and ECDH key exchange is used; the issuing CA used an EC key.

The "minu2g" and "minv2g" profiles do not provide forward secrecy, but are the lightest on the server (for CPU usage), and are rather inexpensive on the client as well.

\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.