Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/schnorr/tests_impl.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2017 Amaury SÉCHET * | * Copyright (c) 2017 Amaury SÉCHET * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.* | * file COPYING or https://www.opensource.org/licenses/mit-license.php.* | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#ifndef SECP256K1_MODULE_SCHNORR_TESTS | #ifndef SECP256K1_MODULE_SCHNORR_TESTS_H | ||||
#define SECP256K1_MODULE_SCHNORR_TESTS | #define SECP256K1_MODULE_SCHNORR_TESTS_H | ||||
#include "include/secp256k1_schnorr.h" | #include "include/secp256k1_schnorr.h" | ||||
void test_schnorr_end_to_end(void) { | void test_schnorr_end_to_end(void) { | ||||
unsigned char privkey[32]; | unsigned char privkey[32]; | ||||
unsigned char message[32]; | unsigned char message[32]; | ||||
unsigned char schnorr_signature[64]; | unsigned char schnorr_signature[64]; | ||||
secp256k1_pubkey pubkey; | secp256k1_pubkey pubkey; | ||||
▲ Show 20 Lines • Show All 506 Lines • Show Last 20 Lines |