\doxysection{src/sim/card\+\_\+fs\+\_\+isim.c File Reference}
\label{card__fs__isim_8c}\index{src/sim/card\_fs\_isim.c@{src/sim/card\_fs\_isim.c}}


3GPP ISIM specific structures / routines.  


{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/sim/sim.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/talloc.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/gsm/gsm48.\+h$>$}\newline
{\ttfamily \#include \char`\"{}sim\+\_\+int.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}gsm\+\_\+int.\+h\char`\"{}}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile} $\ast$ \textbf{ osim\+\_\+aprof\+\_\+isim} (void $\ast$ctx)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct \textbf{ osim\+\_\+card\+\_\+sw} \textbf{ ts31\+\_\+103\+\_\+sw} [$\,$]
\item 
static const struct \textbf{ osim\+\_\+file\+\_\+desc} \textbf{ isim\+\_\+ef\+\_\+in\+\_\+adf\+\_\+isim} [$\,$]
\item 
static const uint8\+\_\+t \textbf{ adf\+\_\+isim\+\_\+aid} [$\,$] = \{ 0x\+A0, 0x00, 0x00, 0x00, 0x87, 0x10, 0x04 \}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
3GPP ISIM specific structures / routines. 



\doxysubsection{Function Documentation}
\mbox{\label{card__fs__isim_8c_ae43d1ede8abc00379adf7a4f5bce0a60}} 
\index{card\_fs\_isim.c@{card\_fs\_isim.c}!osim\_aprof\_isim@{osim\_aprof\_isim}}
\index{osim\_aprof\_isim@{osim\_aprof\_isim}!card\_fs\_isim.c@{card\_fs\_isim.c}}
\doxysubsubsection{osim\_aprof\_isim()}
{\footnotesize\ttfamily struct \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile} $\ast$ osim\+\_\+aprof\+\_\+isim (\begin{DoxyParamCaption}\item[{void $\ast$}]{ctx }\end{DoxyParamCaption})}



References \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile\+::adf}, \textbf{ adf\+\_\+isim\+\_\+aid}, \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile\+::aid}, \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile\+::aid\+\_\+len}, \textbf{ alloc\+\_\+adf\+\_\+with\+\_\+ef()}, \textbf{ ARRAY\+\_\+\+SIZE}, \textbf{ isim\+\_\+ef\+\_\+in\+\_\+adf\+\_\+isim}, \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile\+::name}, \textbf{ osim\+\_\+card\+\_\+app\+\_\+profile\+::sw}, and \textbf{ ts31\+\_\+103\+\_\+sw}.



Referenced by \textbf{ osim\+\_\+init()}.



\doxysubsection{Variable Documentation}
\mbox{\label{card__fs__isim_8c_a90fdb29b049b244bb04724e73bd571a0}} 
\index{card\_fs\_isim.c@{card\_fs\_isim.c}!adf\_isim\_aid@{adf\_isim\_aid}}
\index{adf\_isim\_aid@{adf\_isim\_aid}!card\_fs\_isim.c@{card\_fs\_isim.c}}
\doxysubsubsection{adf\_isim\_aid}
{\footnotesize\ttfamily const uint8\+\_\+t adf\+\_\+isim\+\_\+aid[$\,$] = \{ 0x\+A0, 0x00, 0x00, 0x00, 0x87, 0x10, 0x04 \}\hspace{0.3cm}{\ttfamily [static]}}



Referenced by \textbf{ osim\+\_\+aprof\+\_\+isim()}.

\mbox{\label{card__fs__isim_8c_a0aad6a3337055d458254b7e773c84803}} 
\index{card\_fs\_isim.c@{card\_fs\_isim.c}!isim\_ef\_in\_adf\_isim@{isim\_ef\_in\_adf\_isim}}
\index{isim\_ef\_in\_adf\_isim@{isim\_ef\_in\_adf\_isim}!card\_fs\_isim.c@{card\_fs\_isim.c}}
\doxysubsubsection{isim\_ef\_in\_adf\_isim}
{\footnotesize\ttfamily const struct \textbf{ osim\+\_\+file\+\_\+desc} isim\+\_\+ef\+\_\+in\+\_\+adf\+\_\+isim[$\,$]\hspace{0.3cm}{\ttfamily [static]}}



Referenced by \textbf{ osim\+\_\+aprof\+\_\+isim()}.

\mbox{\label{card__fs__isim_8c_a925729a0062dcae949ab7cc8b13b6768}} 
\index{card\_fs\_isim.c@{card\_fs\_isim.c}!ts31\_103\_sw@{ts31\_103\_sw}}
\index{ts31\_103\_sw@{ts31\_103\_sw}!card\_fs\_isim.c@{card\_fs\_isim.c}}
\doxysubsubsection{ts31\_103\_sw}
{\footnotesize\ttfamily const struct \textbf{ osim\+\_\+card\+\_\+sw} ts31\+\_\+103\+\_\+sw[$\,$]}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \{}
\DoxyCodeLine{                0x9862, 0xffff, SW\_TYPE\_STR, SW\_CLS\_ERROR,}
\DoxyCodeLine{                .u.str = \textcolor{stringliteral}{"{}Security management -\/ Authentication error, incorrect MAC"{}},}
\DoxyCodeLine{        \}, \{}
\DoxyCodeLine{                0x9864, 0xffff, SW\_TYPE\_STR, SW\_CLS\_ERROR,}
\DoxyCodeLine{                .u.str = \textcolor{stringliteral}{"{}Security management -\/ Authentication error, security context not supported"{}},}
\DoxyCodeLine{        \},}
\DoxyCodeLine{        OSIM\_CARD\_SW\_LAST}
\DoxyCodeLine{\}}

\end{DoxyCode}


Referenced by \textbf{ osim\+\_\+aprof\+\_\+isim()}.

