\doxysection{src/gsm/auth\+\_\+comp128v23.c File Reference}
\label{auth__comp128v23_8c}\index{src/gsm/auth\_comp128v23.c@{src/gsm/auth\_comp128v23.c}}


registers COMP128 version 2 and 3 A3/\+A8 algorithms for the GSM/\+GPRS/3G authentication core infrastructure.  


{\ttfamily \#include $<$osmocom/crypt/auth.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gsm/comp128v23.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static int \textbf{ c128v2\+\_\+gen\+\_\+vec} (struct \textbf{ osmo\+\_\+auth\+\_\+vector} $\ast$vec, struct \textbf{ osmo\+\_\+sub\+\_\+auth\+\_\+data2} $\ast$aud, const uint8\+\_\+t $\ast$\+\_\+rand)
\item 
static int \textbf{ c128v3\+\_\+gen\+\_\+vec} (struct \textbf{ osmo\+\_\+auth\+\_\+vector} $\ast$vec, struct \textbf{ osmo\+\_\+sub\+\_\+auth\+\_\+data2} $\ast$aud, const uint8\+\_\+t $\ast$\+\_\+rand)
\item 
static \textbf{ \+\_\+\+\_\+attribute\+\_\+\+\_\+} ((constructor))
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static struct \textbf{ osmo\+\_\+auth\+\_\+impl} \textbf{ c128v2\+\_\+alg}
\item 
static struct \textbf{ osmo\+\_\+auth\+\_\+impl} \textbf{ c128v3\+\_\+alg}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
registers COMP128 version 2 and 3 A3/\+A8 algorithms for the GSM/\+GPRS/3G authentication core infrastructure. 



\doxysubsection{Function Documentation}
\mbox{\label{auth__comp128v23_8c_ga9ed16867a9394d9ccf1132194edae298}} 
\index{auth\_comp128v23.c@{auth\_comp128v23.c}!\_\_attribute\_\_@{\_\_attribute\_\_}}
\index{\_\_attribute\_\_@{\_\_attribute\_\_}!auth\_comp128v23.c@{auth\_comp128v23.c}}
\doxysubsubsection{\_\_attribute\_\_()}
{\footnotesize\ttfamily static \+\_\+\+\_\+attribute\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{(constructor)}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



References \textbf{ c128v2\+\_\+alg}, \textbf{ c128v3\+\_\+alg}, and \textbf{ osmo\+\_\+auth\+\_\+register()}.

