Third step in converting to C: group

This commit is contained in:
Pieter Wuille
2013-03-31 17:02:52 +02:00
parent d73bad33e8
commit f11ff5be70
9 changed files with 395 additions and 454 deletions

View File

@@ -1,13 +1,13 @@
#ifndef _SECP256K1_ECMULT_
#define _SECP256K1_ECMULT_
#include "group.h"
#include "num.h"
#include "group.h"
namespace secp256k1 {
void ECMultBase(GroupElemJac &out, const secp256k1_num_t &gn);
void ECMult(GroupElemJac &out, const GroupElemJac &a, const secp256k1_num_t &an, const secp256k1_num_t &gn);
void ECMultBase(secp256k1_gej_t &out, const secp256k1_num_t &gn);
void ECMult(secp256k1_gej_t &out, const secp256k1_gej_t &a, const secp256k1_num_t &an, const secp256k1_num_t &gn);
}