Split up ecmult and ecmult_gen entirely

This commit is contained in:
Pieter Wuille
2014-10-26 03:42:24 -07:00
parent bd696ebd3f
commit 949c1ebb5e
7 changed files with 148 additions and 115 deletions

17
src/ecmult_gen.h Normal file
View File

@@ -0,0 +1,17 @@
// Copyright (c) 2013-2014 Pieter Wuille
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _SECP256K1_ECMULT_GEN_
#define _SECP256K1_ECMULT_GEN_
#include "num.h"
#include "group.h"
static void secp256k1_ecmult_gen_start(void);
static void secp256k1_ecmult_gen_stop(void);
/** Multiply with the generator: R = a*G */
static void secp256k1_ecmult_gen(secp256k1_gej_t *r, const secp256k1_num_t *a);
#endif