rpcsx/rpcs3/Crypto/ec.h

13 lines
432 B
C
Raw Permalink Normal View History

#pragma once
// Copyright (C) 2014 Hykem <hykem@hotmail.com>
// Licensed under the terms of the GNU GPL, version 2.0 or later versions.
// http://www.gnu.org/licenses/gpl-2.0.txt
#include "util/types.hpp"
2023-07-12 23:04:14 +02:00
void ecdsa_set_curve(const u8* p, const u8* a, const u8* b, const u8* N, const u8* Gx, const u8* Gy);
void ecdsa_set_pub(const u8* Q);
void ecdsa_set_priv(const u8* k);
2025-03-04 19:38:16 +01:00
bool ecdsa_verify(const u8* hash, u8* R, u8* S);