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/.
Max gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/432 Clarify GPRS algorithm Add spec reference and set explicit values for enum representing ciphering algorithm for GPRS encryption. Change-Id: Ia9ee429b73a37d52599fce70778cfe87b767411c Related: OS#1582 --- M include/osmocom/crypt/gprs_cipher.h 1 file changed, 6 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/32/432/1 diff --git a/include/osmocom/crypt/gprs_cipher.h b/include/osmocom/crypt/gprs_cipher.h index d6edefa..c4ba980 100644 --- a/include/osmocom/crypt/gprs_cipher.h +++ b/include/osmocom/crypt/gprs_cipher.h @@ -4,12 +4,13 @@ #define GSM0464_CIPH_MAX_BLOCK 1523 +/* 3GPP TS 24.008 § 10.5.5.3 */ enum gprs_ciph_algo { - GPRS_ALGO_GEA0, - GPRS_ALGO_GEA1, - GPRS_ALGO_GEA2, - GPRS_ALGO_GEA3, - GPRS_ALGO_GEA4, + GPRS_ALGO_GEA0 = 0, + GPRS_ALGO_GEA1 = 1, + GPRS_ALGO_GEA2 = 2, + GPRS_ALGO_GEA3 = 3, + GPRS_ALGO_GEA4 = 4, _GPRS_ALGO_NUM }; -- To view, visit https://gerrit.osmocom.org/432 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia9ee429b73a37d52599fce70778cfe87b767411c Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de>