mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
TunnelDecryption for transit tunnel
This commit is contained in:
parent
11ac6712e7
commit
7754968e7a
3 changed files with 6 additions and 15 deletions
4
aes.h
4
aes.h
|
@ -143,7 +143,7 @@ namespace crypto
|
|||
{
|
||||
public:
|
||||
|
||||
void SetKeys (uint8_t * layerKey, uint8_t * ivKey)
|
||||
void SetKeys (const uint8_t * layerKey, const uint8_t * ivKey)
|
||||
{
|
||||
m_LayerEncryption.SetKey (layerKey);
|
||||
m_IVEncryption.SetKey (ivKey);
|
||||
|
@ -165,7 +165,7 @@ namespace crypto
|
|||
{
|
||||
public:
|
||||
|
||||
void SetKeys (uint8_t * layerKey, uint8_t * ivKey)
|
||||
void SetKeys (const uint8_t * layerKey, const uint8_t * ivKey)
|
||||
{
|
||||
m_LayerDecryption.SetKey (layerKey);
|
||||
m_IVDecryption.SetKey (ivKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue