libosmocore/src/gsm/milenage
Neels Hofmeyr aa84b71f0f add osmo_auth_c3() (separate from gsm_milenage())
To send a Ciphering Mode Command, we may need to derive a Kc from UMTS AKA
tokens. gsm_milenage() derives Kc from 3G tokens, but also derives an SRES.
For SRES, it requires an OPC, which may need to be derived from OP first. All
we need is a Kc, so we could feed a zero OPC ...  but to simplify the function
call for cases where just a Kc is required, separate the c3 function out from
gsm_milenage(), as osmo_auth_c3(). Obviously call osmo_auth_c3() from
gsm_milenage() (meaning that osmo-hlr's 55.205 derived auc tests still cover
exactly that implementation).

Prepares: If04e405426c55a81341747a9b450a69188525d5c (osmo-msc)
Related: OS#2745
Change-Id: I85a1d6ae95ad9e5ce9524ef7fc06414848afc2aa
2017-12-18 23:05:24 +00:00
..
aes-encblock.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
aes-internal-enc.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
aes-internal.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
aes.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
aes_i.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
aes_wrap.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
common.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
crypto.h Auth: Import milenage implementation from hostap (Jouni Malinen) 2011-12-06 22:50:31 +01:00
includes.h Auth: Import milenage implementation from hostap (Jouni Malinen) 2011-12-06 22:50:31 +01:00
milenage.c add osmo_auth_c3() (separate from gsm_milenage()) 2017-12-18 23:05:24 +00:00
milenage.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00