Function bearssl::br_ssl_server_init_mine2g
[−]
[src]
pub unsafe extern "C" fn br_ssl_server_init_mine2g(
cc: *mut br_ssl_server_context,
chain: *const br_x509_certificate,
chain_len: usize,
sk: *const br_rsa_private_key
)
\brief SSL server profile: mine2g.
This profile uses only TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. Server key is RSA, and ECDHE key exchange is used. This suite provides forward security, with a higher CPU expense on the client, and a somewhat larger code footprint (compared to "minr2g").
\param cc server context to initialise. \param chain server certificate chain. \param chain_len certificate chain length (number of certificate). \param sk RSA private key.