Linux Kernel module for random numbers
- Firstly, clone this repository:
git clone git@github.com:ploskiy-2/Random_dev.git
- Then, navigate to the project directory:
cd Random_dev
- Build object files using Make:
make
- Insert the module into the kernel, you can choose any parameters:
sudo insmod Random_Numbers_Module.ko k_length=3 crs_coefficients=2,4,8 crs_elements=10,100,105 crs_c=10
- Output the stream of random bytes:
sudo xxd /dev/Random_Numbers_Module
- If you want to unload the module:
sudo rmmod Random_Numbers_Module
make clean