fix: remove duplicate hash of master key.

This commit is contained in:
M Alghazwi 2026-06-04 08:32:25 +02:00
parent bd60133585
commit 3406710ea4
No known key found for this signature in database
GPG Key ID: 646E567CAD7DB607

View File

@ -73,7 +73,6 @@ impl LionessKdf for DomSepSha256Kdf {
Digest::update(&mut hash, LIONESS_KDF_DOMAIN);
Digest::update(& mut hash, LIONESS_ROUND_KEY_DOMAINS[i]);
Digest::update(& mut hash, master_key);
Digest::update(& mut hash, master_key);
let output = hash.finalize();
key.copy_from_slice(&output);