You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
424 B
13 lines
424 B
#ifndef LIGHTNING_COMMON_ECDH_H
|
|
#define LIGHTNING_COMMON_ECDH_H
|
|
#include "config.h"
|
|
|
|
struct pubkey;
|
|
struct secret;
|
|
|
|
/* This function is implemented differently in various daemons and tools:
|
|
* subdaemons need to talk to the HSM via hsm_fd, lightningd needs to use
|
|
* its HSM interface, and tools can implement this directly. */
|
|
void ecdh(const struct pubkey *point, struct secret *ss);
|
|
|
|
#endif /* LIGHTNING_COMMON_ECDH_H */
|
|
|