osmo-msc/openbsc/src
Neels Hofmeyr 058cd573d8 SGSN: Integrate support for UMTS AKA
The general infrastructure for UMTS AKA is already in place:
* GSUP with capability to send us auth_vectors that contain
  either triplets or quintuples
* mm_context that holds such auth_vectors

Add:
* capability to send UMTS AUTN in GMM AUTH REQ
* parse extended UMTS RES
* on auth response, validate expected AKA with vector and received res/sres
* add Auth Failure message to receive resync AUTS token and
  * send to HLR
  * clear out-of-sync auth tuple
  * enter new state for when we're waiting for HLR to resync and send new
    tuples so that the next Auth Request will be handled

Original first half of this patch by: Harald Welte <laforge@gnumonks.org>

Full UMTS AKA procedure including AUTS resync tested to work against OsmoHLR
with R99 USIM and Milenage algorithm.

The sgsn_test.c needs adjustment because we're checking the vector's auth_types
now.

Depends: libosmocore change-ids
         I277fb3d407396dffa5c07a9c5454d87a415d393f
         If943731a78089f0aac3d55245de80596d01314a4
Related: OS#1956
Change-Id: Ie6a0cefba5e4e7f02cc2eaf6ec006ac07d5c1816
2017-02-27 14:29:41 +00:00
..
gprs SGSN: Integrate support for UMTS AKA 2017-02-27 14:29:41 +00:00
ipaccess build: remove obsolete $LIBCRYPT in two places 2016-12-21 10:26:15 +00:00
libbsc cosmetic: rename osmo_msc_data.h to bsc_msc_data.h 2017-02-24 21:01:55 +01:00
libcommon cosmetic: rename osmo_msc_data.h to bsc_msc_data.h 2017-02-24 21:01:55 +01:00
libcommon-cs various comment / whitespace tweaks (libmsc, gprs, libcommon-cs) 2017-01-26 03:19:35 +01:00
libfilter Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
libiu use new OSMO_VALUE_STRING 2016-12-21 14:02:07 +00:00
libmgcp mgcp_protocol: Ensure we don't call strtok_r with NULL data 2016-12-09 15:35:31 +00:00
libmsc vty: fix subscr ref count leak in 'subscriber name' cmd 2017-02-24 19:58:07 +00:00
libtrau cosmetic: use osmo_strlcpy() everywhere 2017-01-23 11:59:01 +00:00
osmo-bsc cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
osmo-bsc_mgcp vty: remove ignored logging parameters 2017-02-08 09:37:38 +00:00
osmo-bsc_nat vty: remove ignored logging parameters 2017-02-08 09:37:38 +00:00
osmo-nitb cosmetic: rename osmo_msc_data.h to bsc_msc_data.h 2017-02-24 21:01:55 +01:00
utils utils: 'meas_json' utility to convert measurement feed into a JSON feed. 2017-02-25 05:23:22 +00:00
Makefile.am Add empty libcommon-cs 2016-11-24 16:58:30 +01:00