summaryrefslogtreecommitdiffhomepage
path: root/libs/px5g/src/px5g.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/px5g/src/px5g.h')
-rw-r--r--libs/px5g/src/px5g.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/px5g/src/px5g.h b/libs/px5g/src/px5g.h
new file mode 100644
index 000000000..47542b5c0
--- /dev/null
+++ b/libs/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;