[PATCH] RFC - change GPRS cipher API

Max.Suraev at fairwaves.ru
Wed Nov 27 17:33:58 CET 2013


Hello.

Attached is a trivial patch which breaks existing GPRS cipher API of libosmocore by
switching from fixed 64-bit length Kc to variable-length.

There are several justifications for that:

- compliance with ETSI TS 155.22 (GEA4 - 128 bits Kc) and all further versions
- similarity to existing auth api (osmocom/crypt/auth.h uses 128 bits as well)
- nobody uses this API anyway (except my other patches with GEA)
- patch breaks nothing within libosmocore (make check succeeds) and openbsc (uses
gea0 only)

That's why I think next libosmocore version should apply this patch and change unused
API before someone actually start using it and makes transition more difficult.

-- 
best regards,
Max, http://fairwaves.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-GPRS-cipher-API-to-comply-with-ETSI-TS-155-22.patch
Type: text/x-patch
Size: 2491 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20131127/d03197dd/attachment.bin>


More information about the baseband-devel mailing list