Updated changelog
This commit is contained in:
parent
40870d8553
commit
d6ff159f69
@ -206,12 +206,12 @@ bool CryptionHandler::generate_key_nonce(
|
||||
|
||||
le2be32(generation, buffer, 2);
|
||||
memcpy(&buffer[6], this->iv_struct, this->iv_struct_length);
|
||||
//digest::sha256(buffer, buffer_length, key_cache.key_nonce);
|
||||
digest::sha256(buffer, buffer_length, key_cache.key_nonce);
|
||||
|
||||
auto key_nonce = digest::sha256(buffer, 6 + this->iv_struct_length);
|
||||
/*
|
||||
memcpy(key_cache.key, key_nonce.data(), 16);
|
||||
memcpy(key_cache.nonce, key_nonce.data() + 16, 16);
|
||||
|
||||
*/
|
||||
key_cache.generation = generation;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user