mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
initial support of GOST R 34.10-2012
This commit is contained in:
parent
a52064463e
commit
5bcc5ff873
6 changed files with 70 additions and 71 deletions
|
@ -797,15 +797,6 @@ namespace crypto
|
|||
m_OpenSSLMutexes[type]->unlock ();
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
uint8_t * GOSTR3411 (const uint8_t * buf, size_t len, uint8_t * digest)
|
||||
{
|
||||
// TODO: implement actual GOST R 34.11
|
||||
// SHA-256 is used for testing only
|
||||
SHA256 (buf, len, digest);
|
||||
return digest;
|
||||
}
|
||||
|
||||
|
||||
void InitCrypto (bool precomputation, bool withGost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue