0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-15 11:36:00 -05:00
bitcoin-bitcoin-core/src/ecmult.h

16 lines
478 B
C
Raw Normal View History

2013-03-08 02:52:50 +01:00
#ifndef _SECP256K1_ECMULT_
#define _SECP256K1_ECMULT_
2013-03-10 04:24:00 +01:00
#include "num.h"
2013-03-31 17:02:52 +02:00
#include "group.h"
2013-03-08 02:52:50 +01:00
2013-04-01 06:29:30 +02:00
static void secp256k1_ecmult_start(void);
static void secp256k1_ecmult_stop(void);
/** Multiply with the generator: R = a*G */
static void secp256k1_ecmult_gen(secp256k1_gej_t *r, const secp256k1_num_t *a);
/** Double multiply: R = na*A + ng*G */
static void secp256k1_ecmult(secp256k1_gej_t *r, const secp256k1_gej_t *a, const secp256k1_num_t *na, const secp256k1_num_t *ng);
2013-03-09 22:47:40 +01:00
2013-03-08 02:52:50 +01:00
#endif