summaryrefslogtreecommitdiff
path: root/kernel/random.h
AgeCommit message (Collapse)Author
2024-07-04Random: Improve random seeding.Anton Kling
Now it appears to be sufficiently good at producing a distinct seed at each boot without using a /etc/seed file. Previously it did not do this. Of course this is nowhere near cryptographically secure but randomness does assist with things such as kmalloc.
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-13Crypto: Implement fast insecure RNG for overwritting memory areas.Anton Kling
This is mainly done to test for uninitlalized memory and find bugs faster. Therefore it does not need to be cryptographically secure or perfectly uniform. Xoshiro256++ seems like a good fit.
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-10-31Meta: Move kernel and userland to their own folders.Anton Kling
This is to allow both the kernel and the userland to share certain header files and to make the folder structure a bit more clear.