\doxysection{osmo\+\_\+sub\+\_\+auth\+\_\+data2 Struct Reference}
\label{structosmo__sub__auth__data2}\index{osmo\_sub\_auth\_data2@{osmo\_sub\_auth\_data2}}


permanent (secret) subscriber auth data  




{\ttfamily \#include $<$auth.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ osmo\+\_\+sub\+\_\+auth\+\_\+type} \textbf{ type}
\item 
enum \textbf{ osmo\+\_\+auth\+\_\+algo} \textbf{ algo}
\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
union \{\\
\>struct \{\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::opc} [32]\\
\>\>\>{\em operator invariant value }\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::opc\_len}\\
\>\>\>{\em OPc length (in bytes): 16 or 32. }\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::k} [32]\\
\>\>\>{\em secret key of the subscriber }\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::k\_len}\\
\>\>\>{\em K length (in bytes): 16 or 32. }\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::amf} [2]\\
\>\>uint64\_t \textbf{ osmo\_sub\_auth\_data2::sqn}\\
\>\>\>{\em sequence number (in: prev sqn; out: used sqn) }\\
\>\>int \textbf{ osmo\_sub\_auth\_data2::opc\_is\_op}\\
\>\>\>{\em is the OPC field OPC (0) or OP (1) ? }\\
\>\>unsigned int \textbf{ osmo\_sub\_auth\_data2::ind\_bitlen}\\
\>\>\>{\em nr of bits not in SEQ, only SQN }\\
\>\>unsigned int \textbf{ osmo\_sub\_auth\_data2::ind}\\
\>\>\>{\em which IND slot to use an SQN from }\\
\>\>uint64\_t \textbf{ osmo\_sub\_auth\_data2::sqn\_ms}\\
\>\>\>{\em sqn from AUTS (output value only) }\\
\>\} \textbf{ osmo\_sub\_auth\_data2::umts}\\
\>struct \{\\
\>\>uint8\_t \textbf{ osmo\_sub\_auth\_data2::ki} [\textbf{ OSMO\_A5\_MAX\_KEY\_LEN\_BYTES}]\\
\>\>\>{\em secret key }\\
\>\} \textbf{ osmo\_sub\_auth\_data2::gsm}\\
\} \textbf{ u}\\

\end{tabbing}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
permanent (secret) subscriber auth data 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/crypt/\textbf{ auth.\+h}\end{DoxyCompactItemize}
