\hypertarget{beecrypt_8h}{\section{include/beecrypt/beecrypt.h File Reference} \label{beecrypt_8h}\index{include/beecrypt/beecrypt.\-h@{include/beecrypt/beecrypt.\-h}} } Bee\-Crypt A\-P\-I, headers. {\ttfamily \#include \char`\"{}beecrypt/api.\-h\char`\"{}}\\* {\ttfamily \#include \char`\"{}beecrypt/memchunk.\-h\char`\"{}}\\* {\ttfamily \#include \char`\"{}beecrypt/mpnumber.\-h\char`\"{}}\\* Include dependency graph for beecrypt.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{beecrypt_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{beecrypt_8h__dep__incl} \end{center} \end{figure} \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{structentropySource}{entropy\-Source} \begin{DoxyCompactList}\small\item\em This struct holds information and pointers to code specific to each source of entropy. \end{DoxyCompactList}\item struct \hyperlink{structrandomGenerator}{random\-Generator} \begin{DoxyCompactList}\small\item\em This struct holds information and pointers to code specific to each pseudo-\/random number generator. \end{DoxyCompactList}\item struct \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} \item struct \hyperlink{structhashFunction}{hash\-Function} \item struct \hyperlink{structhashFunctionContext}{hash\-Function\-Context} \item struct \hyperlink{structkeyedHashFunction}{keyed\-Hash\-Function} \item struct \hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} \item struct \hyperlink{structblockCipherRaw}{block\-Cipher\-Raw} \item struct \hyperlink{structblockCipherMode}{block\-Cipher\-Mode} \item struct \hyperlink{structblockCipher}{block\-Cipher} \begin{DoxyCompactList}\small\item\em Holds information and pointers to code specific to each cipher. \end{DoxyCompactList}\item struct \hyperlink{structblockCipherContext}{block\-Cipher\-Context} \begin{DoxyCompactList}\small\item\em Holds a pointer to a blockcipher as well as its parameters. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Typedefs} \begin{DoxyCompactItemize} \item typedef int($\ast$ \hyperlink{group__ES__m_ga7c36ced3ce2b28b3d61b13ba0b2f9d4d}{entropy\-Next} )(\hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \begin{DoxyCompactList}\small\item\em Prototype definition for an entropy-\/generating function. \end{DoxyCompactList}\item typedef void \hyperlink{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{random\-Generator\-Param} \item typedef int($\ast$ \hyperlink{beecrypt_8h_a4d82f6868b6d41e1d387023d4e5d73ce}{random\-Generator\-Setup} )(\hyperlink{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{random\-Generator\-Param} $\ast$) \item typedef int($\ast$ \hyperlink{beecrypt_8h_a8d1319ccc33a123684c53f94a1a81bb1}{random\-Generator\-Seed} )(\hyperlink{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{random\-Generator\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item typedef int($\ast$ \hyperlink{beecrypt_8h_ad2e5b19992c14145ff9d01314d80942b}{random\-Generator\-Next} )(\hyperlink{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{random\-Generator\-Param} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item typedef int($\ast$ \hyperlink{beecrypt_8h_aeeaa29f26954bdf866bd22cf097d4648}{random\-Generator\-Cleanup} )(\hyperlink{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{random\-Generator\-Param} $\ast$) \item typedef void \hyperlink{group__HASH__m_ga94edf1e4abdf78acd04e54ab389f9387}{hash\-Function\-Param} \item typedef int($\ast$ \hyperlink{beecrypt_8h_a862f28c4090c61e27ee3a51c81bbb58c}{hash\-Function\-Reset} )(\hyperlink{group__HASH__m_ga94edf1e4abdf78acd04e54ab389f9387}{hash\-Function\-Param} $\ast$) \item typedef int($\ast$ \hyperlink{beecrypt_8h_adedf90e4dd8f70073c38dbd590799575}{hash\-Function\-Update} )(\hyperlink{group__HASH__m_ga94edf1e4abdf78acd04e54ab389f9387}{hash\-Function\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item typedef int($\ast$ \hyperlink{beecrypt_8h_a0880b04490ee9c7440e48c7156fc4f23}{hash\-Function\-Digest} )(\hyperlink{group__HASH__m_ga94edf1e4abdf78acd04e54ab389f9387}{hash\-Function\-Param} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \item typedef void \hyperlink{group__HMAC__m_ga64af99fc74e1c766e8d03071b652cb4d}{keyed\-Hash\-Function\-Param} \item typedef int($\ast$ \hyperlink{beecrypt_8h_a6f67228e64a6c6b6005fe85f7234a397}{keyed\-Hash\-Function\-Setup} )(\hyperlink{group__HMAC__m_ga64af99fc74e1c766e8d03071b652cb4d}{keyed\-Hash\-Function\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item typedef int($\ast$ \hyperlink{beecrypt_8h_a76368dcfe764752e23c7505fb9b7cbc2}{keyed\-Hash\-Function\-Reset} )(\hyperlink{group__HMAC__m_ga64af99fc74e1c766e8d03071b652cb4d}{keyed\-Hash\-Function\-Param} $\ast$) \item typedef int($\ast$ \hyperlink{beecrypt_8h_a240f02f2647968752d3f4e52f88f54bc}{keyed\-Hash\-Function\-Update} )(\hyperlink{group__HMAC__m_ga64af99fc74e1c766e8d03071b652cb4d}{keyed\-Hash\-Function\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item typedef int($\ast$ \hyperlink{beecrypt_8h_abef2dc2a954271d06eb908d9cb8f612f}{keyed\-Hash\-Function\-Digest} )(\hyperlink{group__HMAC__m_ga64af99fc74e1c766e8d03071b652cb4d}{keyed\-Hash\-Function\-Param} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \item typedef void \hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} \begin{DoxyCompactList}\small\item\em Placeholder type definition for blockcipher parameters. \end{DoxyCompactList}\item typedef int($\ast$ \hyperlink{group__BC__m_ga4bb0a804ab2c38ac56120f1cd35600b3}{block\-Cipher\-Setup} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t, \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558}{cipher\-Operation}) \begin{DoxyCompactList}\small\item\em Prototype definition for a setup function. \end{DoxyCompactList}\item typedef int($\ast$ \hyperlink{group__BC__m_ga40aeffa20f977393fbf10378ef466c25}{block\-Cipher\-Set\-I\-V} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \begin{DoxyCompactList}\small\item\em Prototype definition for an initialization vector setup function. \end{DoxyCompactList}\item typedef int($\ast$ \hyperlink{group__BC__m_gae6164c8a42013a0b3aadba1bccd416af}{block\-Cipher\-Set\-C\-T\-R} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \begin{DoxyCompactList}\small\item\em Prototype definition for an initialization vector setup function. \end{DoxyCompactList}\item typedef int($\ast$ \hyperlink{group__BC__m_ga49ec3da318c2c3ab4464c8dbb38617c5}{block\-Cipher\-Rawcrypt} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$, uint32\-\_\-t $\ast$, const uint32\-\_\-t $\ast$) \begin{DoxyCompactList}\small\item\em Prototype for a {\itshape raw} encryption or decryption function. \end{DoxyCompactList}\item typedef int($\ast$ \hyperlink{group__BC__m_gacc003baa6ffa4b315283282b19f081ec}{block\-Cipher\-Modcrypt} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$, uint32\-\_\-t $\ast$, const uint32\-\_\-t $\ast$, unsigned int) \begin{DoxyCompactList}\small\item\em Prototype for a {\itshape encryption} or decryption function which operates on multiple blocks in a certain mode. \end{DoxyCompactList}\item typedef uint32\-\_\-t $\ast$($\ast$ \hyperlink{beecrypt_8h_a94e1fe0182e49b4fb388d08c93fc1a2c}{block\-Cipher\-Feedback} )(\hyperlink{group__BC__m_gaa6f6ba122e489fd3c3923c83cb55dae0}{block\-Cipher\-Param} $\ast$) \end{DoxyCompactItemize} \subsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558}{cipher\-Operation} \{ \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558a8d67fb0581b95ff8d49840ebfaedffd4}{N\-O\-C\-R\-Y\-P\-T}, \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558a606f7451c00ce2831f56eceb9ab6bb96}{E\-N\-C\-R\-Y\-P\-T}, \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558a3179dbaa639c5906029876801dcf4e11}{D\-E\-C\-R\-Y\-P\-T} \} \begin{DoxyCompactList}\small\item\em Specifies whether to perform encryption or decryption. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{beecrypt_8h_a2e630fc8a21080fa4c67b18490f28a33}{entropy\-Source\-Count} (void) \begin{DoxyCompactList}\small\item\em This function returns the number of entropy sources implemented by the library. \end{DoxyCompactList}\item const \hyperlink{structentropySource}{entropy\-Source} $\ast$ \hyperlink{beecrypt_8h_ada43c2b83992195fbc6434412bbd6d26}{entropy\-Source\-Get} (int n) \begin{DoxyCompactList}\small\item\em This function returns the {\itshape n} -\/th entropy source implemented by the library. \end{DoxyCompactList}\item const \hyperlink{structentropySource}{entropy\-Source} $\ast$ \hyperlink{beecrypt_8h_aaffe227dcd8be091603342767d7d1b79}{entropy\-Source\-Find} (const char $\ast$name) \begin{DoxyCompactList}\small\item\em This function returns the entropy source specified by the given name. \end{DoxyCompactList}\item const \hyperlink{structentropySource}{entropy\-Source} $\ast$ \hyperlink{beecrypt_8h_afb941723fc8e79495a6e8f77639ce29a}{entropy\-Source\-Default} (void) \begin{DoxyCompactList}\small\item\em This functions returns the default entropy source; the default value can be specified by setting environment variable B\-E\-E\-C\-R\-Y\-P\-T\-\_\-\-E\-N\-T\-R\-O\-P\-Y. \end{DoxyCompactList}\item int \hyperlink{beecrypt_8h_a4a298808ee4ff5970f0bb66ed535ec21}{entropy\-Gather\-Next} (\hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \begin{DoxyCompactList}\small\item\em This function gathers {\itshape size} bytes of entropy into {\itshape data}. \end{DoxyCompactList}\item int \hyperlink{beecrypt_8h_a01abf6229b3cf2218a80db61b15523ca}{random\-Generator\-Count} (void) \item const \hyperlink{structrandomGenerator}{random\-Generator} $\ast$ \hyperlink{beecrypt_8h_a1bb64c9048ca225e217f7b389a15e15f}{random\-Generator\-Get} (int) \item const \hyperlink{structrandomGenerator}{random\-Generator} $\ast$ \hyperlink{beecrypt_8h_adfe51a5fdbc3a7637df135930f3fc736}{random\-Generator\-Find} (const char $\ast$) \item const \hyperlink{structrandomGenerator}{random\-Generator} $\ast$ \hyperlink{beecrypt_8h_a75ec034f594a52065782a5c0b39d39d5}{random\-Generator\-Default} (void) \item int \hyperlink{beecrypt_8h_af0fe12db4e6babe65495bd6dfee59200}{random\-Generator\-Context\-Init} (\hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, const \hyperlink{structrandomGenerator}{random\-Generator} $\ast$) \item int \hyperlink{beecrypt_8h_a6aee4a637885b2b1a9a4927e842af6c9}{random\-Generator\-Context\-Free} (\hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_a6de16f2df538d071c357144bd119edb6}{random\-Generator\-Context\-Next} (\hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_a258c5f71055b05fcc2f52f63ba390d1a}{random\-Generator\-Context\-Seed} (\hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_a80b63b9d3fc63f334d18d1a37b8c0837}{hash\-Function\-Count} (void) \item const \hyperlink{structhashFunction}{hash\-Function} $\ast$ \hyperlink{beecrypt_8h_a5aeb08c14094bb6f148aebc09c8c4056}{hash\-Function\-Get} (int) \item const \hyperlink{structhashFunction}{hash\-Function} $\ast$ \hyperlink{beecrypt_8h_a9204a2c7e01767e32241350e6ecf7252}{hash\-Function\-Find} (const char $\ast$) \item const \hyperlink{structhashFunction}{hash\-Function} $\ast$ \hyperlink{beecrypt_8h_aa6a06eb76b04e62edb36340f602b6fff}{hash\-Function\-Default} (void) \item int \hyperlink{beecrypt_8h_aadf3f9eeeb2470234f81b01681c65407}{hash\-Function\-Context\-Init} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, const \hyperlink{structhashFunction}{hash\-Function} $\ast$) \item int \hyperlink{beecrypt_8h_a0bf1ac8c6b4428ee70b750a6c9b02f69}{hash\-Function\-Context\-Free} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_a190d3e4c22c315fed2662a11b333bdac}{hash\-Function\-Context\-Reset} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_afe58d7195eaaf3d81cb92a5928de3fc3}{hash\-Function\-Context\-Update} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_afa41fb029463ab0bd409296b2fa891f6}{hash\-Function\-Context\-Update\-M\-C} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, const \hyperlink{structmemchunk}{memchunk} $\ast$) \item int \hyperlink{beecrypt_8h_a327408a893dfada3a2b3964223d7ca8f}{hash\-Function\-Context\-Update\-M\-P} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_a5b643b26dd94e101dc987f97cb71b9e8}{hash\-Function\-Context\-Digest} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \item int \hyperlink{beecrypt_8h_a2b746f73795f8fc8248fe53f360489b5}{hash\-Function\-Context\-Digest\-M\-P} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_aa51655727095acce4c7b4a800f812f3e}{hash\-Function\-Context\-Digest\-Match} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_acdfc8cf976442a8787fc386fd4482643}{keyed\-Hash\-Function\-Count} (void) \item const \hyperlink{structkeyedHashFunction}{keyed\-Hash\-Function} $\ast$ \hyperlink{beecrypt_8h_a1a562d253fc6d47cbf46bb39a31756de}{keyed\-Hash\-Function\-Get} (int) \item const \hyperlink{structkeyedHashFunction}{keyed\-Hash\-Function} $\ast$ \hyperlink{beecrypt_8h_a52c030c0c1f7077cc4eb2cd3d26992b4}{keyed\-Hash\-Function\-Find} (const char $\ast$) \item const \hyperlink{structkeyedHashFunction}{keyed\-Hash\-Function} $\ast$ \hyperlink{beecrypt_8h_a3ae8c4a00dc15ed49ebf53cdde9f0654}{keyed\-Hash\-Function\-Default} (void) \item int \hyperlink{beecrypt_8h_a038a6cdda18a57d81fdf5b7ff4e713d2}{keyed\-Hash\-Function\-Context\-Init} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{structkeyedHashFunction}{keyed\-Hash\-Function} $\ast$) \item int \hyperlink{beecrypt_8h_ae58dba3450e389bd57fa9662246c615c}{keyed\-Hash\-Function\-Context\-Free} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_a80018980668ed9121a0d9b843994a1b4}{keyed\-Hash\-Function\-Context\-Setup} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_ab4124cb62091bdc935e7efa3164dc78c}{keyed\-Hash\-Function\-Context\-Reset} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_a88615d56cb64acbc1488250ddcd612a8}{keyed\-Hash\-Function\-Context\-Update} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_a77909d98df4c0279f8484c7cd04fbed7}{keyed\-Hash\-Function\-Context\-Update\-M\-C} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{structmemchunk}{memchunk} $\ast$) \item int \hyperlink{beecrypt_8h_ac7ee3f3cdb341a59804a859bc2d2a1c5}{keyed\-Hash\-Function\-Context\-Update\-M\-P} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_aebae300c3551a15e114b34b1ea03a7cc}{keyed\-Hash\-Function\-Context\-Digest} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \item int \hyperlink{beecrypt_8h_ae0cdb06fca4d61994ce5f3f7f108e19e}{keyed\-Hash\-Function\-Context\-Digest\-M\-P} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_aa229fa59418e9d15628a208933e5a285}{keyed\-Hash\-Function\-Context\-Digest\-Match} (\hyperlink{structkeyedHashFunctionContext}{keyed\-Hash\-Function\-Context} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$) \item int \hyperlink{beecrypt_8h_aff01dd7e323ca4832559e06dcd21a50f}{block\-Cipher\-Count} (void) \begin{DoxyCompactList}\small\item\em This function returns the number of blockciphers implemented by the library. \end{DoxyCompactList}\item const \hyperlink{structblockCipher}{block\-Cipher} $\ast$ \hyperlink{beecrypt_8h_ab4a58783bf02d8edec682f5db63b4ab9}{block\-Cipher\-Get} (int) \begin{DoxyCompactList}\small\item\em This function returns the {\itshape n} -\/th blockcipher implemented by the library. \end{DoxyCompactList}\item const \hyperlink{structblockCipher}{block\-Cipher} $\ast$ \hyperlink{beecrypt_8h_a3e624844316c5c6f0231a0edcf9b0628}{block\-Cipher\-Find} (const char $\ast$) \begin{DoxyCompactList}\small\item\em This function returns the blockcipher specified by the given name. \end{DoxyCompactList}\item const \hyperlink{structblockCipher}{block\-Cipher} $\ast$ \hyperlink{beecrypt_8h_a4c4c2de90041e552da1c29e3bbe96e7a}{block\-Cipher\-Default} (void) \begin{DoxyCompactList}\small\item\em This functions returns the default blockcipher; the default value can be specified by setting environment variable B\-E\-E\-C\-R\-Y\-P\-T\-\_\-\-C\-I\-P\-H\-E\-R. \end{DoxyCompactList}\item int \hyperlink{beecrypt_8h_af0bcba2049fded9263462e08e48e82c1}{block\-Cipher\-Context\-Init} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, const \hyperlink{structblockCipher}{block\-Cipher} $\ast$) \item int \hyperlink{beecrypt_8h_a3c3e95f9cfdc49fd681ecd87c458362d}{block\-Cipher\-Context\-Setup} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t, \hyperlink{group__BC__m_gace10d4c0b0409d35c6a703d6445fc558}{cipher\-Operation}) \item int \hyperlink{beecrypt_8h_a8effb48ec7132ac6d5872e8887e51ffc}{block\-Cipher\-Context\-Set\-I\-V} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$) \item int \hyperlink{beecrypt_8h_abc774db9cb9ee113a4050e5b8b310a7d}{block\-Cipher\-Context\-Set\-C\-T\-R} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t) \item int \hyperlink{beecrypt_8h_acdbacb548303571540b2d9dccb884e26}{block\-Cipher\-Context\-Free} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$) \item int \hyperlink{beecrypt_8h_ae699e023fd254dc115d9eda60c37abdf}{block\-Cipher\-Context\-E\-C\-B} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, uint32\-\_\-t $\ast$, const uint32\-\_\-t $\ast$, int) \item int \hyperlink{beecrypt_8h_ad525360e43b8f30a161a4e50abbd12bf}{block\-Cipher\-Context\-C\-B\-C} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, uint32\-\_\-t $\ast$, const uint32\-\_\-t $\ast$, int) \item int \hyperlink{beecrypt_8h_a1f9396b85ecb7daa8ca08286db5dfc0e}{block\-Cipher\-Context\-C\-T\-R} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, uint32\-\_\-t $\ast$, const uint32\-\_\-t $\ast$, int) \item int \hyperlink{beecrypt_8h_aa5e67eeb1b6c84e2023995ca65ff49df}{block\-Cipher\-Context\-Valid\-Keylen} (\hyperlink{structblockCipherContext}{block\-Cipher\-Context} $\ast$, size\-\_\-t) \end{DoxyCompactItemize} \subsection{Detailed Description} Bee\-Crypt A\-P\-I, headers. These A\-P\-I functions provide an abstract way for using most of the various algorithms implemented by the library. \begin{DoxyAuthor}{Author} Bob Deblier \href{mailto:bob.deblier@telenet.be}{\tt bob.\-deblier@telenet.\-be} \end{DoxyAuthor} \subsection{Typedef Documentation} \hypertarget{beecrypt_8h_a94e1fe0182e49b4fb388d08c93fc1a2c}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Feedback@{block\-Cipher\-Feedback}} \index{block\-Cipher\-Feedback@{block\-Cipher\-Feedback}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Feedback}]{\setlength{\rightskip}{0pt plus 5cm}typedef uint32\-\_\-t$\ast$($\ast$ block\-Cipher\-Feedback)({\bf block\-Cipher\-Param} $\ast$)}}\label{beecrypt_8h_a94e1fe0182e49b4fb388d08c93fc1a2c} \hypertarget{beecrypt_8h_a0880b04490ee9c7440e48c7156fc4f23}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Digest@{hash\-Function\-Digest}} \index{hash\-Function\-Digest@{hash\-Function\-Digest}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Digest}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ hash\-Function\-Digest)({\bf hash\-Function\-Param} $\ast$, {\bf byte} $\ast$)}}\label{beecrypt_8h_a0880b04490ee9c7440e48c7156fc4f23} \hypertarget{beecrypt_8h_a862f28c4090c61e27ee3a51c81bbb58c}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Reset@{hash\-Function\-Reset}} \index{hash\-Function\-Reset@{hash\-Function\-Reset}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Reset}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ hash\-Function\-Reset)({\bf hash\-Function\-Param} $\ast$)}}\label{beecrypt_8h_a862f28c4090c61e27ee3a51c81bbb58c} \hypertarget{beecrypt_8h_adedf90e4dd8f70073c38dbd590799575}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Update@{hash\-Function\-Update}} \index{hash\-Function\-Update@{hash\-Function\-Update}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Update}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ hash\-Function\-Update)({\bf hash\-Function\-Param} $\ast$, const {\bf byte} $\ast$, size\-\_\-t)}}\label{beecrypt_8h_adedf90e4dd8f70073c38dbd590799575} \hypertarget{beecrypt_8h_abef2dc2a954271d06eb908d9cb8f612f}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Digest@{keyed\-Hash\-Function\-Digest}} \index{keyed\-Hash\-Function\-Digest@{keyed\-Hash\-Function\-Digest}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Digest}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ keyed\-Hash\-Function\-Digest)({\bf keyed\-Hash\-Function\-Param} $\ast$, {\bf byte} $\ast$)}}\label{beecrypt_8h_abef2dc2a954271d06eb908d9cb8f612f} \hypertarget{beecrypt_8h_a76368dcfe764752e23c7505fb9b7cbc2}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Reset@{keyed\-Hash\-Function\-Reset}} \index{keyed\-Hash\-Function\-Reset@{keyed\-Hash\-Function\-Reset}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Reset}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ keyed\-Hash\-Function\-Reset)({\bf keyed\-Hash\-Function\-Param} $\ast$)}}\label{beecrypt_8h_a76368dcfe764752e23c7505fb9b7cbc2} \hypertarget{beecrypt_8h_a6f67228e64a6c6b6005fe85f7234a397}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Setup@{keyed\-Hash\-Function\-Setup}} \index{keyed\-Hash\-Function\-Setup@{keyed\-Hash\-Function\-Setup}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ keyed\-Hash\-Function\-Setup)({\bf keyed\-Hash\-Function\-Param} $\ast$, const {\bf byte} $\ast$, size\-\_\-t)}}\label{beecrypt_8h_a6f67228e64a6c6b6005fe85f7234a397} \hypertarget{beecrypt_8h_a240f02f2647968752d3f4e52f88f54bc}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Update@{keyed\-Hash\-Function\-Update}} \index{keyed\-Hash\-Function\-Update@{keyed\-Hash\-Function\-Update}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Update}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ keyed\-Hash\-Function\-Update)({\bf keyed\-Hash\-Function\-Param} $\ast$, const {\bf byte} $\ast$, size\-\_\-t)}}\label{beecrypt_8h_a240f02f2647968752d3f4e52f88f54bc} \hypertarget{beecrypt_8h_aeeaa29f26954bdf866bd22cf097d4648}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Cleanup@{random\-Generator\-Cleanup}} \index{random\-Generator\-Cleanup@{random\-Generator\-Cleanup}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Cleanup}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ random\-Generator\-Cleanup)({\bf random\-Generator\-Param} $\ast$)}}\label{beecrypt_8h_aeeaa29f26954bdf866bd22cf097d4648} \hypertarget{beecrypt_8h_ad2e5b19992c14145ff9d01314d80942b}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Next@{random\-Generator\-Next}} \index{random\-Generator\-Next@{random\-Generator\-Next}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Next}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ random\-Generator\-Next)({\bf random\-Generator\-Param} $\ast$, {\bf byte} $\ast$, size\-\_\-t)}}\label{beecrypt_8h_ad2e5b19992c14145ff9d01314d80942b} \hypertarget{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Param@{random\-Generator\-Param}} \index{random\-Generator\-Param@{random\-Generator\-Param}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Param}]{\setlength{\rightskip}{0pt plus 5cm}typedef void {\bf random\-Generator\-Param}}}\label{beecrypt_8h_ae3683978875efaebac10e27fc3ecce94} \hypertarget{beecrypt_8h_a8d1319ccc33a123684c53f94a1a81bb1}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Seed@{random\-Generator\-Seed}} \index{random\-Generator\-Seed@{random\-Generator\-Seed}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Seed}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ random\-Generator\-Seed)({\bf random\-Generator\-Param} $\ast$, const {\bf byte} $\ast$, size\-\_\-t)}}\label{beecrypt_8h_a8d1319ccc33a123684c53f94a1a81bb1} \hypertarget{beecrypt_8h_a4d82f6868b6d41e1d387023d4e5d73ce}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Setup@{random\-Generator\-Setup}} \index{random\-Generator\-Setup@{random\-Generator\-Setup}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ random\-Generator\-Setup)({\bf random\-Generator\-Param} $\ast$)}}\label{beecrypt_8h_a4d82f6868b6d41e1d387023d4e5d73ce} \subsection{Function Documentation} \hypertarget{beecrypt_8h_ad525360e43b8f30a161a4e50abbd12bf}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-C\-B\-C@{block\-Cipher\-Context\-C\-B\-C}} \index{block\-Cipher\-Context\-C\-B\-C@{block\-Cipher\-Context\-C\-B\-C}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-C\-B\-C}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-C\-B\-C ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{uint32\-\_\-t $\ast$}]{, } \item[{const uint32\-\_\-t $\ast$}]{, } \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ad525360e43b8f30a161a4e50abbd12bf} \hypertarget{beecrypt_8h_a1f9396b85ecb7daa8ca08286db5dfc0e}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-C\-T\-R@{block\-Cipher\-Context\-C\-T\-R}} \index{block\-Cipher\-Context\-C\-T\-R@{block\-Cipher\-Context\-C\-T\-R}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-C\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-C\-T\-R ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{uint32\-\_\-t $\ast$}]{, } \item[{const uint32\-\_\-t $\ast$}]{, } \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a1f9396b85ecb7daa8ca08286db5dfc0e} \hypertarget{beecrypt_8h_ae699e023fd254dc115d9eda60c37abdf}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-E\-C\-B@{block\-Cipher\-Context\-E\-C\-B}} \index{block\-Cipher\-Context\-E\-C\-B@{block\-Cipher\-Context\-E\-C\-B}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-E\-C\-B}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-E\-C\-B ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{uint32\-\_\-t $\ast$}]{, } \item[{const uint32\-\_\-t $\ast$}]{, } \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ae699e023fd254dc115d9eda60c37abdf} \hypertarget{beecrypt_8h_acdbacb548303571540b2d9dccb884e26}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Free@{block\-Cipher\-Context\-Free}} \index{block\-Cipher\-Context\-Free@{block\-Cipher\-Context\-Free}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Free}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Free ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_acdbacb548303571540b2d9dccb884e26} \hypertarget{beecrypt_8h_af0bcba2049fded9263462e08e48e82c1}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Init@{block\-Cipher\-Context\-Init}} \index{block\-Cipher\-Context\-Init@{block\-Cipher\-Context\-Init}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Init}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Init ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{const {\bf block\-Cipher} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_af0bcba2049fded9263462e08e48e82c1} \hypertarget{beecrypt_8h_abc774db9cb9ee113a4050e5b8b310a7d}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Set\-C\-T\-R@{block\-Cipher\-Context\-Set\-C\-T\-R}} \index{block\-Cipher\-Context\-Set\-C\-T\-R@{block\-Cipher\-Context\-Set\-C\-T\-R}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Set\-C\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Set\-C\-T\-R ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_abc774db9cb9ee113a4050e5b8b310a7d} \hypertarget{beecrypt_8h_a8effb48ec7132ac6d5872e8887e51ffc}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Set\-I\-V@{block\-Cipher\-Context\-Set\-I\-V}} \index{block\-Cipher\-Context\-Set\-I\-V@{block\-Cipher\-Context\-Set\-I\-V}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Set\-I\-V}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Set\-I\-V ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a8effb48ec7132ac6d5872e8887e51ffc} \hypertarget{beecrypt_8h_a3c3e95f9cfdc49fd681ecd87c458362d}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Setup@{block\-Cipher\-Context\-Setup}} \index{block\-Cipher\-Context\-Setup@{block\-Cipher\-Context\-Setup}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Setup ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{{\bf cipher\-Operation}}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a3c3e95f9cfdc49fd681ecd87c458362d} \hypertarget{beecrypt_8h_aa5e67eeb1b6c84e2023995ca65ff49df}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Context\-Valid\-Keylen@{block\-Cipher\-Context\-Valid\-Keylen}} \index{block\-Cipher\-Context\-Valid\-Keylen@{block\-Cipher\-Context\-Valid\-Keylen}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Context\-Valid\-Keylen}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Context\-Valid\-Keylen ( \begin{DoxyParamCaption} \item[{{\bf block\-Cipher\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aa5e67eeb1b6c84e2023995ca65ff49df} \hypertarget{beecrypt_8h_aff01dd7e323ca4832559e06dcd21a50f}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Count@{block\-Cipher\-Count}} \index{block\-Cipher\-Count@{block\-Cipher\-Count}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int block\-Cipher\-Count ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aff01dd7e323ca4832559e06dcd21a50f} This function returns the number of blockciphers implemented by the library. \begin{DoxyReturn}{Returns} The number of implemented blockciphers. \end{DoxyReturn} \hypertarget{beecrypt_8h_a4c4c2de90041e552da1c29e3bbe96e7a}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Default@{block\-Cipher\-Default}} \index{block\-Cipher\-Default@{block\-Cipher\-Default}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Default}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf block\-Cipher} $\ast$ block\-Cipher\-Default ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a4c4c2de90041e552da1c29e3bbe96e7a} This functions returns the default blockcipher; the default value can be specified by setting environment variable B\-E\-E\-C\-R\-Y\-P\-T\-\_\-\-C\-I\-P\-H\-E\-R. \begin{DoxyReturn}{Returns} A pointer to a blockcipher or null, in case an error occured. \end{DoxyReturn} \hypertarget{beecrypt_8h_a3e624844316c5c6f0231a0edcf9b0628}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Find@{block\-Cipher\-Find}} \index{block\-Cipher\-Find@{block\-Cipher\-Find}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Find}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf block\-Cipher} $\ast$ block\-Cipher\-Find ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{name} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a3e624844316c5c6f0231a0edcf9b0628} This function returns the blockcipher specified by the given name. \begin{DoxyParams}{Parameters} {\em name} & Name of the requested blockcipher. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} A pointer to a blockcipher or null, if the name wasn't found. \end{DoxyReturn} \hypertarget{beecrypt_8h_ab4a58783bf02d8edec682f5db63b4ab9}{\index{beecrypt.\-h@{beecrypt.\-h}!block\-Cipher\-Get@{block\-Cipher\-Get}} \index{block\-Cipher\-Get@{block\-Cipher\-Get}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{block\-Cipher\-Get}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf block\-Cipher} $\ast$ block\-Cipher\-Get ( \begin{DoxyParamCaption} \item[{int}]{n} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ab4a58783bf02d8edec682f5db63b4ab9} This function returns the {\itshape n} -\/th blockcipher implemented by the library. \begin{DoxyParams}{Parameters} {\em n} & Index of the requested blockcipher; legal values are 0 through \hyperlink{beecrypt_8h_aff01dd7e323ca4832559e06dcd21a50f}{block\-Cipher\-Count()} -\/ 1. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} A pointer to a blockcipher or null, if the index was out of range. \end{DoxyReturn} \hypertarget{beecrypt_8h_a4a298808ee4ff5970f0bb66ed535ec21}{\index{beecrypt.\-h@{beecrypt.\-h}!entropy\-Gather\-Next@{entropy\-Gather\-Next}} \index{entropy\-Gather\-Next@{entropy\-Gather\-Next}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{entropy\-Gather\-Next}]{\setlength{\rightskip}{0pt plus 5cm}int entropy\-Gather\-Next ( \begin{DoxyParamCaption} \item[{{\bf byte} $\ast$}]{data, } \item[{size\-\_\-t}]{size} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a4a298808ee4ff5970f0bb66ed535ec21} This function gathers {\itshape size} bytes of entropy into {\itshape data}. Unless environment variable B\-E\-E\-C\-R\-Y\-P\-T\-\_\-\-E\-N\-T\-R\-O\-P\-Y is set, this function will try each successive entropy source to gather up the requested amount. \begin{DoxyParams}{Parameters} {\em data} & Points to where the entropy should be stored. \\ \hline {\em size} & Indicates how many bytes of entropy should be gathered. \\ \hline \end{DoxyParams} \begin{DoxyRetVals}{Return values} {\em 0} & On success. \\ \hline {\em -\/1} & On failure. \\ \hline \end{DoxyRetVals} \hypertarget{beecrypt_8h_a2e630fc8a21080fa4c67b18490f28a33}{\index{beecrypt.\-h@{beecrypt.\-h}!entropy\-Source\-Count@{entropy\-Source\-Count}} \index{entropy\-Source\-Count@{entropy\-Source\-Count}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{entropy\-Source\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int entropy\-Source\-Count ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a2e630fc8a21080fa4c67b18490f28a33} This function returns the number of entropy sources implemented by the library. \begin{DoxyReturn}{Returns} The number of implemented entropy sources. \end{DoxyReturn} \hypertarget{beecrypt_8h_afb941723fc8e79495a6e8f77639ce29a}{\index{beecrypt.\-h@{beecrypt.\-h}!entropy\-Source\-Default@{entropy\-Source\-Default}} \index{entropy\-Source\-Default@{entropy\-Source\-Default}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{entropy\-Source\-Default}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf entropy\-Source} $\ast$ entropy\-Source\-Default ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_afb941723fc8e79495a6e8f77639ce29a} This functions returns the default entropy source; the default value can be specified by setting environment variable B\-E\-E\-C\-R\-Y\-P\-T\-\_\-\-E\-N\-T\-R\-O\-P\-Y. \begin{DoxyReturn}{Returns} A pointer to an entropy source or null, in case an error occured. \end{DoxyReturn} \hypertarget{beecrypt_8h_aaffe227dcd8be091603342767d7d1b79}{\index{beecrypt.\-h@{beecrypt.\-h}!entropy\-Source\-Find@{entropy\-Source\-Find}} \index{entropy\-Source\-Find@{entropy\-Source\-Find}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{entropy\-Source\-Find}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf entropy\-Source} $\ast$ entropy\-Source\-Find ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{name} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aaffe227dcd8be091603342767d7d1b79} This function returns the entropy source specified by the given name. \begin{DoxyParams}{Parameters} {\em name} & Name of the requested entropy source. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} A pointer to an entropy source or null, if the name wasn't found. \end{DoxyReturn} \hypertarget{beecrypt_8h_ada43c2b83992195fbc6434412bbd6d26}{\index{beecrypt.\-h@{beecrypt.\-h}!entropy\-Source\-Get@{entropy\-Source\-Get}} \index{entropy\-Source\-Get@{entropy\-Source\-Get}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{entropy\-Source\-Get}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf entropy\-Source} $\ast$ entropy\-Source\-Get ( \begin{DoxyParamCaption} \item[{int}]{n} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ada43c2b83992195fbc6434412bbd6d26} This function returns the {\itshape n} -\/th entropy source implemented by the library. \begin{DoxyParams}{Parameters} {\em n} & Index of the requested entropy source; legal values are 0 through \hyperlink{beecrypt_8h_a2e630fc8a21080fa4c67b18490f28a33}{entropy\-Source\-Count()} -\/ 1. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} A pointer to an entropy source or null, if the index was out of range. \end{DoxyReturn} \hypertarget{beecrypt_8h_a5b643b26dd94e101dc987f97cb71b9e8}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Digest@{hash\-Function\-Context\-Digest}} \index{hash\-Function\-Context\-Digest@{hash\-Function\-Context\-Digest}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Digest}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Digest ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{{\bf byte} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a5b643b26dd94e101dc987f97cb71b9e8} \hypertarget{beecrypt_8h_aa51655727095acce4c7b4a800f812f3e}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Digest\-Match@{hash\-Function\-Context\-Digest\-Match}} \index{hash\-Function\-Context\-Digest\-Match@{hash\-Function\-Context\-Digest\-Match}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Digest\-Match}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Digest\-Match ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aa51655727095acce4c7b4a800f812f3e} \hypertarget{beecrypt_8h_a2b746f73795f8fc8248fe53f360489b5}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Digest\-M\-P@{hash\-Function\-Context\-Digest\-M\-P}} \index{hash\-Function\-Context\-Digest\-M\-P@{hash\-Function\-Context\-Digest\-M\-P}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Digest\-M\-P}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Digest\-M\-P ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a2b746f73795f8fc8248fe53f360489b5} \hypertarget{beecrypt_8h_a0bf1ac8c6b4428ee70b750a6c9b02f69}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Free@{hash\-Function\-Context\-Free}} \index{hash\-Function\-Context\-Free@{hash\-Function\-Context\-Free}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Free}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Free ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a0bf1ac8c6b4428ee70b750a6c9b02f69} \hypertarget{beecrypt_8h_aadf3f9eeeb2470234f81b01681c65407}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Init@{hash\-Function\-Context\-Init}} \index{hash\-Function\-Context\-Init@{hash\-Function\-Context\-Init}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Init}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Init ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf hash\-Function} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aadf3f9eeeb2470234f81b01681c65407} \hypertarget{beecrypt_8h_a190d3e4c22c315fed2662a11b333bdac}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Reset@{hash\-Function\-Context\-Reset}} \index{hash\-Function\-Context\-Reset@{hash\-Function\-Context\-Reset}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Reset}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Reset ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a190d3e4c22c315fed2662a11b333bdac} \hypertarget{beecrypt_8h_afe58d7195eaaf3d81cb92a5928de3fc3}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Update@{hash\-Function\-Context\-Update}} \index{hash\-Function\-Context\-Update@{hash\-Function\-Context\-Update}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Update}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Update ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_afe58d7195eaaf3d81cb92a5928de3fc3} \hypertarget{beecrypt_8h_afa41fb029463ab0bd409296b2fa891f6}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Update\-M\-C@{hash\-Function\-Context\-Update\-M\-C}} \index{hash\-Function\-Context\-Update\-M\-C@{hash\-Function\-Context\-Update\-M\-C}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Update\-M\-C}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Update\-M\-C ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf memchunk} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_afa41fb029463ab0bd409296b2fa891f6} \hypertarget{beecrypt_8h_a327408a893dfada3a2b3964223d7ca8f}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Context\-Update\-M\-P@{hash\-Function\-Context\-Update\-M\-P}} \index{hash\-Function\-Context\-Update\-M\-P@{hash\-Function\-Context\-Update\-M\-P}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Context\-Update\-M\-P}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Context\-Update\-M\-P ( \begin{DoxyParamCaption} \item[{{\bf hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a327408a893dfada3a2b3964223d7ca8f} \hypertarget{beecrypt_8h_a80b63b9d3fc63f334d18d1a37b8c0837}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Count@{hash\-Function\-Count}} \index{hash\-Function\-Count@{hash\-Function\-Count}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int hash\-Function\-Count ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a80b63b9d3fc63f334d18d1a37b8c0837} \hypertarget{beecrypt_8h_aa6a06eb76b04e62edb36340f602b6fff}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Default@{hash\-Function\-Default}} \index{hash\-Function\-Default@{hash\-Function\-Default}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Default}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf hash\-Function}$\ast$ hash\-Function\-Default ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aa6a06eb76b04e62edb36340f602b6fff} \hypertarget{beecrypt_8h_a9204a2c7e01767e32241350e6ecf7252}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Find@{hash\-Function\-Find}} \index{hash\-Function\-Find@{hash\-Function\-Find}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Find}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf hash\-Function}$\ast$ hash\-Function\-Find ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a9204a2c7e01767e32241350e6ecf7252} \hypertarget{beecrypt_8h_a5aeb08c14094bb6f148aebc09c8c4056}{\index{beecrypt.\-h@{beecrypt.\-h}!hash\-Function\-Get@{hash\-Function\-Get}} \index{hash\-Function\-Get@{hash\-Function\-Get}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{hash\-Function\-Get}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf hash\-Function}$\ast$ hash\-Function\-Get ( \begin{DoxyParamCaption} \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a5aeb08c14094bb6f148aebc09c8c4056} \hypertarget{beecrypt_8h_aebae300c3551a15e114b34b1ea03a7cc}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Digest@{keyed\-Hash\-Function\-Context\-Digest}} \index{keyed\-Hash\-Function\-Context\-Digest@{keyed\-Hash\-Function\-Context\-Digest}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Digest}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Digest ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{{\bf byte} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aebae300c3551a15e114b34b1ea03a7cc} \hypertarget{beecrypt_8h_aa229fa59418e9d15628a208933e5a285}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Digest\-Match@{keyed\-Hash\-Function\-Context\-Digest\-Match}} \index{keyed\-Hash\-Function\-Context\-Digest\-Match@{keyed\-Hash\-Function\-Context\-Digest\-Match}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Digest\-Match}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Digest\-Match ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_aa229fa59418e9d15628a208933e5a285} \hypertarget{beecrypt_8h_ae0cdb06fca4d61994ce5f3f7f108e19e}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Digest\-M\-P@{keyed\-Hash\-Function\-Context\-Digest\-M\-P}} \index{keyed\-Hash\-Function\-Context\-Digest\-M\-P@{keyed\-Hash\-Function\-Context\-Digest\-M\-P}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Digest\-M\-P}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Digest\-M\-P ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ae0cdb06fca4d61994ce5f3f7f108e19e} \hypertarget{beecrypt_8h_ae58dba3450e389bd57fa9662246c615c}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Free@{keyed\-Hash\-Function\-Context\-Free}} \index{keyed\-Hash\-Function\-Context\-Free@{keyed\-Hash\-Function\-Context\-Free}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Free}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Free ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ae58dba3450e389bd57fa9662246c615c} \hypertarget{beecrypt_8h_a038a6cdda18a57d81fdf5b7ff4e713d2}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Init@{keyed\-Hash\-Function\-Context\-Init}} \index{keyed\-Hash\-Function\-Context\-Init@{keyed\-Hash\-Function\-Context\-Init}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Init}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Init ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf keyed\-Hash\-Function} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a038a6cdda18a57d81fdf5b7ff4e713d2} \hypertarget{beecrypt_8h_ab4124cb62091bdc935e7efa3164dc78c}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Reset@{keyed\-Hash\-Function\-Context\-Reset}} \index{keyed\-Hash\-Function\-Context\-Reset@{keyed\-Hash\-Function\-Context\-Reset}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Reset}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Reset ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ab4124cb62091bdc935e7efa3164dc78c} \hypertarget{beecrypt_8h_a80018980668ed9121a0d9b843994a1b4}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Setup@{keyed\-Hash\-Function\-Context\-Setup}} \index{keyed\-Hash\-Function\-Context\-Setup@{keyed\-Hash\-Function\-Context\-Setup}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Setup ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a80018980668ed9121a0d9b843994a1b4} \hypertarget{beecrypt_8h_a88615d56cb64acbc1488250ddcd612a8}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Update@{keyed\-Hash\-Function\-Context\-Update}} \index{keyed\-Hash\-Function\-Context\-Update@{keyed\-Hash\-Function\-Context\-Update}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Update}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Update ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a88615d56cb64acbc1488250ddcd612a8} \hypertarget{beecrypt_8h_a77909d98df4c0279f8484c7cd04fbed7}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Update\-M\-C@{keyed\-Hash\-Function\-Context\-Update\-M\-C}} \index{keyed\-Hash\-Function\-Context\-Update\-M\-C@{keyed\-Hash\-Function\-Context\-Update\-M\-C}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Update\-M\-C}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Update\-M\-C ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf memchunk} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a77909d98df4c0279f8484c7cd04fbed7} \hypertarget{beecrypt_8h_ac7ee3f3cdb341a59804a859bc2d2a1c5}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Context\-Update\-M\-P@{keyed\-Hash\-Function\-Context\-Update\-M\-P}} \index{keyed\-Hash\-Function\-Context\-Update\-M\-P@{keyed\-Hash\-Function\-Context\-Update\-M\-P}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Context\-Update\-M\-P}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Context\-Update\-M\-P ( \begin{DoxyParamCaption} \item[{{\bf keyed\-Hash\-Function\-Context} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_ac7ee3f3cdb341a59804a859bc2d2a1c5} \hypertarget{beecrypt_8h_acdfc8cf976442a8787fc386fd4482643}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Count@{keyed\-Hash\-Function\-Count}} \index{keyed\-Hash\-Function\-Count@{keyed\-Hash\-Function\-Count}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int keyed\-Hash\-Function\-Count ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_acdfc8cf976442a8787fc386fd4482643} \hypertarget{beecrypt_8h_a3ae8c4a00dc15ed49ebf53cdde9f0654}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Default@{keyed\-Hash\-Function\-Default}} \index{keyed\-Hash\-Function\-Default@{keyed\-Hash\-Function\-Default}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Default}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf keyed\-Hash\-Function}$\ast$ keyed\-Hash\-Function\-Default ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a3ae8c4a00dc15ed49ebf53cdde9f0654} \hypertarget{beecrypt_8h_a52c030c0c1f7077cc4eb2cd3d26992b4}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Find@{keyed\-Hash\-Function\-Find}} \index{keyed\-Hash\-Function\-Find@{keyed\-Hash\-Function\-Find}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Find}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf keyed\-Hash\-Function}$\ast$ keyed\-Hash\-Function\-Find ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a52c030c0c1f7077cc4eb2cd3d26992b4} \hypertarget{beecrypt_8h_a1a562d253fc6d47cbf46bb39a31756de}{\index{beecrypt.\-h@{beecrypt.\-h}!keyed\-Hash\-Function\-Get@{keyed\-Hash\-Function\-Get}} \index{keyed\-Hash\-Function\-Get@{keyed\-Hash\-Function\-Get}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{keyed\-Hash\-Function\-Get}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf keyed\-Hash\-Function}$\ast$ keyed\-Hash\-Function\-Get ( \begin{DoxyParamCaption} \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a1a562d253fc6d47cbf46bb39a31756de} \hypertarget{beecrypt_8h_a6aee4a637885b2b1a9a4927e842af6c9}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Context\-Free@{random\-Generator\-Context\-Free}} \index{random\-Generator\-Context\-Free@{random\-Generator\-Context\-Free}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Context\-Free}]{\setlength{\rightskip}{0pt plus 5cm}int random\-Generator\-Context\-Free ( \begin{DoxyParamCaption} \item[{{\bf random\-Generator\-Context} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a6aee4a637885b2b1a9a4927e842af6c9} \hypertarget{beecrypt_8h_af0fe12db4e6babe65495bd6dfee59200}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Context\-Init@{random\-Generator\-Context\-Init}} \index{random\-Generator\-Context\-Init@{random\-Generator\-Context\-Init}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Context\-Init}]{\setlength{\rightskip}{0pt plus 5cm}int random\-Generator\-Context\-Init ( \begin{DoxyParamCaption} \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{const {\bf random\-Generator} $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_af0fe12db4e6babe65495bd6dfee59200} \hypertarget{beecrypt_8h_a6de16f2df538d071c357144bd119edb6}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Context\-Next@{random\-Generator\-Context\-Next}} \index{random\-Generator\-Context\-Next@{random\-Generator\-Context\-Next}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Context\-Next}]{\setlength{\rightskip}{0pt plus 5cm}int random\-Generator\-Context\-Next ( \begin{DoxyParamCaption} \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{{\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a6de16f2df538d071c357144bd119edb6} \hypertarget{beecrypt_8h_a258c5f71055b05fcc2f52f63ba390d1a}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Context\-Seed@{random\-Generator\-Context\-Seed}} \index{random\-Generator\-Context\-Seed@{random\-Generator\-Context\-Seed}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Context\-Seed}]{\setlength{\rightskip}{0pt plus 5cm}int random\-Generator\-Context\-Seed ( \begin{DoxyParamCaption} \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a258c5f71055b05fcc2f52f63ba390d1a} \hypertarget{beecrypt_8h_a01abf6229b3cf2218a80db61b15523ca}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Count@{random\-Generator\-Count}} \index{random\-Generator\-Count@{random\-Generator\-Count}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int random\-Generator\-Count ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a01abf6229b3cf2218a80db61b15523ca} \hypertarget{beecrypt_8h_a75ec034f594a52065782a5c0b39d39d5}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Default@{random\-Generator\-Default}} \index{random\-Generator\-Default@{random\-Generator\-Default}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Default}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf random\-Generator}$\ast$ random\-Generator\-Default ( \begin{DoxyParamCaption} \item[{void}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a75ec034f594a52065782a5c0b39d39d5} \hypertarget{beecrypt_8h_adfe51a5fdbc3a7637df135930f3fc736}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Find@{random\-Generator\-Find}} \index{random\-Generator\-Find@{random\-Generator\-Find}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Find}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf random\-Generator}$\ast$ random\-Generator\-Find ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_adfe51a5fdbc3a7637df135930f3fc736} \hypertarget{beecrypt_8h_a1bb64c9048ca225e217f7b389a15e15f}{\index{beecrypt.\-h@{beecrypt.\-h}!random\-Generator\-Get@{random\-Generator\-Get}} \index{random\-Generator\-Get@{random\-Generator\-Get}!beecrypt.h@{beecrypt.\-h}} \subsubsection[{random\-Generator\-Get}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf random\-Generator}$\ast$ random\-Generator\-Get ( \begin{DoxyParamCaption} \item[{int}]{} \end{DoxyParamCaption} )}}\label{beecrypt_8h_a1bb64c9048ca225e217f7b389a15e15f}