\doxysection{a5.\+h} \label{a5_8h_source}\index{include/osmocom/gmr1/l1/a5.h@{include/osmocom/gmr1/l1/a5.h}} \textbf{ Go to the documentation of this file.} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{comment}{/* GMR-\/1 A5 Ciphering algorithm */}} \DoxyCodeLine{2 } \DoxyCodeLine{3 \textcolor{comment}{/* (C) 2011-\/2019 by Sylvain Munaut }} \DoxyCodeLine{4 \textcolor{comment}{ * All Rights Reserved}} \DoxyCodeLine{5 \textcolor{comment}{ *}} \DoxyCodeLine{6 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}} \DoxyCodeLine{7 \textcolor{comment}{ * it under the terms of the GNU Affero General Public License as published by}} \DoxyCodeLine{8 \textcolor{comment}{ * the Free Software Foundation; either version 3 of the License, or}} \DoxyCodeLine{9 \textcolor{comment}{ * (at your option) any later version.}} \DoxyCodeLine{10 \textcolor{comment}{ *}} \DoxyCodeLine{11 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}} \DoxyCodeLine{12 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}} \DoxyCodeLine{13 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the}} \DoxyCodeLine{14 \textcolor{comment}{ * GNU Affero General Public License for more details.}} \DoxyCodeLine{15 \textcolor{comment}{ *}} \DoxyCodeLine{16 \textcolor{comment}{ * You should have received a copy of the GNU Affero General Public License}} \DoxyCodeLine{17 \textcolor{comment}{ * along with this program. If not, see .}} \DoxyCodeLine{18 \textcolor{comment}{ */}} \DoxyCodeLine{19 } \DoxyCodeLine{20 \textcolor{preprocessor}{\#ifndef \_\_OSMO\_GMR1\_L1\_A5\_H\_\_}} \DoxyCodeLine{21 \textcolor{preprocessor}{\#define \_\_OSMO\_GMR1\_L1\_A5\_H\_\_}} \DoxyCodeLine{22 } \DoxyCodeLine{32 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{33 } \DoxyCodeLine{34 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{35 } \DoxyCodeLine{36 } \DoxyCodeLine{37 \textcolor{keywordtype}{void} gmr1\_a5(\textcolor{keywordtype}{int} n, uint8\_t *key, uint32\_t fn, \textcolor{keywordtype}{int} nbits,} \DoxyCodeLine{38 ubit\_t *dl, ubit\_t *ul);} \DoxyCodeLine{39 } \DoxyCodeLine{40 \textcolor{keywordtype}{void} gmr1\_a5\_1(uint8\_t *key, uint32\_t fn, \textcolor{keywordtype}{int} nbits,} \DoxyCodeLine{41 ubit\_t *dl, ubit\_t *ul);} \DoxyCodeLine{42 } \DoxyCodeLine{43 } \DoxyCodeLine{46 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_OSMO\_GMR1\_L1\_A5\_H\_\_ */}\textcolor{preprocessor}{}} \end{DoxyCode}