include: add enum for UTRAN cipher

Change-Id: I4b9baff2c2fbd0e339fc769cc69cce58d3a72cdf
This commit is contained in:
Alexander Couzens 2021-11-04 16:05:06 +01:00 committed by laforge
parent 52a5c112f1
commit 6b5a533f4d
2 changed files with 20 additions and 0 deletions

View File

@ -64,6 +64,7 @@ nobase_include_HEADERS = \
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 \

View File

@ -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
};