EcdhHashFn

Type Alias EcdhHashFn 

Source
pub type EcdhHashFn = Option<unsafe extern "C" fn(output: *mut c_uchar, x: *const c_uchar, y: *const c_uchar, data: *mut c_void) -> c_int>;
Expand description

Hash function to use to post-process an ECDH point to get a shared secret.

Aliased Type§

pub enum EcdhHashFn {
    None,
    Some(unsafe extern "C" fn(*mut u8, *const u8, *const u8, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut u8, *const u8, *const u8, *mut c_void) -> i32)

Some value of type T.