Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/ecmult.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2013, 2014, 2017 Pieter Wuille, Andrew Poelstra * | * Copyright (c) 2013, 2014, 2017 Pieter Wuille, Andrew Poelstra * | ||||
* 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_ECMULT_H | #ifndef SECP256K1_ECMULT_H | ||||
#define SECP256K1_ECMULT_H | #define SECP256K1_ECMULT_H | ||||
#include "num.h" | |||||
#include "group.h" | #include "group.h" | ||||
#include "scalar.h" | #include "scalar.h" | ||||
#include "scratch.h" | #include "scratch.h" | ||||
typedef struct { | typedef struct { | ||||
/* For accelerating the computation of a*P + b*G: */ | /* For accelerating the computation of a*P + b*G: */ | ||||
secp256k1_ge_storage (*pre_g)[]; /* odd multiples of the generator */ | secp256k1_ge_storage (*pre_g)[]; /* odd multiples of the generator */ | ||||
secp256k1_ge_storage (*pre_g_128)[]; /* odd multiples of 2^128*generator */ | secp256k1_ge_storage (*pre_g_128)[]; /* odd multiples of 2^128*generator */ | ||||
Show All 28 Lines |