pub unsafe extern "C" fn s2n_config_add_dhparams(
config: *mut s2n_config,
dhparams_pem: *const i8
) -> i32
Expand description
Associates a set of Diffie-Hellman parameters with an s2n_config
object.
@note dhparams_pem
should be PEM encoded DH parameters.
@param config The configuration object being updated @param dhparams_pem A string containing the PEM encoded DH parameters. @returns S2N_SUCCESS on success. S2N_FAILURE on failure