1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-29 16:04:32 +00:00

generate EdDSA dest

This commit is contained in:
orignal 2017-03-30 15:48:47 -04:00
parent f058c4b27e
commit cbee8adc0a
2 changed files with 3 additions and 3 deletions

2
i2pd

@ -1 +1 @@
Subproject commit 3d1b6e29c6cf3f1c56c279819e8100b1c775b775
Subproject commit 4448884a3ebf822ecca7b39f2fe9777a79ae1863

View File

@ -21,7 +21,7 @@
#endif
#define SAM_BUFSIZE 65536
#define I2P_DESTINATION_SIZE 521 // EcDSA, GOST and EdDSA, actual size is 224 with trailing A==
#define I2P_DESTINATION_SIZE 521 // EcDSA, GOST and EdDSA, actual size is 524 with trailing A==
namespace SAM
{
@ -729,7 +729,7 @@ std::string Message::destGenerate()
//
///////////////////////////////////////////////////////////
static const char* destGenerateFormat = "DEST GENERATE\n";
static const char* destGenerateFormat = "DEST GENERATE SIGNATURE_TYPE=7\n";
return createSAMRequest(destGenerateFormat);
}