mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle EcDSA signatures
This commit is contained in:
parent
95524c8db3
commit
e0635548e9
2 changed files with 22 additions and 14 deletions
|
@ -44,13 +44,6 @@ namespace transport
|
|||
uint8_t padding[15];
|
||||
uint8_t signature[40];
|
||||
};
|
||||
|
||||
|
||||
struct NTCPPhase4
|
||||
{
|
||||
uint8_t signature[40];
|
||||
uint8_t padding[8];
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
@ -129,7 +122,8 @@ namespace transport
|
|||
NTCPPhase1 phase1;
|
||||
NTCPPhase2 phase2;
|
||||
NTCPPhase3 phase3;
|
||||
NTCPPhase4 phase4;
|
||||
i2p::crypto::AESAlignedBuffer<64> phase4; // 64 bytes max signature len
|
||||
size_t phase4Len;
|
||||
} * m_Establisher;
|
||||
|
||||
uint8_t m_ReceiveBuffer[NTCP_BUFFER_SIZE + 16], m_TimeSyncBuffer[16];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue