1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:47:45 +00:00

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
parent 11b9e8b366
commit db6a4f2954

View file

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