mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
tunnel encryption using AES-NI
This commit is contained in:
parent
6d1d816153
commit
b4b3ba16cc
2 changed files with 31 additions and 0 deletions
4
aes.h
4
aes.h
|
@ -154,7 +154,11 @@ namespace crypto
|
|||
private:
|
||||
|
||||
ECBEncryption m_IVEncryption;
|
||||
#ifdef __x86_64__
|
||||
ECBEncryption m_LayerEncryption;
|
||||
#else
|
||||
CBCEncryption m_LayerEncryption;
|
||||
#endif
|
||||
};
|
||||
|
||||
class TunnelDecryption // with double IV encryption
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue