Type Alias secp256k1_sys::EllswiftEcdhHashFn
source · pub type EllswiftEcdhHashFn = Option<unsafe extern "C" fn(output: *mut c_uchar, x32: *const c_uchar, ell_a64: *const c_uchar, ell_b64: *const c_uchar, data: *mut c_void) -> c_int>;
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),
}