This commit is contained in:
bunnie 2022-01-05 00:56:13 +08:00
parent c6bba1b13e
commit ab4baeb96e

View file

@ -299,7 +299,7 @@ impl<'a> RootKeys {
key_enc key_enc
}, },
_ => { _ => {
// within a single boot, return a stable, non-changing fake ky based off of a single root // within a single boot, return a stable, non-changing fake key based off of a single root
// fake key. This will make it a bit harder for an attacker to "probe out" an oracle and see // fake key. This will make it a bit harder for an attacker to "probe out" an oracle and see
// which keys are null or which are populated. // which keys are null or which are populated.
self.fake_key[0] = key_index; self.fake_key[0] = key_index;