drop whitening warmup 0x25->0x7B
This commit is contained in:
parent
869cf85ff9
commit
820ce79b2f
1 changed files with 1 additions and 5 deletions
|
|
@ -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(),
|
//ESP_LOGV(TAG, "%c%02hhX: reverse: %s", id.kind(), id.value(),
|
||||||
// format_hex_pretty(&result[0], result.size()).c_str());
|
// format_hex_pretty(&result[0], result.size()).c_str());
|
||||||
|
|
||||||
// TODO: shift seed to drop warmup
|
auto whitening = Whitening::from_val(0x7B);
|
||||||
auto whitening = Whitening::from_val(0x25);
|
|
||||||
for (size_t i=0; i<0xf; ++i)
|
|
||||||
whitening.encode(0);
|
|
||||||
|
|
||||||
whitening.encode(result);
|
whitening.encode(result);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue