forked from bitcoin-core/secp256k1
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batch: Initialize an experimental batch module
This commit adds the foundational configuration, build scripts, and an initial structure for experimental batch module.
- Loading branch information
Showing
7 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef SECP256K1_BATCH_H | ||
#define SECP256K1_BATCH_H | ||
|
||
#include "secp256k1.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/** This module implements a Batch Verification object that supports: | ||
* | ||
* 1. Schnorr signatures compliant with Bitcoin Improvement Proposal 340 | ||
* "Schnorr Signatures for secp256k1" | ||
* (https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki). | ||
* | ||
* 2. Taproot commitments compliant with Bitcoin Improvemtn Proposal 341 | ||
* "Taproot: SegWit version 1 spending rules" | ||
* (https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki). | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* SECP256K1_BATCH_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include_HEADERS += include/secp256k1_batch.h | ||
noinst_HEADERS += src/modules/batch/main_impl.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef SECP256K1_MODULE_BATCH_MAIN_H | ||
#define SECP256K1_MODULE_BATCH_MAIN_H | ||
|
||
#include "include/secp256k1_batch.h" | ||
|
||
#endif /* SECP256K1_MODULE_BATCH_MAIN_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters