mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
handle any incoming post quantum crypto type
This commit is contained in:
parent
67fe6faf2d
commit
bbfe81cb79
6 changed files with 41 additions and 43 deletions
|
@ -109,7 +109,10 @@ namespace client
|
|||
protected:
|
||||
|
||||
// GarlicDestination
|
||||
bool SupportsRatchets () const override { return (bool)m_ECIESx25519Decryptor; }
|
||||
i2p::data::CryptoKeyType GetRatchetsHighestCryptoType () const override
|
||||
{
|
||||
return m_ECIESx25519Decryptor ? i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD : 0;
|
||||
}
|
||||
// LeaseSetDestination
|
||||
void CleanupDestination () override;
|
||||
i2p::data::CryptoKeyType GetPreferredCryptoType () const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue