support GOST R 34.10
parent
60b93ac3a1
commit
23d95f89f6
|
@ -13,6 +13,7 @@ int main (int argc, char * argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
i2p::crypto::InitCrypto (false);
|
i2p::crypto::InitCrypto (false);
|
||||||
|
i2p::crypto::InitGost ();
|
||||||
|
|
||||||
i2p::data::PrivateKeys keys;
|
i2p::data::PrivateKeys keys;
|
||||||
std::ifstream s(argv[1], std::ifstream::binary);
|
std::ifstream s(argv[1], std::ifstream::binary);
|
||||||
|
@ -44,6 +45,7 @@ int main (int argc, char * argv[])
|
||||||
delete[] buf;
|
delete[] buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i2p::crypto::TerminateGost ();
|
||||||
i2p::crypto::TerminateCrypto ();
|
i2p::crypto::TerminateCrypto ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue