<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>PolarSSL v1.3.8: cipher_wrap.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">PolarSSL v1.3.8 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_6a9bbd12bf4e19a18c45e270f8fae3fd.html">include</a></li><li class="navelem"><a class="el" href="dir_04272d44da4745cf8b8bfc767d6c6523.html">polarssl</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">cipher_wrap.h</div> </div> </div><!--header--> <div class="contents"> <a href="cipher__wrap_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef POLARSSL_CIPHER_WRAP_H</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span><span class="preprocessor">#define POLARSSL_CIPHER_WRAP_H</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#if !defined(POLARSSL_CONFIG_FILE)</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="config_8h.html">config.h</a>"</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#else</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="preprocessor">#include POLARSSL_CONFIG_FILE</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="cipher_8h.html">cipher.h</a>"</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structcipher__definition__t.html"> 43</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structcipher__definition__t.html#a7a5ac4f5a5a273eee1fc9a3e42bf16e0"> 45</a></span>  <a class="code" href="cipher_8h.html#a806c82ed7e8b591dedc86093f38274e6">cipher_type_t</a> <a class="code" href="structcipher__definition__t.html#a7a5ac4f5a5a273eee1fc9a3e42bf16e0">type</a>;</div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structcipher__definition__t.html#a5139461b26e070d9f939800be811c0cf"> 46</a></span>  <span class="keyword">const</span> <a class="code" href="structcipher__info__t.html">cipher_info_t</a> *<a class="code" href="structcipher__definition__t.html#a5139461b26e070d9f939800be811c0cf">info</a>;</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> } <a class="code" href="structcipher__definition__t.html">cipher_definition_t</a>;</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structcipher__definition__t.html">cipher_definition_t</a> <a class="code" href="cipher__wrap_8h.html#a82a4254bbd88da3626267612e7054c2f">cipher_definitions</a>[];</div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="cipher__wrap_8h.html#a66281692d5aea0e483bede9586e77616">supported_ciphers</a>[];</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span>}</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#endif </span><span class="comment">/* POLARSSL_CIPHER_WRAP_H */</span><span class="preprocessor"></span></div> <div class="ttc" id="cipher__wrap_8h_html_a66281692d5aea0e483bede9586e77616"><div class="ttname"><a href="cipher__wrap_8h.html#a66281692d5aea0e483bede9586e77616">supported_ciphers</a></div><div class="ttdeci">int supported_ciphers[]</div></div> <div class="ttc" id="structcipher__info__t_html"><div class="ttname"><a href="structcipher__info__t.html">cipher_info_t</a></div><div class="ttdoc">Cipher information. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00226">cipher.h:226</a></div></div> <div class="ttc" id="config_8h_html"><div class="ttname"><a href="config_8h.html">config.h</a></div><div class="ttdoc">Configuration options (set of defines) </div></div> <div class="ttc" id="structcipher__definition__t_html_a7a5ac4f5a5a273eee1fc9a3e42bf16e0"><div class="ttname"><a href="structcipher__definition__t.html#a7a5ac4f5a5a273eee1fc9a3e42bf16e0">cipher_definition_t::type</a></div><div class="ttdeci">cipher_type_t type</div><div class="ttdef"><b>Definition:</b> <a href="cipher__wrap_8h_source.html#l00045">cipher_wrap.h:45</a></div></div> <div class="ttc" id="cipher__wrap_8h_html_a82a4254bbd88da3626267612e7054c2f"><div class="ttname"><a href="cipher__wrap_8h.html#a82a4254bbd88da3626267612e7054c2f">cipher_definitions</a></div><div class="ttdeci">const cipher_definition_t cipher_definitions[]</div></div> <div class="ttc" id="cipher_8h_html_a806c82ed7e8b591dedc86093f38274e6"><div class="ttname"><a href="cipher_8h.html#a806c82ed7e8b591dedc86093f38274e6">cipher_type_t</a></div><div class="ttdeci">cipher_type_t</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00082">cipher.h:82</a></div></div> <div class="ttc" id="cipher_8h_html"><div class="ttname"><a href="cipher_8h.html">cipher.h</a></div><div class="ttdoc">Generic cipher wrapper. </div></div> <div class="ttc" id="structcipher__definition__t_html"><div class="ttname"><a href="structcipher__definition__t.html">cipher_definition_t</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher__wrap_8h_source.html#l00043">cipher_wrap.h:43</a></div></div> <div class="ttc" id="structcipher__definition__t_html_a5139461b26e070d9f939800be811c0cf"><div class="ttname"><a href="structcipher__definition__t.html#a5139461b26e070d9f939800be811c0cf">cipher_definition_t::info</a></div><div class="ttdeci">const cipher_info_t * info</div><div class="ttdef"><b>Definition:</b> <a href="cipher__wrap_8h_source.html#l00046">cipher_wrap.h:46</a></div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Jul 31 2014 11:35:51 for PolarSSL v1.3.8 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>