update
Change-Id: Ieca8d47963634a7bb410fc9b7c3860fd438a8fff
diff --git a/src/detail/ca-request-state.hpp b/src/detail/ca-request-state.hpp
index 120a283..fe4db23 100644
--- a/src/detail/ca-request-state.hpp
+++ b/src/detail/ca-request-state.hpp
@@ -111,12 +111,15 @@
/**
* @brief The encryption key for the requester.
*/
- std::array<uint8_t, 16> encryptionKey;
+ std::array<uint8_t, 16> encryptionKey = {};
/**
- * @brief The AES block counter for the requester.
+ * @brief The last Initialization Vector used by the AES encryption.
*/
- uint32_t aesBlockCounter = 0;
-
+ std::vector<uint8_t> encryptionIv;
+ /**
+ * @brief The last Initialization Vector used by the other side's AES encryption.
+ */
+ std::vector<uint8_t> decryptionIv;
/**
* @brief The challenge type.
*/