aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-16 16:00:36 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-17 07:53:02 +0200
commit8cc2767891cfae7543e384d0dfb5286b33b1b42f (patch)
tree39eab4fc5a7f543c6411a366bcdc8f077129dddc /src
parentc368b5420aaacaa1cbef3d044c2ffd771552a1db (diff)
[doc] gea has separate group; A5 is not part of crypto but a5 group
Diffstat (limited to 'src')
-rw-r--r--src/gsm/a5.c18
-rw-r--r--src/gsm/gea.c7
2 files changed, 11 insertions, 14 deletions
diff --git a/src/gsm/a5.c b/src/gsm/a5.c
index e906b6d9..ea09e172 100644
--- a/src/gsm/a5.c
+++ b/src/gsm/a5.c
@@ -1,10 +1,3 @@
-/*! \file a5.c
- * Full reimplementation of A5/1,2 (split and threadsafe).
- *
- * The logic behind the algorithm is taken from "A pedagogical implementation
- * of the GSM A5/1 and A5/2 "voice privacy" encryption algorithms." by
- * Marc Briceno, Ian Goldberg, and David Wagner.
- */
/*
* Copyright (C) 2011 Sylvain Munaut <tnt@246tNt.com>
*
@@ -25,11 +18,16 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-/*! \addtogroup crypto
+/*! \addtogroup a5
* @{
- * Osmocom GSM/GPRS ciphering algorithm implementation
+ * Osmocom GSM ciphering algorithm implementation
*
- * \file gsm/a5.c */
+ * Full reimplementation of A5/1,2,3,4 (split and threadsafe).
+ *
+ * The logic behind the algorithm is taken from "A pedagogical implementation
+ * of the GSM A5/1 and A5/2 "voice privacy" encryption algorithms." by
+ * Marc Briceno, Ian Goldberg, and David Wagner.
+ */
#include <errno.h>
#include <string.h>
diff --git a/src/gsm/gea.c b/src/gsm/gea.c
index d95c03e8..70f08ada 100644
--- a/src/gsm/gea.c
+++ b/src/gsm/gea.c
@@ -1,5 +1,3 @@
-/*! \file gea.c
- * Implementation of GEA3 and GEA4. */
/*
* Copyright (C) 2016 by Sysmocom s.f.m.c. GmbH
*
@@ -28,9 +26,10 @@
#include <stdint.h>
#include <string.h>
-/*! \addtogroup crypto
+/*! \addtogroup gea
* @{
- * \file gsm/gea.c */
+ * Implementation of GPRS Ciphers GEA3 and GEA4.
+ * \file gea.c */
/*! Performs the GEA4 algorithm as in 3GPP TS 55.226 V9.0.0
* \param[in,out] out Buffer for gamma for encrypted/decrypted