aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-30 19:59:55 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-02 22:54:55 +0200
commit496aee463faf8bb0d1fe5062fcee5b52bd5eec52 (patch)
tree455c14a77e4160490842e6540b702e130b2df0a2 /openbsc/include/openbsc
parent6ed4950d5bf384c8c9984d2ee863789b3ddcd66b (diff)
[SGSN] Call libosmocore helper to load cipher plugins
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/gprs_llc.h1
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h9
2 files changed, 3 insertions, 7 deletions
diff --git a/openbsc/include/openbsc/gprs_llc.h b/openbsc/include/openbsc/gprs_llc.h
index 0ddb51804..d0c30a68b 100644
--- a/openbsc/include/openbsc/gprs_llc.h
+++ b/openbsc/include/openbsc/gprs_llc.h
@@ -144,6 +144,7 @@ int gprs_llgmm_assign(struct gprs_llc_llme *llme,
uint32_t old_tlli, uint32_t new_tlli,
enum gprs_ciph_algo alg, const uint8_t *kc);
+int gprs_llc_init(const char *cipher_plugin_path);
int gprs_llc_vty_init(void);
#endif
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index 08011502d..b32c5cd4c 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -6,6 +6,8 @@
#include <osmocore/gsm48.h>
+#include <osmocom/crypt/gprs_cipher.h>
+
#define GSM_IMSI_LENGTH 17
#define GSM_IMEI_LENGTH 17
#define GSM_EXTENSION_LENGTH 15
@@ -21,13 +23,6 @@ enum gprs_mm_state {
GMM_DEREGISTERED_INIT, /* 4.1.3.3.1.4 */
};
-enum gprs_ciph_algo {
- GPRS_ALGO_GEA0,
- GPRS_ALGO_GEA1,
- GPRS_ALGO_GEA2,
- GPRS_ALGO_GEA3,
-};
-
enum gprs_mm_ctr {
GMM_CTR_PKTS_SIG_IN,
GMM_CTR_PKTS_SIG_OUT,