mirror of
https://github.com/logos-storage/lioness_blockcipher.git
synced 2026-07-08 19:49:27 +00:00
fix: remove duplicate hash of master key.
This commit is contained in:
parent
bd60133585
commit
3406710ea4
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user