aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-27 18:12:49 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-29 16:32:55 +0000
commitceae1237528f91f44e226225207ac70a2cf842ec (patch)
treeb459272cadfdafe853f6a08e2532669d0fd3e3cb /include/osmocom
parentb897c4299329688bb0aba6e32cd10b361bda1dee (diff)
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
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/crypt/auth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/crypt/auth.h b/include/osmocom/crypt/auth.h
index bed48e78..37b8a8ad 100644
--- a/include/osmocom/crypt/auth.h
+++ b/include/osmocom/crypt/auth.h
@@ -91,7 +91,7 @@ int osmo_auth_register(struct osmo_auth_impl *impl);
int osmo_auth_load(const char *path);
int osmo_auth_supported(enum osmo_auth_algo algo);
-
+void osmo_c4(uint8_t *ck, const uint8_t *kc);
const char *osmo_auth_alg_name(enum osmo_auth_algo alg);
enum osmo_auth_algo osmo_auth_alg_parse(const char *name);