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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Thu Nov 4 15:05:44 UTC 2021


lynxis lazus has uploaded this change for review. ( 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, 19 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/06/26106/1

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..9c14da8
--- /dev/null
+++ b/include/osmocom/crypt/utran_cipher.h
@@ -0,0 +1,18 @@
+/*! \file utran_cipher.h */
+
+#pragma once
+
+/* 3GPP TS 25.413 § 9.2.1.11 */
+enum utran_integrity_algo {
+	UTRAN_UIA1 = 0,
+	UTRAN_UIA2 = 1,
+	_UTRAN_UIA_NUM
+};
+/* 3GPP TS 25.413 § 9.2.1.12 */
+enum utran_encryption_algo {
+	UTRAN_UEA0 = 0,
+	UTRAN_UEA1 = 1,
+	UTRAN_UEA2 = 2,
+	_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: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211104/b3d1a0ad/attachment.htm>


More information about the gerrit-log mailing list