Fix warnings unearthed by #579

This commit is contained in:
Tillmann Karras
2014-07-13 02:16:51 +02:00
parent 99d4ab0b71
commit 0ccee6c87b
18 changed files with 6 additions and 141 deletions

View File

@ -297,7 +297,7 @@ static void point_add(u8 *r, const u8 *p, const u8 *q)
elt_add(ry, s, rx);
}
void point_mul(u8 *d, const u8 *a, const u8 *b) // a is bignum
static void point_mul(u8 *d, const u8 *a, const u8 *b) // a is bignum
{
u32 i;
u8 mask;

View File

@ -6,8 +6,6 @@
#include "Common/CommonTypes.h"
void point_mul(u8 *d, const u8 *a, const u8 *b);
void generate_ecdsa(u8 *R, u8 *S, const u8 *k, const u8 *hash);
void ec_priv_to_pub(const u8 *k, u8 *Q);