Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | osmo_auth*: fix ordering of function args | Neels Hofmeyr | 2017-02-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | milenage_gen_vec() has parameter ordering of (..., auts, rand_auts, rand). osmo_auth_gen_vec_auts() has (..., rand_auts, auts, rand), but actually feeds args in the same order, so that its rand_auts becomes auts, and its auts becomes rand_auts. Interestingly enough, API user osmo-gen-vec.c also adheres to this misordering and in turn passes auts for osmo_auth_gen_vec_auts()'s rand_auts and vice versa, so that it matches milenage_gen_vec(). So both the implementation (milenage_*) and the API user use the same ordering, just osmo_auth_gen_vec_auts() and osmo_auth_impl{ .gen_vec_auts() } in-between have the argument names swapped. Any current user of this API would need to adhere to this swapping or will not get successful AUTS resolution to a SQN. So the least impact fix is to rename the args without any actual functional change. So swap the names rand_auts and auts for osmo_auth_gen_vec_auts() and osmo_auth_impl{ .gen_vec_auts() }. (Also adjust API doc ordering) Change-Id: I0dcbd49759fc32d3b8974102dbd1d6703364ebf4 | ||||
* | Make C4 function globally available | Max | 2016-06-29 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | include: Switch to #pragma once pattern | Sylvain Munaut | 2014-06-16 | 1 | -4/+1 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | authentication: More documentation | Harald Welte | 2012-07-18 | 1 | -17/+27 |
| | |||||
* | auth_milenage/osmo-auc-gen: compute OPC in case only OP is known | Harald Welte | 2012-03-21 | 1 | -0/+1 |
| | |||||
* | auth_core: don't use anonymous unions to make certain gcc versions happy | Harald Welte | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | auth_core: add functions for parsing algorithm names | Harald Welte | 2011-12-07 | 1 | -0/+3 |
| | |||||
* | Add a generic abstraction for GSM/3G authentication algorithms | Harald Welte | 2011-12-06 | 1 | -0/+87 |
Indiidual algorithms can be implemented as plugins. libosmogsm itself only provides COMP128v1 via this generic interface. |