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
405 B

#ifndef LIGHTNING_COMMON_ECDH_HSMD_H
#define LIGHTNING_COMMON_ECDH_HSMD_H
#include "config.h"
#include <common/ecdh.h>
#include <common/status_levels.h>
/* The via-the-hsmd implementation of ecdh(). */
/* You must call this before calling ecdh(). */
void ecdh_hsmd_setup(int hsm_fd,
void (*failed)(enum status_failreason,
const char *fmt, ...));
#endif /* LIGHTNING_COMMON_ECDH_HSMD_H */