drop whitening warmup 0x25->0x7B

This commit is contained in:
Jonas Rabenstein 2025-12-27 20:43:46 +01:00
commit 820ce79b2f

View file

@ -189,11 +189,7 @@ std::span<uint8_t> payload(const std::span<uint8_t> &buffer, const Key &key, Lig
//ESP_LOGV(TAG, "%c%02hhX: reverse: %s", id.kind(), id.value(),
// format_hex_pretty(&result[0], result.size()).c_str());
// TODO: shift seed to drop warmup
auto whitening = Whitening::from_val(0x25);
for (size_t i=0; i<0xf; ++i)
whitening.encode(0);
auto whitening = Whitening::from_val(0x7B);
whitening.encode(result);
return result;