This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via aa84b71f0fe014156e90dde2f0c44694368dc034 (commit)
from d589f1dcfddb672edddc84a06f0443569ac44bcc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=aa84b71f0fe014156e90dde2f0c4…
commit aa84b71f0fe014156e90dde2f0c44694368dc034
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Dec 18 03:12:01 2017 +0100
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
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/crypt/auth.h | 2 ++
src/gsm/auth_core.c | 13 +++++++++++++
src/gsm/libosmogsm.map | 1 +
src/gsm/milenage/milenage.c | 5 ++---
4 files changed, 18 insertions(+), 3 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications