Bitcoin
src
secp256k1
src
ecmult_const.h
Go to the documentation of this file.
1
/**********************************************************************
2
* Copyright (c) 2015 Andrew Poelstra *
3
* Distributed under the MIT software license, see the accompanying *
4
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5
**********************************************************************/
6
7
#ifndef SECP256K1_ECMULT_CONST_H
8
#define SECP256K1_ECMULT_CONST_H
9
10
#include "
scalar.h
"
11
#include "
group.h
"
12
13
/* Here `bits` should be set to the maximum bitlength of the _absolute value_ of `q`, plus
14
* one because we internally sometimes add 2 to the number during the WNAF conversion. */
15
static
void
secp256k1_ecmult_const
(
secp256k1_gej
*r,
const
secp256k1_ge
*a,
const
secp256k1_scalar
*q,
int
bits);
16
17
#endif
/* SECP256K1_ECMULT_CONST_H */
group.h
secp256k1_gej
Definition:
group.h:24
secp256k1_ecmult_const
static void secp256k1_ecmult_const(secp256k1_gej *r, const secp256k1_ge *a, const secp256k1_scalar *q, int bits)
scalar.h
secp256k1_ge
Definition:
group.h:14
secp256k1_scalar
Definition:
scalar_4x64.h:13
Generated by
1.8.15