Change in libosmocore[master]: include: add enum for UTRAN cipher

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Nov 11 09:02:24 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/26106 )

Change subject: include: add enum for UTRAN cipher
......................................................................

include: add enum for UTRAN cipher

Change-Id: I4b9baff2c2fbd0e339fc769cc69cce58d3a72cdf
---
M include/Makefile.am
A include/osmocom/crypt/utran_cipher.h
2 files changed, 20 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  dexter: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/Makefile.am b/include/Makefile.am
index 7df651a..49402d0 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -64,6 +64,7 @@
                        osmocom/crypt/auth.h \
                        osmocom/crypt/gprs_cipher.h \
                        osmocom/crypt/kdf.h \
+                       osmocom/crypt/utran_cipher.h \
 		       osmocom/ctrl/control_cmd.h \
 		       osmocom/ctrl/control_if.h \
 		       osmocom/ctrl/ports.h \
diff --git a/include/osmocom/crypt/utran_cipher.h b/include/osmocom/crypt/utran_cipher.h
new file mode 100644
index 0000000..7dab3bc
--- /dev/null
+++ b/include/osmocom/crypt/utran_cipher.h
@@ -0,0 +1,19 @@
+/*! \file utran_cipher.h */
+
+#pragma once
+
+/* 3GPP TS 25.413 § 9.2.1.11 */
+enum osmo_utran_integrity_algo {
+	OSMO_UTRAN_UIA1 = 0,
+	OSMO_UTRAN_UIA2 = 1,
+	_OSMO_UTRAN_UIA_NUM
+};
+
+/* 3GPP TS 25.413 § 9.2.1.12 */
+enum osmo_utran_encryption_algo {
+	OSMO_UTRAN_UEA0 = 0,
+	OSMO_UTRAN_UEA1 = 1,
+	OSMO_UTRAN_UEA2 = 2,
+	_OSMO_UTRAN_UEA_NUM
+};
+

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26106
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4b9baff2c2fbd0e339fc769cc69cce58d3a72cdf
Gerrit-Change-Number: 26106
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211111/18b08077/attachment.htm>


More information about the gerrit-log mailing list