summaryrefslogtreecommitdiffhomepage
path: root/libs/px5g/src/px5g.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-06-06 20:34:47 +0000
committerSteven Barth <steven@midlink.org>2009-06-06 20:34:47 +0000
commit0bf57f624564bae569dc49d243ad069f802d3127 (patch)
tree7e6849b1fe704ac3193138f10eb7c93a54b6fda7 /libs/px5g/src/px5g.h
parent4d4f8f4d79577d0962e0b76db98d67865b69e6a0 (diff)
Add PX5G Keymaster
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 0000000000..47542b5c06
--- /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;