TunnelDecryption for transit tunnel

This commit is contained in:
orignal 2014-05-15 17:55:09 -04:00
parent 11ac6712e7
commit 7754968e7a
3 changed files with 6 additions and 15 deletions

4
aes.h
View file

@ -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);