dolphin/Source/Core/Common/Crypto/ec.h

14 lines
387 B
C
Raw Normal View History

2014-02-28 11:41:10 +00:00
// Copyright 2007,2008 Segher Boessenkool <segher@kernel.crashing.org>
// Licensed under the terms of the GNU GPL, version 2
// http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
#pragma once
#include "Common/CommonTypes.h"
2016-01-21 20:16:51 +00:00
void generate_ecdsa(u8* R, u8* S, const u8* k, const u8* hash);
2014-02-28 11:41:10 +00:00
2016-01-21 20:16:51 +00:00
void ec_priv_to_pub(const u8* k, u8* Q);
void point_mul(u8* d, const u8* a, const u8* b);