First commit

This commit is contained in:
gbucchino
2026-06-15 10:31:58 +02:00
commit 33de82aa1c
12 changed files with 3107 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef H_COMMON
#define H_COMMON
struct prng{
unsigned int p;
unsigned int q;
unsigned long long seed;
unsigned long long output;
} /*__attribute__((packed))*/;
#define CSPRNG_VERS 0x1
/* Define all commandes */
#define CSPRNG_CMD_GET_RNG 0x10
struct cmd{
int version;
int cmd;
};
#endif