diff options
author | Harald Welte <laforge@osmocom.org> | 2023-02-21 22:18:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2023-02-21 22:25:04 +0100 |
commit | e93c5e99b6e4ee57cf7884337cbe9e0e628a9613 (patch) | |
tree | 21c5158d3deb8de170a8c3b731d0ec3c57da0c5a /src/gsm/auth_core.c | |
parent | 8d9ed738a7c94f07df348a9687b88a1fe03cd440 (diff) |
Implement the XOR-2G authentication algorithm
We've so far only been supporting XOR-3G algorithm as specified
in TS 34.108 (in both 3G and 2G-derivation mode).
However, XOR-3G used for 2G auth is different from the XOR-2G algorithm
as defined in Annex A of TS 51.010-1. Let's add support for that one,
too.
Change-Id: I0ee0565382c1e4515d44ff9b1752685c0a66ae39
Diffstat (limited to 'src/gsm/auth_core.c')
-rw-r--r-- | src/gsm/auth_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c index f4508501..af03ace1 100644 --- a/src/gsm/auth_core.c +++ b/src/gsm/auth_core.c @@ -210,6 +210,7 @@ static const struct value_string auth_alg_vals[] = { { OSMO_AUTH_ALG_COMP128v3, "COMP128v3" }, { OSMO_AUTH_ALG_XOR, "XOR" }, { OSMO_AUTH_ALG_MILENAGE, "MILENAGE" }, + { OSMO_AUTH_ALG_XOR_2G, "XOR-2G" }, { 0, NULL } }; |