diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-08-30 16:00:06 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2017-08-30 16:00:06 +0200 |
commit | 84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7 (patch) | |
tree | aa1648c2ba260b8576673677435481d371eec7b0 /src/PolarSSL++/AesCfb128Decryptor.h | |
parent | Update core plugins to latest version (#3951) (diff) | |
download | cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar.gz cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar.bz2 cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar.lz cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar.xz cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.tar.zst cuberite-84941bcc9f25cbe3fd3b2604080d0a1cfd8fbaa7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/mbedTLS++/AesCfb128Decryptor.h (renamed from src/PolarSSL++/AesCfb128Decryptor.h) | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/PolarSSL++/AesCfb128Decryptor.h b/src/mbedTLS++/AesCfb128Decryptor.h index 56b96d3b3..54c5536ea 100644 --- a/src/PolarSSL++/AesCfb128Decryptor.h +++ b/src/mbedTLS++/AesCfb128Decryptor.h @@ -1,4 +1,4 @@ - + // AesCfb128Decryptor.h // Declares the cAesCfb128Decryptor class decrypting data using AES CFB-128 @@ -9,7 +9,7 @@ #pragma once -#include "polarssl/aes.h" +#include "mbedtls/aes.h" @@ -33,14 +33,11 @@ public: bool IsValid(void) const { return m_IsValid; } protected: - aes_context m_Aes; + mbedtls_aes_context m_Aes; /** The InitialVector, used by the CFB mode decryption */ Byte m_IV[16]; - /** Current offset in the m_IV, used by the CFB mode decryption */ - size_t m_IVOffset; - /** Indicates whether the object has been initialized with the Key / IV */ bool m_IsValid; } ; |