Commit 56198e08 authored by johan's avatar johan

Code cleaning

parent 2356a1ab
......@@ -34,7 +34,7 @@ namespace settings {
// Each session stores a shared AD given at built and derived from Identity keys of sender and receiver
// SharedAD is computed by HKDF-Sha511(session Initiator Ik || session receiver Ik || session Initiator device Id || session receiver device Id)
constexpr size_t DRSessionSharedADSize=31;
constexpr size_t DRSessionSharedADSize=32;
static_assert(DRSessionSharedADSize<64, "Shared AD is generated through HKDF-Sha512 with only one round implemented so its size can't be more than Sha512 max output size");
// Maximum number of Message we can skip(and store their keys) at reception of one message
......
This diff is collapsed.
......@@ -519,7 +519,6 @@ static void lime_update_SPk() {
* - Check we have two message key in localStorage
* - decrypt a message
* - Check we have one message key in localStorage
* - simulate a move forward in time
* - call the update
* - Check we have no more message key in storage
* - try to decrypt the message, it shall fail
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment