\section{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-locl.h File Reference}
\label{aes__locl_8h}\index{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-locl.h@{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-locl.h}}
{\tt \#include $<$stdint.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf GETU32}(pt)~(((uint32\_\-t)(pt)[0] $<$$<$ 24) $^\wedge$ ((uint32\_\-t)(pt)[1] $<$$<$ 16) $^\wedge$ ((uint32\_\-t)(pt)[2] $<$$<$  8) $^\wedge$ ((uint32\_\-t)(pt)[3]))
\item 
\#define {\bf PUTU32}(ct, st)~\{ (ct)[0] = ({\bf u8})((st) $>$$>$ 24); (ct)[1] = ({\bf u8})((st) $>$$>$ 16); (ct)[2] = ({\bf u8})((st) $>$$>$  8); (ct)[3] = ({\bf u8})(st); \}
\item 
\#define {\bf MAXKC}~(256/32)
\item 
\#define {\bf MAXKB}~(256/8)
\item 
\#define {\bf MAXNR}~14
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef uint8\_\-t {\bf u8}
\end{CompactItemize}


\subsection{Define Documentation}
\index{aes\_\-locl.h@{aes\_\-locl.h}!GETU32@{GETU32}}
\index{GETU32@{GETU32}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[GETU32]{\setlength{\rightskip}{0pt plus 5cm}\#define GETU32(pt)~(((uint32\_\-t)(pt)[0] $<$$<$ 24) $^\wedge$ ((uint32\_\-t)(pt)[1] $<$$<$ 16) $^\wedge$ ((uint32\_\-t)(pt)[2] $<$$<$  8) $^\wedge$ ((uint32\_\-t)(pt)[3]))}\label{aes__locl_8h_dd03ff597bcc3979b5d82eaab61820cd}




Definition at line 78 of file aes\_\-locl.h.

Referenced by AES\_\-ctr128\_\-inc(), AES\_\-decrypt(), AES\_\-encrypt(), and AES\_\-set\_\-encrypt\_\-key().\index{aes\_\-locl.h@{aes\_\-locl.h}!MAXKB@{MAXKB}}
\index{MAXKB@{MAXKB}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[MAXKB]{\setlength{\rightskip}{0pt plus 5cm}\#define MAXKB~(256/8)}\label{aes__locl_8h_3882c756e366cff449a995d1c29f2f08}




Definition at line 94 of file aes\_\-locl.h.\index{aes\_\-locl.h@{aes\_\-locl.h}!MAXKC@{MAXKC}}
\index{MAXKC@{MAXKC}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[MAXKC]{\setlength{\rightskip}{0pt plus 5cm}\#define MAXKC~(256/32)}\label{aes__locl_8h_49848aa36770ff54f52e72f0d39f1352}




Definition at line 93 of file aes\_\-locl.h.\index{aes\_\-locl.h@{aes\_\-locl.h}!MAXNR@{MAXNR}}
\index{MAXNR@{MAXNR}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[MAXNR]{\setlength{\rightskip}{0pt plus 5cm}\#define MAXNR~14}\label{aes__locl_8h_17ab5105587fbe33637579d0418ea42b}




Definition at line 95 of file aes\_\-locl.h.\index{aes\_\-locl.h@{aes\_\-locl.h}!PUTU32@{PUTU32}}
\index{PUTU32@{PUTU32}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[PUTU32]{\setlength{\rightskip}{0pt plus 5cm}\#define PUTU32(ct, \/  st)~\{ (ct)[0] = ({\bf u8})((st) $>$$>$ 24); (ct)[1] = ({\bf u8})((st) $>$$>$ 16); (ct)[2] = ({\bf u8})((st) $>$$>$  8); (ct)[3] = ({\bf u8})(st); \}}\label{aes__locl_8h_081bd53ea4c159e9ce643966d05d2730}




Definition at line 79 of file aes\_\-locl.h.

Referenced by AES\_\-ctr128\_\-inc(), AES\_\-decrypt(), and AES\_\-encrypt().

\subsection{Typedef Documentation}
\index{aes\_\-locl.h@{aes\_\-locl.h}!u8@{u8}}
\index{u8@{u8}!aes_locl.h@{aes\_\-locl.h}}
\subsubsection[u8]{\setlength{\rightskip}{0pt plus 5cm}typedef uint8\_\-t {\bf u8}}\label{aes__locl_8h_92c50087ca0e64fa93fc59402c55f8ca}




Definition at line 91 of file aes\_\-locl.h.