Function s2n_tls_sys::s2n_connection_set_blinding

source ·
pub unsafe extern "C" fn s2n_connection_set_blinding(
    conn: *mut s2n_connection,
    blinding: Type
) -> c_int
Expand description

Used to configure s2n-tls to either use built-in blinding (set blinding to S2N_BUILT_IN_BLINDING) or self-service blinding (set blinding to S2N_SELF_SERVICE_BLINDING).

@param conn The connection object being updated @param blinding The desired blinding mode for the connection @returns S2N_SUCCESS on success. S2N_FAILURE on failure