\doxysection{aes.\+h}
\label{aes_8h_source}\index{src/gsm/milenage/aes.h@{src/gsm/milenage/aes.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{comment}{/*}}
\DoxyCodeLine{4 \textcolor{comment}{ * Copyright (c) 2003-\/2006, Jouni Malinen <j@w1.fi>}}
\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 General Public License version 2 as}}
\DoxyCodeLine{8 \textcolor{comment}{ * published by the Free Software Foundation.}}
\DoxyCodeLine{9 \textcolor{comment}{ *}}
\DoxyCodeLine{10 \textcolor{comment}{ * Alternatively, this software may be distributed under the terms of BSD}}
\DoxyCodeLine{11 \textcolor{comment}{ * license.}}
\DoxyCodeLine{12 \textcolor{comment}{ *}}
\DoxyCodeLine{13 \textcolor{comment}{ * SPDX-\/License-\/Identifier: GPL-\/2.0 OR BSD-\/3-\/Clause}}
\DoxyCodeLine{14 \textcolor{comment}{ *}}
\DoxyCodeLine{15 \textcolor{comment}{ * See README and COPYING for more details.}}
\DoxyCodeLine{16 \textcolor{comment}{ */}}
\DoxyCodeLine{17 }
\DoxyCodeLine{18 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{19 }
\DoxyCodeLine{20 \textcolor{preprocessor}{\#define AES\_BLOCK\_SIZE 16}}
\DoxyCodeLine{21 }
\DoxyCodeLine{22 \textcolor{keywordtype}{void} * aes\_encrypt\_init(\textcolor{keyword}{const} u8 *key, \textcolor{keywordtype}{size\_t} len);}
\DoxyCodeLine{23 \textcolor{keywordtype}{void} aes\_encrypt(\textcolor{keywordtype}{void} *ctx, \textcolor{keyword}{const} u8 *plain, u8 *crypt);}
\DoxyCodeLine{24 \textcolor{keywordtype}{void} aes\_encrypt\_deinit(\textcolor{keywordtype}{void} *ctx);}
\DoxyCodeLine{25 \textcolor{keywordtype}{void} * aes\_decrypt\_init(\textcolor{keyword}{const} u8 *key, \textcolor{keywordtype}{size\_t} len);}
\DoxyCodeLine{26 \textcolor{keywordtype}{void} aes\_decrypt(\textcolor{keywordtype}{void} *ctx, \textcolor{keyword}{const} u8 *crypt, u8 *plain);}
\DoxyCodeLine{27 \textcolor{keywordtype}{void} aes\_decrypt\_deinit(\textcolor{keywordtype}{void} *ctx);}

\end{DoxyCode}
