aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-11-29 15:25:29 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-11-30 09:21:51 +0100
commitad381102ea4ec189f0b48cc15cd25478c4817bc9 (patch)
treee5c2a43c03289a82da66c06f6736a5bade8126c3 /include
parent3b18044859df15ffd2ad4c3e5c3d2c94a2923eb9 (diff)
auth: remove unused structs
The following structs are no longer used/needed: - gsm_auth_algo - gsm_auth_info - gsm_auth_tuple - gsm_security_operation Change-Id: I93873a6cb980a54e03e719170e27a7e397236b77
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/gsm_data.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 857dd4f23..5190a2769 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -55,35 +55,6 @@ typedef int gsm_cbfn(unsigned int hooknum,
struct msgb *msg,
void *data, void *param);
-/* Real authentication information containing Ki */
-enum gsm_auth_algo {
- AUTH_ALGO_NONE,
- AUTH_ALGO_XOR,
- AUTH_ALGO_COMP128v1,
-};
-
-struct gsm_auth_info {
- enum gsm_auth_algo auth_algo;
- unsigned int a3a8_ki_len;
- uint8_t a3a8_ki[16];
-};
-
-struct gsm_auth_tuple {
- int use_count;
- int key_seq;
- struct osmo_auth_vector vec;
-};
-#define GSM_KEY_SEQ_INVAL 7 /* GSM 04.08 - 10.5.1.2 */
-
-/*
- * AUTHENTICATION/CIPHERING state
- */
-struct gsm_security_operation {
- struct gsm_auth_tuple atuple;
- gsm_cbfn *cb;
- void *cb_data;
-};
-
/*
* A dummy to keep a connection up for at least
* a couple of seconds to work around MSC issues.
@@ -155,12 +126,6 @@ struct gsm_subscriber_connection {
/* SMS helpers for libmsc */
uint8_t next_rp_ref;
- /*
- * Operations that have a state and might be pending
- */
- struct gsm_security_operation *sec_operation;
- struct gsm_anchor_operation *anch_operation;
-
struct osmo_fsm_inst *conn_fsm;
/* Are we part of a special "silent" call */