summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm/auth_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c
index f171ed49..9e750a01 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -98,7 +98,7 @@ int osmo_auth_supported(enum osmo_auth_algo algo)
return 0;
}
-/* C5 function to derive UMTS IK from GSM Kc */
+/* 3GPP TS 33.102 §6.8.2.3 C5 function to derive UMTS IK from GSM Kc */
static inline void c5_function(uint8_t *ik, const uint8_t *kc)
{
unsigned int i;
@@ -110,7 +110,7 @@ static inline void c5_function(uint8_t *ik, const uint8_t *kc)
ik[i] = ik[i-12];
}
-/* C4 function to derive UMTS CK from GSM Kc */
+/* 3GPP TS 33.102 §6.8.2.3 C4 function to derive UMTS CK from GSM Kc */
void osmo_c4(uint8_t *ck, const uint8_t *kc)
{
memcpy(ck, kc, 8);