[PATCH] Add A5 and GEA ciphers

Max.Suraev at fairwaves.ru
Sun Apr 7 15:08:35 CEST 2013


Hello.

Attached is A5/3,4 GEA3,4 implementation which was described today at OsmoDevCon.

This is "from the scratch" implementation, tests using test vectors from relevant
3GPP standards are included.

There are couple of bits missing:
* gprs_auth API needs to be changed to use GEA4 with 128 bits key
* gea_test only checks algorithm correctness but not loading/using it via gprs_auth
plugin api
* osmo_a5_1 and osmo_a5_2 probably should be hidden from public api - the only way to
call them should be through osmo_a5() function

Please review and merge if possible.
-- 
best regards,
Max, http://fairwaves.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-helper-routines.patch
Type: text/x-patch
Size: 4683 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130407/ce50ea27/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-KASUMI-implementation.patch
Type: text/x-patch
Size: 21031 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130407/ce50ea27/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-GEA3-and-GEA4-ciphers.patch
Type: text/x-patch
Size: 16511 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130407/ce50ea27/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-A5-3-and-A5-4-ciphers.patch
Type: text/x-patch
Size: 11913 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130407/ce50ea27/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Update-test-suite-and-build-infrastructure.patch
Type: text/x-patch
Size: 5143 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130407/ce50ea27/attachment-0009.bin>


More information about the baseband-devel mailing list