summaryrefslogtreecommitdiffstats
path: root/src/gsm/gea.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-06-12 21:44:18 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-12 21:55:54 +0000
commit96e2a00d7a9044d0b1a83909c11d8f24955bc7c8 (patch)
tree4bbe6cb49a766df4cdefa9fffd56bb953d51da75 /src/gsm/gea.c
parent7165880ac279a9d2d7403749f171eb9c60e70657 (diff)
update/extend doxygen documentation
It's a pity that even with this patch we still are fare away from having the whole API documented. However, at least we have a more solid foundation. Updates not only extend the documentation, but also make sure it is rendered properly in the doxygen HTML. Change-Id: I1344bd1a6869fb00de7c1899a8db93bba9bafce3
Diffstat (limited to 'src/gsm/gea.c')
-rw-r--r--src/gsm/gea.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gsm/gea.c b/src/gsm/gea.c
index b8f6768a..8d026a29 100644
--- a/src/gsm/gea.c
+++ b/src/gsm/gea.c
@@ -30,6 +30,13 @@
#include <stdint.h>
#include <string.h>
+/*! \addtogroup crypto
+ * @{
+ */
+
+/*! \file gsm/gea.c */
+
+
/*! \brief Performs the GEA4 algorithm as in 3GPP TS 55.226 V9.0.0
* \param[in,out] out Buffer for gamma for encrypted/decrypted
* \param[in] len Length of out, in bytes
@@ -58,3 +65,5 @@ int gea3(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
osmo_c4(ck, kc);
return gea4(out, len, ck, iv, direction);
}
+
+/*! @} */