summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-px5g/src/px5g.h
blob: 47542b5c061d725bd3b21d37a5a130da1e170488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;