open5gs/lib/crypt
Pau Espin e84450bfc1 [MME] Gn: Introduce initial support for 4G->2G cell reselection
In an Inter-RAT setup a UE could perform a RAU coming from a 4G network.
In that case the UE/MS is unknown to the SGSN and it should request the
SGSN context (MM, PDP) from the MME. This is done through the following
GTPv1C message exchange on the Gn interface of SGSN and MME:
SGSN -> MME: SGSN Context Request
SGSN <- MME: SGSN Context Response
SGSN -> MME: SGSN Context Acknowledge

This commit doesn't aim to be a complete implementation of the mentioned
procedure, since it's quite a complex one, with lots of fields and logic
required. This so far only implements in general the minimally
successful case by filling as much as possible the required set of
fields.
This will allow for a base onto which do incremental improvements and
fixes while testing against UEs and SGSNs (such as osmo-sgsn, which
doesn't yet support this procedure but will potentially earn it soon).

This commit doesn't implement the reverse direction, aka UE issuing cell
reselection 2G->4G. Initial support for this scenario will hopefully be
added soon as a follow-up patch, similar to this one.

Related: https://osmocom.org/issues/6294
(cherry picked from commit 3d693da73e)
2024-01-29 14:17:39 +01:00
..
openssl Fixed MacOSX compile error (Follow-up on #2581) 2023-09-14 07:04:27 +09:00
curve25519-donna.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ecc.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ecc.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
kasumi.c Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
kasumi.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
meson.build [AMF/MME] Fix crash during snow-3g encrypt (#2581) 2023-09-13 23:22:46 +09:00
milenage.c Improve Milenage library for [R1-R5] (#1153) 2021-09-01 19:38:36 +09:00
milenage.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
ogs-aes-cmac.c License update 2020-11-12 20:58:08 -05:00
ogs-aes-cmac.h License update 2020-11-12 20:58:08 -05:00
ogs-aes.c License update 2020-11-12 20:58:08 -05:00
ogs-aes.h License update 2020-11-12 20:58:08 -05:00
ogs-base64.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-base64.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-crypt.h [AMF/MME] Fix crash during snow-3g encrypt (#2581) 2023-09-13 23:22:46 +09:00
ogs-kdf.c [MME] Gn: Introduce initial support for 4G->2G cell reselection 2024-01-29 14:17:39 +01:00
ogs-kdf.h [MME] Gn: Introduce initial support for 4G->2G cell reselection 2024-01-29 14:17:39 +01:00
ogs-sha1-hmac.c License update 2020-11-12 20:58:08 -05:00
ogs-sha1-hmac.h License update 2020-11-12 20:58:08 -05:00
ogs-sha1.c License update 2020-11-12 20:58:08 -05:00
ogs-sha1.h License update 2020-11-12 20:58:08 -05:00
ogs-sha2-hmac.c License update 2020-11-12 20:58:08 -05:00
ogs-sha2-hmac.h License update 2020-11-12 20:58:08 -05:00
ogs-sha2.c License update 2020-11-12 20:58:08 -05:00
ogs-sha2.h License update 2020-11-12 20:58:08 -05:00
snow-3g.c Use talloc for all memory pool (#1263) 2022-01-04 08:29:18 +09:00
snow-3g.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
zuc.c Remove not valid UTF-8 characters 2023-01-31 00:22:16 +09:00
zuc.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00