Max
ceae123752
Make C4 function globally available
...
This function perform 64 -> 128 bit key expansion which useful for
converting between UMTS CK and GSM Kc, A5/3 and A5/4, GEA3 and GEA4
keys.
Change-Id: I5a6c6deef6027cd6af144c9062d4c9166be26904
Related: OS#1582
2016-06-29 16:32:55 +00:00
Max
fdb3d8ce78
Deprecate osmo_a5_1 and osmo_a5_2
...
Mark the functions as deprecated to discourage their use: people should
use unified osmo_a5 which supports all the A5/1-4 ciphers.
2016-04-22 15:10:53 +02:00
Max
f8699ca51e
gsm: Add A5/3-4 cipher support
...
Signed-off-by: Max <max.suraev@fairwaves.co>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-03-28 18:07:05 +01:00
Harald Welte
e15ac060e7
fix libosmocore build for NuttX target
...
this fixes some compilation issues with libosmocore under NuttX,
particularly as some #defines are missing or some header files are
slightly different.
2014-12-04 14:15:36 +01:00
Sylvain Munaut
c1e9be95c2
gsm/a5: Return -ENOTSUP if the selected cipher is not supported
...
Extracted from a patch by Max Suraev Max.Suraev@fairwaves.ru>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-12-06 08:23:02 +01:00
Sylvain Munaut
dca7d2caaa
doc: Fix the Doxygen section endings
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-18 21:53:23 +02:00
Sylvain Munaut
2dafed51e5
gsm/a5: Rewrite equation doc with proper numbering
...
No idea where I copied the original from but here we use the
other notation. (matches wikipedia and sources)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-02 23:39:19 +01:00
Sylvain Munaut
ad4a6a8840
gsm/a5: Bit faster way to compute parity ...
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-20 08:46:56 +01:00
Sylvain Munaut
2735ac4848
gsm/a5: Add documentation
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-17 21:01:46 +01:00
Sylvain Munaut
7f975d231b
gsm/a5: Rewrite A5/2 algo to avoid the delayed bit
...
It's just clearer that way ...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-17 20:36:50 +01:00
Sylvain Munaut
3e387cb35c
gsm/a5: Add const qualifier on the key
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-17 19:45:58 +01:00
Sylvain Munaut
f1d3344781
gsm/a5: Add a A5 1&2 implementation
...
It's always useful to have around
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-26 14:40:49 +02:00