39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
|
|
#ifndef SECP256K1_CHILLDKG_H
|
||
|
|
#define SECP256K1_CHILLDKG_H
|
||
|
|
|
||
|
|
#include "secp256k1.h"
|
||
|
|
#include "secp256k1_extrakeys.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
/** This module implements ChillDKG, a distributed key generation (DKG)
|
||
|
|
* protocol for FROST, as specified by the bip-frost-dkg BIP draft
|
||
|
|
* (https://github.com/BlockstreamResearch/bip-frost-dkg, version 0.3.0-dev).
|
||
|
|
*
|
||
|
|
* This code is currently a work in progress. It's not secure nor stable.
|
||
|
|
* IT IS EXTREMELY DANGEROUS AND RECKLESS TO USE THIS MODULE IN PRODUCTION!
|
||
|
|
*
|
||
|
|
* Moreover, the bip-frost-dkg BIP is still a draft: tagged hashes, wire
|
||
|
|
* formats, and protocol details may change in future BIP versions. There is
|
||
|
|
* no guarantee that this implementation will remain compatible with the
|
||
|
|
* final specification.
|
||
|
|
*
|
||
|
|
* The output of a ChillDKG session (a secret share, the threshold public
|
||
|
|
* key, and the public shares of all participants) is designed to be used
|
||
|
|
* directly with the FROST signing module (see include/secp256k1_frost.h).
|
||
|
|
*
|
||
|
|
* It is recommended to read the documentation in this include file carefully.
|
||
|
|
* Further notes on API usage can be found in src/modules/chilldkg/chilldkg.md.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|