mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Crypto: small cleanup
This commit is contained in:
parent
315a8ba1c0
commit
46e7c0657f
7 changed files with 66 additions and 82 deletions
13
Source/Core/Common/Crypto/ec.h
Normal file
13
Source/Core/Common/Crypto/ec.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
// 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"
|
||||
|
||||
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);
|
Loading…
Add table
Add a link
Reference in a new issue