title: C Random Number Generation (pure C code, no libraries or functions)
body: <p>I need to generate some random numbers in C for testing and debugging the system. The system is a custom hardware (SoC) with a limited set of functions so I can only use basic mathematical operations.</p>
  
  <p>And no, I can't use random number generators in stdlib or math.h. I need to write it myself. So is there some sort of algorithm for generating random numbers?</p>
  
  <p>I know that a simple solution is to generate the numbers here on my workstation and embed them into the module, but I don't want to do that.</p>