aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_gsm_authen.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-10 02:05:44 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2018-03-10 20:58:24 +0000
commitcac6e89d2a013cf44fbe5d40da71d41689b914e7 (patch)
treeb6c34f6b6c4538e26cb43913650261f267c921ba /tests/msc_vlr/msc_vlr_test_gsm_authen.c
parentdbabfd3c43667f7d6f03fde61d34297d83345e38 (diff)
msc_vlr_test_gsm_ciph: add test for GSM AKA in UMTS environment
Even on an R99 capable MS with a UMTS AKA capable USIM, the MS may still choose to only perform GSM AKA, as long as the bearer is GERAN. In that case, we must make sure to send the GSM AKA Kc for ciphering. Add test_gsm_ciph_in_umts_env() to msc_vlr_test_gsm_ciph.c to answer an Auth Request with a GSM AKA response (see the log stating "AUTH established GSM security context" after we sent a UMTS AKA challenge). In the test, show that we currently send the *wrong* Kc, i.e. the UMTS AKA derived Kc for GERAN, instead of the correct Kc for GSM AKA (which was received from the HLR in the auth tuples). Subsequent patch I42ce51ae979f42d173a45ae69273071c426bf97c will fix this and correct the test expectations. Related: OS#2793 Change-Id: I85f12a20dcd701e671188e56811ec7b58d84da82
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_gsm_authen.c')
0 files changed, 0 insertions, 0 deletions