include chaff output into the hazardous-debug

This commit is contained in:
bunnie 2025-11-02 10:38:29 +08:00
parent ed94245a5c
commit 5de6581698

View file

@ -101,7 +101,8 @@ impl KeyStore {
}
}
// log::info!("chaff: {:x?}", chaff_xor);
#[cfg(feature = "hazardous-debug")]
log::info!("chaff: {:x?}", chaff_xor);
ikm.extend_from_slice(&chaff_xor);
assert!(ikm.len() == (nk_len + 1 + 1) * KEY_LEN); // sanity check that all keys were in fact added