/Random_dev

Linux Kernel module for random numbers

Primary LanguageCGNU General Public License v3.0GPL-3.0

What is it

Linux Kernel module for random numbers

Getting Started

Build

  1. Firstly, clone this repository:
git clone git@github.com:ploskiy-2/Random_dev.git
  1. Then, navigate to the project directory:
cd Random_dev
  1. Build object files using Make:
make
  1. 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
  1. Output the stream of random bytes:
sudo xxd /dev/Random_Numbers_Module
  1. If you want to unload the module:
sudo rmmod Random_Numbers_Module
make clean