Function ockam_ffi::ockam_vault_ecdh
source · [−]#[no_mangle]
pub extern "C" fn ockam_vault_ecdh(
context: FfiVaultFatPointer,
secret: u64,
peer_publickey: *const u8,
peer_publickey_length: u32,
shared_secret: &mut u64
) -> FfiOckamError
Expand description
Perform an ECDH operation on the supplied Ockam Vault secret
and peer_publickey
. The result
is an Ockam Vault secret of unknown type.