derive::secp256k1::ffi

Type Alias EllswiftEcdhHashFn

Source
pub type EllswiftEcdhHashFn = Option<unsafe extern "C" fn(_: *mut u8, _: *const u8, _: *const u8, _: *const u8, _: *mut c_void) -> i32>;
Expand description

A hash function used by ellswift_ecdh to hash the final ECDH shared secret.

Aliased Type§

enum EllswiftEcdhHashFn {
    None,
    Some(unsafe extern "C" fn(_: *mut u8, _: *const 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, _: *const u8, _: *mut c_void) -> i32)

Some value of type T.