Kernel: Fix rng regression from bc7a149039

This commit is contained in:
Nico Weber 2020-08-13 12:53:26 -04:00 committed by Andreas Kling
commit db6a4f2954
Notes: sideshowbarker 2024-07-19 03:40:30 +09:00

View file

@ -73,8 +73,8 @@ public:
cipher.key_stream(buffer_span, counter_span, &counter_span);
// Extract a new key from the prng stream.
cipher.key_stream(buffer_span, counter_span, &counter_span);
Bytes key_span = m_key.span();
cipher.key_stream(key_span, counter_span, &counter_span);
}
template<typename T>