mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set correct curve parameters for GOST R 34.10
This commit is contained in:
parent
d75b916153
commit
1cb89ce20d
3 changed files with 26 additions and 16 deletions
2
Crypto.h
2
Crypto.h
|
@ -282,7 +282,7 @@ namespace crypto
|
|||
// GOST
|
||||
bool InitGost ();
|
||||
void TerminateGost ();
|
||||
ENGINE * GetGostEngine ();
|
||||
const EVP_PKEY * GetGostPKEY ();
|
||||
uint8_t * GOSTR3411 (const uint8_t * buf, size_t len, uint8_t * digest); // hash
|
||||
|
||||
void InitCrypto (bool precomputation, bool withGost = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue