Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1538

to look at the new patch set (#3).

Extend Kc buffer

Double the Kc buffer to match the requirements of A5/4 and GEA4.

Related: OS#1910
Change-Id: I8d347bbeadc14cbc7306ea6e9b73e4a1c8c8cb21
---
M TODO-RELEASE
M include/osmocom/crypt/auth.h
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/38/1538/3

diff --git a/TODO-RELEASE b/TODO-RELEASE
index fb0bfea..55ee40c 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public 
release: c:r:0.
 #library       what                    description / commit summary line
+libosmogsm     osmo_auth_vector        expand kc[] field to accommodate for 
GEA4 and A5/4 key sizes
diff --git a/include/osmocom/crypt/auth.h b/include/osmocom/crypt/auth.h
index 4dbc6a4..1c9ba63 100644
--- a/include/osmocom/crypt/auth.h
+++ b/include/osmocom/crypt/auth.h
@@ -64,7 +64,7 @@
        uint8_t ik[16];         /*!< integrity key */
        uint8_t res[16];        /*!< authentication result */
        uint8_t res_len;        /*!< length (in bytes) of res */
-       uint8_t kc[8];          /*!< Kc for GSM encryption (A5) */
+       uint8_t kc[16];         /*!< Kc for GSM/GPRS encryption (A5 & GEA) */
        uint8_t sres[4];        /*!< authentication result for GSM */
        uint32_t auth_types;    /*!< bitmask of OSMO_AUTH_TYPE_* */
 };

-- 
To view, visit https://gerrit.osmocom.org/1538
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8d347bbeadc14cbc7306ea6e9b73e4a1c8c8cb21
Gerrit-PatchSet: 3
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msur...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to