1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

Kernel: Move Random.{h,cpp} code to Security subdirectory

This commit is contained in:
Liav A 2023-02-24 19:49:37 +02:00 committed by Jelle Raaijmakers
parent 1b04726c85
commit 490856453d
36 changed files with 35 additions and 35 deletions

View file

@ -97,7 +97,7 @@ public:
// Encryption, even when decrypting AES-CTR.
// TODO: How to deal with ciphers that take different arguments?
// FIXME: Add back the default intent parameter once clang-11 is the default in GitHub Actions.
// Once added back, remove the parameter where it's constructed in get_random_bytes in Kernel/Random.h.
// Once added back, remove the parameter where it's constructed in get_random_bytes in Kernel/Security/Random.h.
template<typename KeyType, typename... Args>
explicit constexpr CTR(KeyType const& user_key, size_t key_bits, Intent, Args... args)
: Mode<T>(user_key, key_bits, Intent::Encryption, args...)