First commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user