ec: Avoid exposing internal function

This commit is contained in:
Léo Lam
2018-05-15 21:24:45 +02:00
parent b9dd94b9b2
commit e83591f188
3 changed files with 12 additions and 4 deletions

View File

@ -4,10 +4,12 @@
#pragma once
#include <array>
#include "Common/CommonTypes.h"
void generate_ecdsa(u8* R, u8* S, const u8* k, const u8* hash);
void ec_priv_to_pub(const u8* k, u8* Q);
void point_mul(u8* d, const u8* a, const u8* b);
std::array<u8, 60> ComputeSharedSecret(const u8* private_key, const u8* public_key);