From 9b20a0de164a1104a7fb19879443255b52b34333 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 9 Sep 2019 19:06:52 +0100 Subject: [PATCH] Added comment to zuc.cc and zuc.h --- lib/include/srslte/common/zuc.h | 12 +++++++++++- lib/src/common/zuc.cc | 8 ++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lib/include/srslte/common/zuc.h b/lib/include/srslte/common/zuc.h index 8c8f81fad..7385ea601 100644 --- a/lib/include/srslte/common/zuc.h +++ b/lib/include/srslte/common/zuc.h @@ -1,3 +1,13 @@ +/*--------------------------------------------------------- + + zuc.h + Adapted from ETSI/SAGE specifications: + "Specification of the 3GPP Confidentiality + and Integrity Algorithms 128-EEA3 & 128-EIA3. + Document 2: ZUC Specification" + +---------------------------------------------------------*/ + #ifndef SRSLTE_ZUC_H #define SRSLTE_ZUC_H @@ -35,4 +45,4 @@ typedef struct { void zuc_initialize(zuc_state_t* state, u8* k, u8* iv); void zuc_generate_keystream(zuc_state_t* state, int key_stream_len, u32* p_keystream); -#endif // SRSLTE_ZUC_H \ No newline at end of file +#endif // SRSLTE_ZUC_H diff --git a/lib/src/common/zuc.cc b/lib/src/common/zuc.cc index 9b3e335c5..0823379c0 100644 --- a/lib/src/common/zuc.cc +++ b/lib/src/common/zuc.cc @@ -1,4 +1,12 @@ +/*--------------------------------------------------------- + zuc.cc + Adapted from ETSI/SAGE specifications: + "Specification of the 3GPP Confidentiality + and Integrity Algorithms 128-EEA3 & 128-EIA3. + Document 2: ZUC Specification" + +---------------------------------------------------------*/ #include "srslte/common/zuc.h"