mirror of https://gerrit.osmocom.org/libosmocore
include: add enum for UTRAN cipher
Change-Id: I4b9baff2c2fbd0e339fc769cc69cce58d3a72cdf
This commit is contained in:
parent
52a5c112f1
commit
6b5a533f4d
|
@ -64,6 +64,7 @@ nobase_include_HEADERS = \
|
||||||
osmocom/crypt/auth.h \
|
osmocom/crypt/auth.h \
|
||||||
osmocom/crypt/gprs_cipher.h \
|
osmocom/crypt/gprs_cipher.h \
|
||||||
osmocom/crypt/kdf.h \
|
osmocom/crypt/kdf.h \
|
||||||
|
osmocom/crypt/utran_cipher.h \
|
||||||
osmocom/ctrl/control_cmd.h \
|
osmocom/ctrl/control_cmd.h \
|
||||||
osmocom/ctrl/control_if.h \
|
osmocom/ctrl/control_if.h \
|
||||||
osmocom/ctrl/ports.h \
|
osmocom/ctrl/ports.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
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue