summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-px5g/src/px5g.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-px5g/src/px5g.h')
-rw-r--r--libs/luci-lib-px5g/src/px5g.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/luci-lib-px5g/src/px5g.h b/libs/luci-lib-px5g/src/px5g.h
new file mode 100644
index 0000000000..47542b5c06
--- /dev/null
+++ b/libs/luci-lib-px5g/src/px5g.h
@@ -0,0 +1,16 @@
+#include <lua.h>
+#include <lualib.h>
+#include <lauxlib.h>
+
+#include "polarssl/havege.h"
+#include "polarssl/bignum.h"
+#include "polarssl/x509.h"
+#include "polarssl/rsa.h"
+
+#define PX5G_KEY_META "px5g.key"
+
+typedef struct px5g_rsa {
+ int stat;
+ havege_state hs;
+ rsa_context rsa;
+} px5g_rsa;