\hypertarget{endianness_8h}{\section{include/beecrypt/endianness.h File Reference} \label{endianness_8h}\index{include/beecrypt/endianness.\-h@{include/beecrypt/endianness.\-h}} } {\ttfamily \#include \char`\"{}beecrypt/beecrypt.\-h\char`\"{}}\\* Include dependency graph for endianness.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{endianness_8h__incl} \end{center} \end{figure} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define \hyperlink{endianness_8h_a40a589085862d1b267b5c6ff85c0e378}{swap16}(n)~\hyperlink{endianness_8h_a62a3fc191a2e34e7c20fa5972973174d}{\-\_\-swap16}(n) \item \#define \hyperlink{endianness_8h_a5597f402e43b9b6e879cd8f4f2911de8}{swapu16}(n)~\hyperlink{endianness_8h_a62a3fc191a2e34e7c20fa5972973174d}{\-\_\-swap16}(n) \item \#define \hyperlink{endianness_8h_a8170b3ff84e611c42754405481dc9121}{swap32}(n)~\hyperlink{endianness_8h_a6cf2e33557bb13e4ac6548e3f3faa810}{\-\_\-swap32}(n) \item \#define \hyperlink{endianness_8h_ab8760639a3b711ecf73d87a9afc0e804}{swapu32}(n)~\hyperlink{endianness_8h_a9084b1304f7f7a0c5e8891b8728bdc99}{\-\_\-swapu32}(n) \item \#define \hyperlink{endianness_8h_a993f7dee1af8f42182ba3b945aefbba0}{swap64}(n)~\hyperlink{endianness_8h_a31cc33bcc46feef8e55f8d639f297e0c}{\-\_\-swap64}(n) \item \#define \hyperlink{endianness_8h_add5cd3ce586fbc72da899bab18414aff}{swapu64}(n)~\hyperlink{endianness_8h_a2befb1be195c9febc29b232dd1a2237a}{\-\_\-swapu64}(n) \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item static int16\-\_\-t \hyperlink{endianness_8h_a62a3fc191a2e34e7c20fa5972973174d}{\-\_\-swap16} (int16\-\_\-t n) \item static uint16\-\_\-t \hyperlink{endianness_8h_ae6e75b2f5d9327c460aee619e4dad16e}{\-\_\-swapu16} (uint16\-\_\-t n) \item static int32\-\_\-t \hyperlink{endianness_8h_a6cf2e33557bb13e4ac6548e3f3faa810}{\-\_\-swap32} (int32\-\_\-t n) \item static uint32\-\_\-t \hyperlink{endianness_8h_a9084b1304f7f7a0c5e8891b8728bdc99}{\-\_\-swapu32} (uint32\-\_\-t n) \item static int64\-\_\-t \hyperlink{endianness_8h_a31cc33bcc46feef8e55f8d639f297e0c}{\-\_\-swap64} (int64\-\_\-t n) \item static uint64\-\_\-t \hyperlink{endianness_8h_a2befb1be195c9febc29b232dd1a2237a}{\-\_\-swapu64} (uint64\-\_\-t n) \end{DoxyCompactItemize} \subsection{Macro Definition Documentation} \hypertarget{endianness_8h_a40a589085862d1b267b5c6ff85c0e378}{\index{endianness.\-h@{endianness.\-h}!swap16@{swap16}} \index{swap16@{swap16}!endianness.h@{endianness.\-h}} \subsubsection[{swap16}]{\setlength{\rightskip}{0pt plus 5cm}\#define swap16( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swap16}(n)}}\label{endianness_8h_a40a589085862d1b267b5c6ff85c0e378} \hypertarget{endianness_8h_a8170b3ff84e611c42754405481dc9121}{\index{endianness.\-h@{endianness.\-h}!swap32@{swap32}} \index{swap32@{swap32}!endianness.h@{endianness.\-h}} \subsubsection[{swap32}]{\setlength{\rightskip}{0pt plus 5cm}\#define swap32( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swap32}(n)}}\label{endianness_8h_a8170b3ff84e611c42754405481dc9121} \hypertarget{endianness_8h_a993f7dee1af8f42182ba3b945aefbba0}{\index{endianness.\-h@{endianness.\-h}!swap64@{swap64}} \index{swap64@{swap64}!endianness.h@{endianness.\-h}} \subsubsection[{swap64}]{\setlength{\rightskip}{0pt plus 5cm}\#define swap64( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swap64}(n)}}\label{endianness_8h_a993f7dee1af8f42182ba3b945aefbba0} \hypertarget{endianness_8h_a5597f402e43b9b6e879cd8f4f2911de8}{\index{endianness.\-h@{endianness.\-h}!swapu16@{swapu16}} \index{swapu16@{swapu16}!endianness.h@{endianness.\-h}} \subsubsection[{swapu16}]{\setlength{\rightskip}{0pt plus 5cm}\#define swapu16( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swap16}(n)}}\label{endianness_8h_a5597f402e43b9b6e879cd8f4f2911de8} \hypertarget{endianness_8h_ab8760639a3b711ecf73d87a9afc0e804}{\index{endianness.\-h@{endianness.\-h}!swapu32@{swapu32}} \index{swapu32@{swapu32}!endianness.h@{endianness.\-h}} \subsubsection[{swapu32}]{\setlength{\rightskip}{0pt plus 5cm}\#define swapu32( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swapu32}(n)}}\label{endianness_8h_ab8760639a3b711ecf73d87a9afc0e804} \hypertarget{endianness_8h_add5cd3ce586fbc72da899bab18414aff}{\index{endianness.\-h@{endianness.\-h}!swapu64@{swapu64}} \index{swapu64@{swapu64}!endianness.h@{endianness.\-h}} \subsubsection[{swapu64}]{\setlength{\rightskip}{0pt plus 5cm}\#define swapu64( \begin{DoxyParamCaption} \item[{}]{n} \end{DoxyParamCaption} )~{\bf \-\_\-swapu64}(n)}}\label{endianness_8h_add5cd3ce586fbc72da899bab18414aff} \subsection{Function Documentation} \hypertarget{endianness_8h_a62a3fc191a2e34e7c20fa5972973174d}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swap16@{\-\_\-swap16}} \index{\-\_\-swap16@{\-\_\-swap16}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swap16}]{\setlength{\rightskip}{0pt plus 5cm}static int16\-\_\-t \-\_\-swap16 ( \begin{DoxyParamCaption} \item[{int16\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_a62a3fc191a2e34e7c20fa5972973174d} \hypertarget{endianness_8h_a6cf2e33557bb13e4ac6548e3f3faa810}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swap32@{\-\_\-swap32}} \index{\-\_\-swap32@{\-\_\-swap32}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swap32}]{\setlength{\rightskip}{0pt plus 5cm}static int32\-\_\-t \-\_\-swap32 ( \begin{DoxyParamCaption} \item[{int32\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_a6cf2e33557bb13e4ac6548e3f3faa810} \hypertarget{endianness_8h_a31cc33bcc46feef8e55f8d639f297e0c}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swap64@{\-\_\-swap64}} \index{\-\_\-swap64@{\-\_\-swap64}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swap64}]{\setlength{\rightskip}{0pt plus 5cm}static int64\-\_\-t \-\_\-swap64 ( \begin{DoxyParamCaption} \item[{int64\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_a31cc33bcc46feef8e55f8d639f297e0c} \hypertarget{endianness_8h_ae6e75b2f5d9327c460aee619e4dad16e}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swapu16@{\-\_\-swapu16}} \index{\-\_\-swapu16@{\-\_\-swapu16}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swapu16}]{\setlength{\rightskip}{0pt plus 5cm}static uint16\-\_\-t \-\_\-swapu16 ( \begin{DoxyParamCaption} \item[{uint16\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_ae6e75b2f5d9327c460aee619e4dad16e} \hypertarget{endianness_8h_a9084b1304f7f7a0c5e8891b8728bdc99}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swapu32@{\-\_\-swapu32}} \index{\-\_\-swapu32@{\-\_\-swapu32}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swapu32}]{\setlength{\rightskip}{0pt plus 5cm}static uint32\-\_\-t \-\_\-swapu32 ( \begin{DoxyParamCaption} \item[{uint32\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_a9084b1304f7f7a0c5e8891b8728bdc99} \hypertarget{endianness_8h_a2befb1be195c9febc29b232dd1a2237a}{\index{endianness.\-h@{endianness.\-h}!\-\_\-swapu64@{\-\_\-swapu64}} \index{\-\_\-swapu64@{\-\_\-swapu64}!endianness.h@{endianness.\-h}} \subsubsection[{\-\_\-swapu64}]{\setlength{\rightskip}{0pt plus 5cm}static uint64\-\_\-t \-\_\-swapu64 ( \begin{DoxyParamCaption} \item[{uint64\-\_\-t}]{n} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{endianness_8h_a2befb1be195c9febc29b232dd1a2237a}