Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/extrakeys/tests_exhaustive_impl.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2020 Pieter Wuille * | * Copyright (c) 2020 Pieter Wuille * | ||||
* 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_EXTRAKEYS_TESTS_EXHAUSTIVE_ | #ifndef SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_H | ||||
#define _SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_ | #define SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_H | ||||
#include "src/modules/extrakeys/main_impl.h" | #include "src/modules/extrakeys/main_impl.h" | ||||
#include "include/secp256k1_extrakeys.h" | #include "include/secp256k1_extrakeys.h" | ||||
static void test_exhaustive_extrakeys(const secp256k1_context *ctx, const secp256k1_ge* group) { | static void test_exhaustive_extrakeys(const secp256k1_context *ctx, const secp256k1_ge* group) { | ||||
secp256k1_keypair keypair[EXHAUSTIVE_TEST_ORDER - 1]; | secp256k1_keypair keypair[EXHAUSTIVE_TEST_ORDER - 1]; | ||||
secp256k1_pubkey pubkey[EXHAUSTIVE_TEST_ORDER - 1]; | secp256k1_pubkey pubkey[EXHAUSTIVE_TEST_ORDER - 1]; | ||||
secp256k1_xonly_pubkey xonly_pubkey[EXHAUSTIVE_TEST_ORDER - 1]; | secp256k1_xonly_pubkey xonly_pubkey[EXHAUSTIVE_TEST_ORDER - 1]; | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |