mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Kernel: Fix rng regression from bc7a149039
This commit is contained in:
parent
11b9e8b366
commit
db6a4f2954
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue