\section{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-ctr.h File Reference}
\label{aes__ctr_8h}\index{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-ctr.h@{aversive\_\-10-03-12/modules/crypto/aes/aes\_\-ctr.h}}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf \_\-aes\_\-ctr\_\-ctx}
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef struct {\bf \_\-aes\_\-ctr\_\-ctx} {\bf aes\_\-ctr\_\-ctx}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf AES\_\-ctr128\_\-inc} (unsigned char $\ast$counter)
\item 
void {\bf AES\_\-ctr128\_\-encrypt} (const unsigned char $\ast$in, unsigned char $\ast$out, const unsigned long length, const {\bf AES\_\-KEY} $\ast$key, unsigned char counter[AES\_\-BLOCK\_\-SIZE], unsigned char ecount\_\-buf[AES\_\-BLOCK\_\-SIZE], unsigned int $\ast$num)
\end{CompactItemize}


\subsection{Typedef Documentation}
\index{aes\_\-ctr.h@{aes\_\-ctr.h}!aes\_\-ctr\_\-ctx@{aes\_\-ctr\_\-ctx}}
\index{aes\_\-ctr\_\-ctx@{aes\_\-ctr\_\-ctx}!aes_ctr.h@{aes\_\-ctr.h}}
\subsubsection[aes\_\-ctr\_\-ctx]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-aes\_\-ctr\_\-ctx}  {\bf aes\_\-ctr\_\-ctx}}\label{aes__ctr_8h_7483c7f6f73cd8e799987dad23697b63}




\subsection{Function Documentation}
\index{aes\_\-ctr.h@{aes\_\-ctr.h}!AES\_\-ctr128\_\-encrypt@{AES\_\-ctr128\_\-encrypt}}
\index{AES\_\-ctr128\_\-encrypt@{AES\_\-ctr128\_\-encrypt}!aes_ctr.h@{aes\_\-ctr.h}}
\subsubsection[AES\_\-ctr128\_\-encrypt]{\setlength{\rightskip}{0pt plus 5cm}void AES\_\-ctr128\_\-encrypt (const unsigned char $\ast$ {\em in}, \/  unsigned char $\ast$ {\em out}, \/  const unsigned long {\em length}, \/  const {\bf AES\_\-KEY} $\ast$ {\em key}, \/  unsigned char {\em counter}[AES\_\-BLOCK\_\-SIZE], \/  unsigned char {\em ecount\_\-buf}[AES\_\-BLOCK\_\-SIZE], \/  unsigned int $\ast$ {\em num})}\label{aes__ctr_8h_dbbd9e5c397bb64ec705419629c204b4}




Definition at line 105 of file aes\_\-ctr.c.

References AES\_\-ctr128\_\-inc(), AES\_\-encrypt(), and parse\_\-symbols::l.\index{aes\_\-ctr.h@{aes\_\-ctr.h}!AES\_\-ctr128\_\-inc@{AES\_\-ctr128\_\-inc}}
\index{AES\_\-ctr128\_\-inc@{AES\_\-ctr128\_\-inc}!aes_ctr.h@{aes\_\-ctr.h}}
\subsubsection[AES\_\-ctr128\_\-inc]{\setlength{\rightskip}{0pt plus 5cm}void AES\_\-ctr128\_\-inc (unsigned char $\ast$ {\em counter})}\label{aes__ctr_8h_9f855b92b1322070682d7577abd7ee09}




Definition at line 67 of file aes\_\-ctr.c.

References GETU32, and PUTU32.

Referenced by AES\_\-ctr128\_\-encrypt().