#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 commands */ #define CSPRNG_CMD_GET_RNG 0x10 struct cmd{ int version; int cmd; }; #endif