Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > f835bee5b8b7ec08e20fae17cab51e63 > files > 145

lib64mbedtls-devel-2.7.3-1.mga6.x86_64.rpm

<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mbed TLS v2.7.3: cipher.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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">mbed TLS v2.7.3
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_b4d146e9a6d8dd56ed4afb2480a97fd3.html">mbedtls</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">cipher.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="cipher_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>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  SPDX-License-Identifier: Apache-2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *  Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *  not use this file except in compliance with the License.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *  You may obtain a copy of the License at</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *  http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *  Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *  distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *  See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *  limitations under the License.</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  This file is part of Mbed TLS (https://tls.mbed.org)</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef MBEDTLS_CIPHER_H</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_H</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#if !defined(MBEDTLS_CONFIG_FILE)</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="config_8h.html">config.h</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include MBEDTLS_CONFIG_FILE</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C)</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="cipher_8h.html#aedd176bb71b4e03034f0d629a1c8be40">   39</a></span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_MODE_AEAD</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_CIPHER_MODE_CBC)</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="cipher_8h.html#a8858b88a22fbd142804f2ab411f8c24c">   43</a></span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_MODE_WITH_PADDING</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_ARC4_C)</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="cipher_8h.html#adcd10ede34f16d1c597dd76ef6abf9de">   47</a></span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_MODE_STREAM</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) &amp;&amp; \</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">    !defined(inline) &amp;&amp; !defined(__cplusplus)</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#define inline __inline</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5093ef5a2ca66691e189c4224098355e">   55</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE  -0x6080  </span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="cipher_8h.html#a6ce4034c4ecd0cd1592232ed8a93d648">   56</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA       -0x6100  </span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="cipher_8h.html#abd30fe33f8b6cf8106e7ea29d3f795cd">   57</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_ALLOC_FAILED         -0x6180  </span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="cipher_8h.html#a06295349279dcbda6b1317924d5bb810">   58</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_INVALID_PADDING      -0x6200  </span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="cipher_8h.html#ac7da041aba839f2ba606eb30f7547b8b">   59</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_FULL_BLOCK_EXPECTED  -0x6280  </span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="cipher_8h.html#a67ec20c7b124cb258978a41d5c363def">   60</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_AUTH_FAILED          -0x6300  </span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="cipher_8h.html#aee9e36063fbb6890aeb9918db7fa020e">   61</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_INVALID_CONTEXT      -0x6380  </span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="cipher_8h.html#a433960cca791ec1eb38e2ff2b425d0ac">   62</a></span>&#160;<span class="preprocessor">#define MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED      -0x6400  </span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="cipher_8h.html#a2a6dc5188d4a1e9bc43d9ea7c8505c6c">   64</a></span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_VARIABLE_IV_LEN     0x01    </span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="cipher_8h.html#a882893bcfc917982037621f6e97968a6">   65</a></span>&#160;<span class="preprocessor">#define MBEDTLS_CIPHER_VARIABLE_KEY_LEN    0x02    </span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1b">   78</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba9e83a435f3ae051a51b3755d57fb7324">   79</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba9e83a435f3ae051a51b3755d57fb7324">MBEDTLS_CIPHER_ID_NONE</a> = 0,</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3b9447c8b50e7e1b8a5d526360388a14">   80</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3b9447c8b50e7e1b8a5d526360388a14">MBEDTLS_CIPHER_ID_NULL</a>,</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba5a1de07b89c2fa03e102493c92a6d074">   81</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba5a1de07b89c2fa03e102493c92a6d074">MBEDTLS_CIPHER_ID_AES</a>,</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba34bf0303a00b450f0262e97323b67fd7">   82</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba34bf0303a00b450f0262e97323b67fd7">MBEDTLS_CIPHER_ID_DES</a>,</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba02827f5eb7b2600fba6ec40873b31a1b">   83</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba02827f5eb7b2600fba6ec40873b31a1b">MBEDTLS_CIPHER_ID_3DES</a>,</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba1b9895858b351464e65bb47c5b11a011">   84</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba1b9895858b351464e65bb47c5b11a011">MBEDTLS_CIPHER_ID_CAMELLIA</a>,</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1bac9c5b79b2697c3597a14cd5ab8d0d274">   85</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1bac9c5b79b2697c3597a14cd5ab8d0d274">MBEDTLS_CIPHER_ID_BLOWFISH</a>,</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3af920001f66e699056d9cba06f08b26">   86</a></span>&#160;    <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3af920001f66e699056d9cba06f08b26">MBEDTLS_CIPHER_ID_ARC4</a>,</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;} <a class="code" href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1b">mbedtls_cipher_id_t</a>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569d">   96</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9551142e177841a57cf75cd357791fea">   97</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9551142e177841a57cf75cd357791fea">MBEDTLS_CIPHER_NONE</a> = 0,</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daab45ae42bc7ab1617877167471496710">   98</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daab45ae42bc7ab1617877167471496710">MBEDTLS_CIPHER_NULL</a>,</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da02173aedfb459d27316f8fcbd8452e13">   99</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da02173aedfb459d27316f8fcbd8452e13">MBEDTLS_CIPHER_AES_128_ECB</a>,</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dac6e30c2e56a54e78a8b46e4d87839422">  100</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dac6e30c2e56a54e78a8b46e4d87839422">MBEDTLS_CIPHER_AES_192_ECB</a>,</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da3c1d1256bc0e6ed7b5f5cf4dff038432">  101</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da3c1d1256bc0e6ed7b5f5cf4dff038432">MBEDTLS_CIPHER_AES_256_ECB</a>,</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da19501fb55aec2f10338baab059cc8ca8">  102</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da19501fb55aec2f10338baab059cc8ca8">MBEDTLS_CIPHER_AES_128_CBC</a>,</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c17540658505285896a55ef27bad52b">  103</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c17540658505285896a55ef27bad52b">MBEDTLS_CIPHER_AES_192_CBC</a>,</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab89e8f49d884804188cc9837066f4017">  104</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab89e8f49d884804188cc9837066f4017">MBEDTLS_CIPHER_AES_256_CBC</a>,</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da57257cfaf7fe39e49c3a35145223de43">  105</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da57257cfaf7fe39e49c3a35145223de43">MBEDTLS_CIPHER_AES_128_CFB128</a>,</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da665a71ade48243f64f191a5d2320bef8">  106</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da665a71ade48243f64f191a5d2320bef8">MBEDTLS_CIPHER_AES_192_CFB128</a>,</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da93d9e55a10f94176800ac1155a89e2b4">  107</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da93d9e55a10f94176800ac1155a89e2b4">MBEDTLS_CIPHER_AES_256_CFB128</a>,</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5f1f64e7a813ebe35de67d10f04c7c12">  108</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5f1f64e7a813ebe35de67d10f04c7c12">MBEDTLS_CIPHER_AES_128_CTR</a>,</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa6da8177c2e59f582cf53c0ab91b0d23">  109</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa6da8177c2e59f582cf53c0ab91b0d23">MBEDTLS_CIPHER_AES_192_CTR</a>,</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da41d9d9a010b9009bff05b3cfc3452655">  110</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da41d9d9a010b9009bff05b3cfc3452655">MBEDTLS_CIPHER_AES_256_CTR</a>,</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90a73f2b2d039360cda2c4655dbedd22">  111</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90a73f2b2d039360cda2c4655dbedd22">MBEDTLS_CIPHER_AES_128_GCM</a>,</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d6fd8cd15664a20d1c8426802b8c54b">  112</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d6fd8cd15664a20d1c8426802b8c54b">MBEDTLS_CIPHER_AES_192_GCM</a>,</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da73308f133a09589299d2f4d7e94ae538">  113</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da73308f133a09589299d2f4d7e94ae538">MBEDTLS_CIPHER_AES_256_GCM</a>,</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9b5b21833004061678fc7e7eb28d3821">  114</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9b5b21833004061678fc7e7eb28d3821">MBEDTLS_CIPHER_CAMELLIA_128_ECB</a>,</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90b5be24e59a7dfdfbf9a125cce0f083">  115</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90b5be24e59a7dfdfbf9a125cce0f083">MBEDTLS_CIPHER_CAMELLIA_192_ECB</a>,</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da8a1d31bd95a7d518611e393775d47df7">  116</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da8a1d31bd95a7d518611e393775d47df7">MBEDTLS_CIPHER_CAMELLIA_256_ECB</a>,</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7be9d1d8f2ca3bbd6e5c8fa9afc1c58e">  117</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7be9d1d8f2ca3bbd6e5c8fa9afc1c58e">MBEDTLS_CIPHER_CAMELLIA_128_CBC</a>,</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da26365f403c2b046ce35774e3cbaf72aa">  118</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da26365f403c2b046ce35774e3cbaf72aa">MBEDTLS_CIPHER_CAMELLIA_192_CBC</a>,</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dae5706408ed6a0cdce83240ecb0d093b1">  119</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dae5706408ed6a0cdce83240ecb0d093b1">MBEDTLS_CIPHER_CAMELLIA_256_CBC</a>,</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da77f1b0e09890fb93e93f4968980d5ba8">  120</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da77f1b0e09890fb93e93f4968980d5ba8">MBEDTLS_CIPHER_CAMELLIA_128_CFB128</a>,</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5a02c88a1d48fa0d901e9aa22f477be5">  121</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5a02c88a1d48fa0d901e9aa22f477be5">MBEDTLS_CIPHER_CAMELLIA_192_CFB128</a>,</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d99ecf5a8719950a8be99fb9927e3b2">  122</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d99ecf5a8719950a8be99fb9927e3b2">MBEDTLS_CIPHER_CAMELLIA_256_CFB128</a>,</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab28c28e9f5c0ccf4f5aabdd457131e6f">  123</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab28c28e9f5c0ccf4f5aabdd457131e6f">MBEDTLS_CIPHER_CAMELLIA_128_CTR</a>,</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dabaa17a8b74d8334500e86bf8ec5d47d4">  124</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dabaa17a8b74d8334500e86bf8ec5d47d4">MBEDTLS_CIPHER_CAMELLIA_192_CTR</a>,</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dadb9f15b9c71b37a83c68092390133f03">  125</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dadb9f15b9c71b37a83c68092390133f03">MBEDTLS_CIPHER_CAMELLIA_256_CTR</a>,</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0653c936c1f48311640b3f796d3096d8">  126</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0653c936c1f48311640b3f796d3096d8">MBEDTLS_CIPHER_CAMELLIA_128_GCM</a>,</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da31bcc4ad8b983507288b98379a855584">  127</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da31bcc4ad8b983507288b98379a855584">MBEDTLS_CIPHER_CAMELLIA_192_GCM</a>,</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da2005aa6b74cb2574de6f4b104b1a6278">  128</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da2005aa6b74cb2574de6f4b104b1a6278">MBEDTLS_CIPHER_CAMELLIA_256_GCM</a>,</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ed7c295258192976c4f11be930b6383">  129</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ed7c295258192976c4f11be930b6383">MBEDTLS_CIPHER_DES_ECB</a>,</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da75ebf8afe088218555df2211b06ed24a">  130</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da75ebf8afe088218555df2211b06ed24a">MBEDTLS_CIPHER_DES_CBC</a>,</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22c639d17383ce7a7897e6364a51dbeb">  131</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22c639d17383ce7a7897e6364a51dbeb">MBEDTLS_CIPHER_DES_EDE_ECB</a>,</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa85f7610f000ed8680164bb650278aa3">  132</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa85f7610f000ed8680164bb650278aa3">MBEDTLS_CIPHER_DES_EDE_CBC</a>,</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dad749b54fa7af5af9754f600a1cf6e8f0">  133</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dad749b54fa7af5af9754f600a1cf6e8f0">MBEDTLS_CIPHER_DES_EDE3_ECB</a>,</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ebeb46e514f7d7c9791daf9f31bdbc2">  134</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ebeb46e514f7d7c9791daf9f31bdbc2">MBEDTLS_CIPHER_DES_EDE3_CBC</a>,</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab3d8f893f571c92eb58502736b4c6bb5">  135</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab3d8f893f571c92eb58502736b4c6bb5">MBEDTLS_CIPHER_BLOWFISH_ECB</a>,</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da87523896b1400ae2d087933e16747bde">  136</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da87523896b1400ae2d087933e16747bde">MBEDTLS_CIPHER_BLOWFISH_CBC</a>,</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22f9343e99edc3585e83d62f9a51f9e2">  137</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22f9343e99edc3585e83d62f9a51f9e2">MBEDTLS_CIPHER_BLOWFISH_CFB64</a>,</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d97e5626452997faea9ac47132d5ee2">  138</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d97e5626452997faea9ac47132d5ee2">MBEDTLS_CIPHER_BLOWFISH_CTR</a>,</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab9aeb9f4c1082c404e262eff5c16046f">  139</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab9aeb9f4c1082c404e262eff5c16046f">MBEDTLS_CIPHER_ARC4_128</a>,</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa853efb100255649d70037a69a6cc5f1">  140</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa853efb100255649d70037a69a6cc5f1">MBEDTLS_CIPHER_AES_128_CCM</a>,</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da4dafc03176b3e587f5e50867ac1be0f6">  141</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da4dafc03176b3e587f5e50867ac1be0f6">MBEDTLS_CIPHER_AES_192_CCM</a>,</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d1a7208c43a711c1665241402b8390d">  142</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d1a7208c43a711c1665241402b8390d">MBEDTLS_CIPHER_AES_256_CCM</a>,</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5ad79b02517bb3b319280330456d049f">  143</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5ad79b02517bb3b319280330456d049f">MBEDTLS_CIPHER_CAMELLIA_128_CCM</a>,</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c6e4c22ec84211b82860074889d5804">  144</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c6e4c22ec84211b82860074889d5804">MBEDTLS_CIPHER_CAMELLIA_192_CCM</a>,</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da72a8f49efb32a40d6fef16aef04622c0">  145</a></span>&#160;    <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da72a8f49efb32a40d6fef16aef04622c0">MBEDTLS_CIPHER_CAMELLIA_256_CCM</a>,</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;} <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569d">mbedtls_cipher_type_t</a>;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8">  149</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a4a44bef531861d3e54416b95607e7ebe">  150</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a4a44bef531861d3e54416b95607e7ebe">MBEDTLS_MODE_NONE</a> = 0,</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a002ae72c0dbf793b5858971b7ce315b1">  151</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a002ae72c0dbf793b5858971b7ce315b1">MBEDTLS_MODE_ECB</a>,</div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8ac89f6880c66f742e913bf4f7618a797b">  152</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8ac89f6880c66f742e913bf4f7618a797b">MBEDTLS_MODE_CBC</a>,</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a533e18634ddf1d7808c02531d2d0a891">  153</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a533e18634ddf1d7808c02531d2d0a891">MBEDTLS_MODE_CFB</a>,</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8acb22e5e78f1673f4273d0e179994f863">  154</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8acb22e5e78f1673f4273d0e179994f863">MBEDTLS_MODE_OFB</a>, <span class="comment">/* Unused! */</span></div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a95ecb03d135fd973e6da0b7e57db804e">  155</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a95ecb03d135fd973e6da0b7e57db804e">MBEDTLS_MODE_CTR</a>,</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a9683c4bedc462171adaf652b875abf09">  156</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a9683c4bedc462171adaf652b875abf09">MBEDTLS_MODE_GCM</a>,</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a2c808617b79a98d48ee7e62d97c425ef">  157</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a2c808617b79a98d48ee7e62d97c425ef">MBEDTLS_MODE_STREAM</a>,</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a0a5ca88e2e3530c0aef4861dfb6eda2b">  158</a></span>&#160;    <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a0a5ca88e2e3530c0aef4861dfb6eda2b">MBEDTLS_MODE_CCM</a>,</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;} <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8">mbedtls_cipher_mode_t</a>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837">  162</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a787071478fb192f36d4a085e010b28f9">  163</a></span>&#160;    <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a787071478fb192f36d4a085e010b28f9">MBEDTLS_PADDING_PKCS7</a> = 0,     </div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a502732ab53a21eb0bf84e5a8e93609a7">  164</a></span>&#160;    <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a502732ab53a21eb0bf84e5a8e93609a7">MBEDTLS_PADDING_ONE_AND_ZEROS</a>, </div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a93944bd7edfd0c6b6f362eb6eef1b4fc">  165</a></span>&#160;    <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a93944bd7edfd0c6b6f362eb6eef1b4fc">MBEDTLS_PADDING_ZEROS_AND_LEN</a>, </div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a339efb60a69e4b033a106c61cd8691e4">  166</a></span>&#160;    <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a339efb60a69e4b033a106c61cd8691e4">MBEDTLS_PADDING_ZEROS</a>,         </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837aace08abe82f9f79e57387133ceb07394">  167</a></span>&#160;    <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837aace08abe82f9f79e57387133ceb07394">MBEDTLS_PADDING_NONE</a>,          </div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;} <a class="code" href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837">mbedtls_cipher_padding_t</a>;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3f">  171</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa3e5a23a347d62ec3075f547516b0e2b3">  172</a></span>&#160;    <a class="code" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa3e5a23a347d62ec3075f547516b0e2b3">MBEDTLS_OPERATION_NONE</a> = -1,</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa1209c6e6314e7dfa517602d53b6ea8b6">  173</a></span>&#160;    <a class="code" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa1209c6e6314e7dfa517602d53b6ea8b6">MBEDTLS_DECRYPT</a> = 0,</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fab6bd8754064eab0b5fe2426184542ba6">  174</a></span>&#160;    <a class="code" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fab6bd8754064eab0b5fe2426184542ba6">MBEDTLS_ENCRYPT</a>,</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;} <a class="code" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3f">mbedtls_operation_t</a>;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="keyword">enum</span> {</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba27a227b285707a038e87cee36a8d1a65">  179</a></span>&#160;    <a class="code" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba27a227b285707a038e87cee36a8d1a65">MBEDTLS_KEY_LENGTH_NONE</a> = 0,</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba0786b4375829efe98db9d73c5b12eda1">  181</a></span>&#160;    <a class="code" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba0786b4375829efe98db9d73c5b12eda1">MBEDTLS_KEY_LENGTH_DES</a>  = 64,</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bade90f9d4c430f18b705faac59b2ed0b9">  183</a></span>&#160;    <a class="code" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bade90f9d4c430f18b705faac59b2ed0b9">MBEDTLS_KEY_LENGTH_DES_EDE</a> = 128,</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bae5eb36c0a8ae45bec5b0070292be6c17">  185</a></span>&#160;    <a class="code" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bae5eb36c0a8ae45bec5b0070292be6c17">MBEDTLS_KEY_LENGTH_DES_EDE3</a> = 192,</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;};</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="cipher_8h.html#aec294721b811aa0f7dcc940029fd8aab">  189</a></span>&#160;<span class="preprocessor">#define MBEDTLS_MAX_IV_LENGTH      16</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="cipher_8h.html#ab8f30dc90403204515f868c3b6196ffd">  191</a></span>&#160;<span class="preprocessor">#define MBEDTLS_MAX_BLOCK_LENGTH   16</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="cipher_8h.html#aa8cada37dceeb13446c7c31459b31a07">  196</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="cipher_8h.html#aa8cada37dceeb13446c7c31459b31a07">mbedtls_cipher_base_t</a> <a class="code" href="cipher_8h.html#aa8cada37dceeb13446c7c31459b31a07">mbedtls_cipher_base_t</a>;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="cipher_8h.html#aadfdebf0a70882e059172aa1c7235c45">  201</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmbedtls__cmac__context__t.html">mbedtls_cmac_context_t</a> <a class="code" href="structmbedtls__cmac__context__t.html">mbedtls_cmac_context_t</a>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html">  207</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a399f289efa81ca0da63bc80686b5fe82">  211</a></span>&#160;    mbedtls_cipher_type_t <a class="code" href="structmbedtls__cipher__info__t.html#a399f289efa81ca0da63bc80686b5fe82">type</a>;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a6603375900f4834ae6c91e305aef34f6">  214</a></span>&#160;    mbedtls_cipher_mode_t <a class="code" href="structmbedtls__cipher__info__t.html#a6603375900f4834ae6c91e305aef34f6">mode</a>;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a21ac3fc6bf536ce16f1754301e7fe3c9">  220</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmbedtls__cipher__info__t.html#a21ac3fc6bf536ce16f1754301e7fe3c9">key_bitlen</a>;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a7e79a9fb2bd143cc08d59b89b86c9ed7">  223</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structmbedtls__cipher__info__t.html#a7e79a9fb2bd143cc08d59b89b86c9ed7">name</a>;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a3416bc1e18e1694da17bc922f152b20d">  229</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmbedtls__cipher__info__t.html#a3416bc1e18e1694da17bc922f152b20d">iv_size</a>;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#af0aa5e7fedfd8a85434ec43691d890d8">  232</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structmbedtls__cipher__info__t.html#af0aa5e7fedfd8a85434ec43691d890d8">flags</a>;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#a7be9560c375110a1d829407e74ab698f">  235</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structmbedtls__cipher__info__t.html#a7be9560c375110a1d829407e74ab698f">block_size</a>;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__info__t.html#ab49e136926e04b02806503deb8844f2d">  238</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="cipher_8h.html#aa8cada37dceeb13446c7c31459b31a07">mbedtls_cipher_base_t</a> *<a class="code" href="structmbedtls__cipher__info__t.html#ab49e136926e04b02806503deb8844f2d">base</a>;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;} <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a>;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html">  245</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">  247</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a> *<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#ac949d799444e6379acf0125891c04763">  250</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structmbedtls__cipher__context__t.html#ac949d799444e6379acf0125891c04763">key_bitlen</a>;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a0075f60f220daa87578223a2022ba405">  255</a></span>&#160;    mbedtls_operation_t <a class="code" href="structmbedtls__cipher__context__t.html#a0075f60f220daa87578223a2022ba405">operation</a>;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)</span></div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a1c9ca536bde6b0da3bd3c57a50c1ea8f">  261</a></span>&#160;    void (*add_padding)( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> olen, <span class="keywordtype">size_t</span> data_len );</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a60c17ef8d5ea5490d5927ae95262a967">  262</a></span>&#160;    int (*get_padding)( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input, <span class="keywordtype">size_t</span> ilen, <span class="keywordtype">size_t</span> *data_len );</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a3fc86dfa20e0131377692ee07fb5b8f0">  266</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> unprocessed_data[<a class="code" href="cipher_8h.html#ab8f30dc90403204515f868c3b6196ffd">MBEDTLS_MAX_BLOCK_LENGTH</a>];</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#ad9bb94ad0e914bdceb20190cfebfc702">  269</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structmbedtls__cipher__context__t.html#ad9bb94ad0e914bdceb20190cfebfc702">unprocessed_len</a>;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a19262f2c275b31180e7412f4bcef0e7f">  272</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> iv[<a class="code" href="cipher_8h.html#aec294721b811aa0f7dcc940029fd8aab">MBEDTLS_MAX_IV_LENGTH</a>];</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#af11d1d21da68ef00a46d96d9de326206">  275</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structmbedtls__cipher__context__t.html#af11d1d21da68ef00a46d96d9de326206">iv_size</a>;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="structmbedtls__cipher__context__t.html#a5b7e2044b5186a4ee57456f6f927ad80">  278</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="structmbedtls__cipher__context__t.html#a5b7e2044b5186a4ee57456f6f927ad80">cipher_ctx</a>;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_CMAC_C)</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    <a class="code" href="structmbedtls__cmac__context__t.html">mbedtls_cmac_context_t</a> *cmac_ctx;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;} <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a>;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> *<a class="code" href="cipher_8h.html#a763ea39a9ccfc20f914fd3391d12a7fc">mbedtls_cipher_list</a>( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a> *<a class="code" href="cipher_8h.html#a9b2e7d49ca82abe8c96b65645364e24b">mbedtls_cipher_info_from_string</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *cipher_name );</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a> *<a class="code" href="cipher_8h.html#a8bc2809cbd7c2357f41be8cf76eeed92">mbedtls_cipher_info_from_type</a>( <span class="keyword">const</span> mbedtls_cipher_type_t cipher_type );</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a> *<a class="code" href="cipher_8h.html#a9752d8056c43948c08d2e1f2009a53aa">mbedtls_cipher_info_from_values</a>( <span class="keyword">const</span> mbedtls_cipher_id_t cipher_id,</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;                                              <span class="keywordtype">int</span> key_bitlen,</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;                                              <span class="keyword">const</span> mbedtls_cipher_mode_t mode );</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cipher_8h.html#a80354364e91cdb4d4e6ab7ecec65fe07">mbedtls_cipher_init</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx );</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cipher_8h.html#a903c4146b471207690988584b83854a9">mbedtls_cipher_free</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx );</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a009056b59d69abba5843ce78cd9aae1c">mbedtls_cipher_setup</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx, <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a> *cipher_info );</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="cipher_8h.html#aa585ffa4ded213e5b3160de86e95ec4b">  374</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#aa585ffa4ded213e5b3160de86e95ec4b">mbedtls_cipher_get_block_size</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;{</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    <span class="keywordflow">return</span> ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a7be9560c375110a1d829407e74ab698f">block_size</a>;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;}</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="cipher_8h.html#adae6a0d3f6f0d3e78abbf2f247a06b66">  391</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> mbedtls_cipher_mode_t <a class="code" href="cipher_8h.html#adae6a0d3f6f0d3e78abbf2f247a06b66">mbedtls_cipher_get_cipher_mode</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;{</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a4a44bef531861d3e54416b95607e7ebe">MBEDTLS_MODE_NONE</a>;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <span class="keywordflow">return</span> ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a6603375900f4834ae6c91e305aef34f6">mode</a>;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;}</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="cipher_8h.html#a95179cd977261724298e9bca67a0fcc0">  409</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a95179cd977261724298e9bca67a0fcc0">mbedtls_cipher_get_iv_size</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;{</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <span class="keywordflow">if</span>( ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#af11d1d21da68ef00a46d96d9de326206">iv_size</a> != 0 )</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#af11d1d21da68ef00a46d96d9de326206">iv_size</a>;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a3416bc1e18e1694da17bc922f152b20d">iv_size</a>;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;}</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;</div><div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="cipher_8h.html#aa11f687dee08d37b0a9835497b6c94f2">  428</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> mbedtls_cipher_type_t <a class="code" href="cipher_8h.html#aa11f687dee08d37b0a9835497b6c94f2">mbedtls_cipher_get_type</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;{</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9551142e177841a57cf75cd357791fea">MBEDTLS_CIPHER_NONE</a>;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <span class="keywordflow">return</span> ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a399f289efa81ca0da63bc80686b5fe82">type</a>;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;}</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="cipher_8h.html#abf1d75d9cb96ed87ab580313f5d0eeda">  445</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="cipher_8h.html#abf1d75d9cb96ed87ab580313f5d0eeda">mbedtls_cipher_get_name</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;{</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;        <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    <span class="keywordflow">return</span> ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a7e79a9fb2bd143cc08d59b89b86c9ed7">name</a>;</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;}</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;</div><div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="cipher_8h.html#a6f6abbb7eadc970085c6ab41145e4812">  462</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a6f6abbb7eadc970085c6ab41145e4812">mbedtls_cipher_get_key_bitlen</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;{</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba27a227b285707a038e87cee36a8d1a65">MBEDTLS_KEY_LENGTH_NONE</a>;</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a>-&gt;<a class="code" href="structmbedtls__cipher__info__t.html#a21ac3fc6bf536ce16f1754301e7fe3c9">key_bitlen</a>;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;}</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="cipher_8h.html#a8a9f67bc0f62ae159eecfbe33512e17d">  479</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> mbedtls_operation_t <a class="code" href="cipher_8h.html#a8a9f67bc0f62ae159eecfbe33512e17d">mbedtls_cipher_get_operation</a>( <span class="keyword">const</span> <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx )</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;{</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    <span class="keywordflow">if</span>( NULL == ctx || NULL == ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">cipher_info</a> )</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa3e5a23a347d62ec3075f547516b0e2b3">MBEDTLS_OPERATION_NONE</a>;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keywordflow">return</span> ctx-&gt;<a class="code" href="structmbedtls__cipher__context__t.html#a0075f60f220daa87578223a2022ba405">operation</a>;</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;}</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a027be8bf469069be17d82c4899b3df5f">mbedtls_cipher_setkey</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *key,</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;                   <span class="keywordtype">int</span> key_bitlen, <span class="keyword">const</span> mbedtls_operation_t operation );</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)</span></div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#afad97d1964a7a98d82488fecd052130f">mbedtls_cipher_set_padding_mode</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx, mbedtls_cipher_padding_t mode );</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MBEDTLS_CIPHER_MODE_WITH_PADDING */</span><span class="preprocessor"></span></div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a570ef5913117fbb2592f75d0d834b51c">mbedtls_cipher_set_iv</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *iv, <span class="keywordtype">size_t</span> iv_len );</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;</div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a22b60318022c1947d9893721bc911335">mbedtls_cipher_reset</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx );</div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_GCM_C)</span></div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;</div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a86bc4ed42ff087c33bb00fe31b049ae7">mbedtls_cipher_update_ad</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;                      <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *ad, <span class="keywordtype">size_t</span> ad_len );</div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MBEDTLS_GCM_C */</span><span class="preprocessor"></span></div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a959598dfef9d7f2add8861e0c518f303">mbedtls_cipher_update</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;                   <span class="keywordtype">size_t</span> ilen, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> *olen );</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a6678691c02cb3f1322b2179987bfffb2">mbedtls_cipher_finish</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;                   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> *olen );</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_GCM_C)</span></div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div><div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a8916ddd18e94002913b80a6b04b83693">mbedtls_cipher_write_tag</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;                      <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *tag, <span class="keywordtype">size_t</span> tag_len );</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#ad3388eaa42a44db6a0b0339dd49f15ba">mbedtls_cipher_check_tag</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;                      <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *tag, <span class="keywordtype">size_t</span> tag_len );</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MBEDTLS_GCM_C */</span><span class="preprocessor"></span></div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a1c249f6ee1a0d2c906927c7790c41dc5">mbedtls_cipher_crypt</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;                  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *iv, <span class="keywordtype">size_t</span> iv_len,</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;                  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input, <span class="keywordtype">size_t</span> ilen,</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;                  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> *olen );</div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;<span class="preprocessor">#if defined(MBEDTLS_CIPHER_MODE_AEAD)</span></div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a65b2df023770ee3123a3f2cdb10497a0">mbedtls_cipher_auth_encrypt</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *iv, <span class="keywordtype">size_t</span> iv_len,</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *ad, <span class="keywordtype">size_t</span> ad_len,</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input, <span class="keywordtype">size_t</span> ilen,</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;                         <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> *olen,</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;                         <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *tag, <span class="keywordtype">size_t</span> tag_len );</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;<span class="keywordtype">int</span> <a class="code" href="cipher_8h.html#a715666cc823dc180277890b00f8a7f5e">mbedtls_cipher_auth_decrypt</a>( <a class="code" href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a> *ctx,</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *iv, <span class="keywordtype">size_t</span> iv_len,</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *ad, <span class="keywordtype">size_t</span> ad_len,</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input, <span class="keywordtype">size_t</span> ilen,</div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;                         <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output, <span class="keywordtype">size_t</span> *olen,</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *tag, <span class="keywordtype">size_t</span> tag_len );</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MBEDTLS_CIPHER_MODE_AEAD */</span><span class="preprocessor"></span></div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;}</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MBEDTLS_CIPHER_H */</span><span class="preprocessor"></span></div><div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dab28c28e9f5c0ccf4f5aabdd457131e6f"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab28c28e9f5c0ccf4f5aabdd457131e6f">MBEDTLS_CIPHER_CAMELLIA_128_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00123">cipher.h:123</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba02827f5eb7b2600fba6ec40873b31a1b"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba02827f5eb7b2600fba6ec40873b31a1b">MBEDTLS_CIPHER_ID_3DES</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00083">cipher.h:83</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da90a73f2b2d039360cda2c4655dbedd22"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90a73f2b2d039360cda2c4655dbedd22">MBEDTLS_CIPHER_AES_128_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00111">cipher.h:111</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da22c639d17383ce7a7897e6364a51dbeb"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22c639d17383ce7a7897e6364a51dbeb">MBEDTLS_CIPHER_DES_EDE_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00131">cipher.h:131</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569daa853efb100255649d70037a69a6cc5f1"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa853efb100255649d70037a69a6cc5f1">MBEDTLS_CIPHER_AES_128_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00140">cipher.h:140</a></div></div>
<div class="ttc" id="cipher_8h_html_aaa5f820a58011f938ba3389555ba5b3f"><div class="ttname"><a href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3f">mbedtls_operation_t</a></div><div class="ttdeci">mbedtls_operation_t</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00171">cipher.h:171</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da7d99ecf5a8719950a8be99fb9927e3b2"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d99ecf5a8719950a8be99fb9927e3b2">MBEDTLS_CIPHER_CAMELLIA_256_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00122">cipher.h:122</a></div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a3416bc1e18e1694da17bc922f152b20d"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a3416bc1e18e1694da17bc922f152b20d">mbedtls_cipher_info_t::iv_size</a></div><div class="ttdeci">unsigned int iv_size</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00229">cipher.h:229</a></div></div>
<div class="ttc" id="cipher_8h_html_a06fc87d81c62e9abb8790b6e5713c55bade90f9d4c430f18b705faac59b2ed0b9"><div class="ttname"><a href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bade90f9d4c430f18b705faac59b2ed0b9">MBEDTLS_KEY_LENGTH_DES_EDE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00183">cipher.h:183</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da9551142e177841a57cf75cd357791fea"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9551142e177841a57cf75cd357791fea">MBEDTLS_CIPHER_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00097">cipher.h:97</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da19501fb55aec2f10338baab059cc8ca8"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da19501fb55aec2f10338baab059cc8ca8">MBEDTLS_CIPHER_AES_128_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00102">cipher.h:102</a></div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837">mbedtls_cipher_padding_t</a></div><div class="ttdeci">mbedtls_cipher_padding_t</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00162">cipher.h:162</a></div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837aace08abe82f9f79e57387133ceb07394"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837aace08abe82f9f79e57387133ceb07394">MBEDTLS_PADDING_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00167">cipher.h:167</a></div></div>
<div class="ttc" id="cipher_8h_html_adae6a0d3f6f0d3e78abbf2f247a06b66"><div class="ttname"><a href="cipher_8h.html#adae6a0d3f6f0d3e78abbf2f247a06b66">mbedtls_cipher_get_cipher_mode</a></div><div class="ttdeci">static mbedtls_cipher_mode_t mbedtls_cipher_get_cipher_mode(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the mode of operation for the cipher. For example, MBEDTLS_MODE_CBC. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00391">cipher.h:391</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da9c17540658505285896a55ef27bad52b"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c17540658505285896a55ef27bad52b">MBEDTLS_CIPHER_AES_192_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00103">cipher.h:103</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da0653c936c1f48311640b3f796d3096d8"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0653c936c1f48311640b3f796d3096d8">MBEDTLS_CIPHER_CAMELLIA_128_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00126">cipher.h:126</a></div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_af0aa5e7fedfd8a85434ec43691d890d8"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#af0aa5e7fedfd8a85434ec43691d890d8">mbedtls_cipher_info_t::flags</a></div><div class="ttdeci">int flags</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00232">cipher.h:232</a></div></div>
<div class="ttc" id="cipher_8h_html_aa585ffa4ded213e5b3160de86e95ec4b"><div class="ttname"><a href="cipher_8h.html#aa585ffa4ded213e5b3160de86e95ec4b">mbedtls_cipher_get_block_size</a></div><div class="ttdeci">static unsigned int mbedtls_cipher_get_block_size(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the block size of the given cipher. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00374">cipher.h:374</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8">mbedtls_cipher_mode_t</a></div><div class="ttdeci">mbedtls_cipher_mode_t</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00149">cipher.h:149</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8acb22e5e78f1673f4273d0e179994f863"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8acb22e5e78f1673f4273d0e179994f863">MBEDTLS_MODE_OFB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00154">cipher.h:154</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569daab45ae42bc7ab1617877167471496710"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daab45ae42bc7ab1617877167471496710">MBEDTLS_CIPHER_NULL</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00098">cipher.h:98</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da5ad79b02517bb3b319280330456d049f"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5ad79b02517bb3b319280330456d049f">MBEDTLS_CIPHER_CAMELLIA_128_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00143">cipher.h:143</a></div></div>
<div class="ttc" id="structmbedtls__cmac__context__t_html"><div class="ttname"><a href="structmbedtls__cmac__context__t.html">mbedtls_cmac_context_t</a></div><div class="ttdef"><b>Definition:</b> <a href="cmac_8h_source.html#l00051">cmac.h:51</a></div></div>
<div class="ttc" id="cipher_8h_html_a9b2e7d49ca82abe8c96b65645364e24b"><div class="ttname"><a href="cipher_8h.html#a9b2e7d49ca82abe8c96b65645364e24b">mbedtls_cipher_info_from_string</a></div><div class="ttdeci">const mbedtls_cipher_info_t * mbedtls_cipher_info_from_string(const char *cipher_name)</div><div class="ttdoc">This function retrieves the cipher-information structure associated with the given cipher name...</div></div>
<div class="ttc" id="cipher_8h_html_a6678691c02cb3f1322b2179987bfffb2"><div class="ttname"><a href="cipher_8h.html#a6678691c02cb3f1322b2179987bfffb2">mbedtls_cipher_finish</a></div><div class="ttdeci">int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx, unsigned char *output, size_t *olen)</div><div class="ttdoc">The generic cipher finalization function. If data still needs to be flushed from an incomplete block...</div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html"><div class="ttname"><a href="structmbedtls__cipher__context__t.html">mbedtls_cipher_context_t</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00245">cipher.h:245</a></div></div>
<div class="ttc" id="cipher_8h_html_a22b60318022c1947d9893721bc911335"><div class="ttname"><a href="cipher_8h.html#a22b60318022c1947d9893721bc911335">mbedtls_cipher_reset</a></div><div class="ttdeci">int mbedtls_cipher_reset(mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function resets the cipher state. </div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da8a1d31bd95a7d518611e393775d47df7"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da8a1d31bd95a7d518611e393775d47df7">MBEDTLS_CIPHER_CAMELLIA_256_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00116">cipher.h:116</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da9c6e4c22ec84211b82860074889d5804"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9c6e4c22ec84211b82860074889d5804">MBEDTLS_CIPHER_CAMELLIA_192_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00144">cipher.h:144</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da5a02c88a1d48fa0d901e9aa22f477be5"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5a02c88a1d48fa0d901e9aa22f477be5">MBEDTLS_CIPHER_CAMELLIA_192_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00121">cipher.h:121</a></div></div>
<div class="ttc" id="cipher_8h_html_abf1d75d9cb96ed87ab580313f5d0eeda"><div class="ttname"><a href="cipher_8h.html#abf1d75d9cb96ed87ab580313f5d0eeda">mbedtls_cipher_get_name</a></div><div class="ttdeci">static const char * mbedtls_cipher_get_name(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the name of the given cipher as a string. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00445">cipher.h:445</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a95ecb03d135fd973e6da0b7e57db804e"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a95ecb03d135fd973e6da0b7e57db804e">MBEDTLS_MODE_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00155">cipher.h:155</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da93d9e55a10f94176800ac1155a89e2b4"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da93d9e55a10f94176800ac1155a89e2b4">MBEDTLS_CIPHER_AES_256_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00107">cipher.h:107</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="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da1d97e5626452997faea9ac47132d5ee2"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d97e5626452997faea9ac47132d5ee2">MBEDTLS_CIPHER_BLOWFISH_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00138">cipher.h:138</a></div></div>
<div class="ttc" id="cipher_8h_html_a570ef5913117fbb2592f75d0d834b51c"><div class="ttname"><a href="cipher_8h.html#a570ef5913117fbb2592f75d0d834b51c">mbedtls_cipher_set_iv</a></div><div class="ttdeci">int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len)</div><div class="ttdoc">This function sets the initialization vector (IV) or nonce. </div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html"><div class="ttname"><a href="structmbedtls__cipher__info__t.html">mbedtls_cipher_info_t</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00207">cipher.h:207</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dac6e30c2e56a54e78a8b46e4d87839422"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dac6e30c2e56a54e78a8b46e4d87839422">MBEDTLS_CIPHER_AES_192_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00100">cipher.h:100</a></div></div>
<div class="ttc" id="cipher_8h_html_afad97d1964a7a98d82488fecd052130f"><div class="ttname"><a href="cipher_8h.html#afad97d1964a7a98d82488fecd052130f">mbedtls_cipher_set_padding_mode</a></div><div class="ttdeci">int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, mbedtls_cipher_padding_t mode)</div><div class="ttdoc">This function sets the padding mode, for cipher modes that use padding. </div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a6603375900f4834ae6c91e305aef34f6"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a6603375900f4834ae6c91e305aef34f6">mbedtls_cipher_info_t::mode</a></div><div class="ttdeci">mbedtls_cipher_mode_t mode</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00214">cipher.h:214</a></div></div>
<div class="ttc" id="cipher_8h_html_a959598dfef9d7f2add8861e0c518f303"><div class="ttname"><a href="cipher_8h.html#a959598dfef9d7f2add8861e0c518f303">mbedtls_cipher_update</a></div><div class="ttdeci">int mbedtls_cipher_update(mbedtls_cipher_context_t *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen)</div><div class="ttdoc">The generic cipher update function. It encrypts or decrypts using the given cipher context...</div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a7be9560c375110a1d829407e74ab698f"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a7be9560c375110a1d829407e74ab698f">mbedtls_cipher_info_t::block_size</a></div><div class="ttdeci">unsigned int block_size</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00235">cipher.h:235</a></div></div>
<div class="ttc" id="cipher_8h_html_a903c4146b471207690988584b83854a9"><div class="ttname"><a href="cipher_8h.html#a903c4146b471207690988584b83854a9">mbedtls_cipher_free</a></div><div class="ttdeci">void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function frees and clears the cipher-specific context of ctx. Freeing ctx itself remains the res...</div></div>
<div class="ttc" id="cipher_8h_html_a8a9f67bc0f62ae159eecfbe33512e17d"><div class="ttname"><a href="cipher_8h.html#a8a9f67bc0f62ae159eecfbe33512e17d">mbedtls_cipher_get_operation</a></div><div class="ttdeci">static mbedtls_operation_t mbedtls_cipher_get_operation(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the operation of the given cipher. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00479">cipher.h:479</a></div></div>
<div class="ttc" id="cipher_8h_html_a763ea39a9ccfc20f914fd3391d12a7fc"><div class="ttname"><a href="cipher_8h.html#a763ea39a9ccfc20f914fd3391d12a7fc">mbedtls_cipher_list</a></div><div class="ttdeci">const int * mbedtls_cipher_list(void)</div><div class="ttdoc">This function retrieves the list of ciphers supported by the generic cipher module. </div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837a93944bd7edfd0c6b6f362eb6eef1b4fc"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a93944bd7edfd0c6b6f362eb6eef1b4fc">MBEDTLS_PADDING_ZEROS_AND_LEN</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00165">cipher.h:165</a></div></div>
<div class="ttc" id="cipher_8h_html_a6f6abbb7eadc970085c6ab41145e4812"><div class="ttname"><a href="cipher_8h.html#a6f6abbb7eadc970085c6ab41145e4812">mbedtls_cipher_get_key_bitlen</a></div><div class="ttdeci">static int mbedtls_cipher_get_key_bitlen(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the key length of the cipher. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00462">cipher.h:462</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569d"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569d">mbedtls_cipher_type_t</a></div><div class="ttdeci">mbedtls_cipher_type_t</div><div class="ttdoc">An enumeration of supported (cipher, mode) pairs. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00096">cipher.h:96</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dae5706408ed6a0cdce83240ecb0d093b1"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dae5706408ed6a0cdce83240ecb0d093b1">MBEDTLS_CIPHER_CAMELLIA_256_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00119">cipher.h:119</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da9b5b21833004061678fc7e7eb28d3821"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da9b5b21833004061678fc7e7eb28d3821">MBEDTLS_CIPHER_CAMELLIA_128_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00114">cipher.h:114</a></div></div>
<div class="ttc" id="cipher_8h_html_aaa5f820a58011f938ba3389555ba5b3fab6bd8754064eab0b5fe2426184542ba6"><div class="ttname"><a href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fab6bd8754064eab0b5fe2426184542ba6">MBEDTLS_ENCRYPT</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00174">cipher.h:174</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_a7673da39ff63a88c9b85769048884dae"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#a7673da39ff63a88c9b85769048884dae">mbedtls_cipher_context_t::cipher_info</a></div><div class="ttdeci">const mbedtls_cipher_info_t * cipher_info</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00247">cipher.h:247</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da57257cfaf7fe39e49c3a35145223de43"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da57257cfaf7fe39e49c3a35145223de43">MBEDTLS_CIPHER_AES_128_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00105">cipher.h:105</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da87523896b1400ae2d087933e16747bde"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da87523896b1400ae2d087933e16747bde">MBEDTLS_CIPHER_BLOWFISH_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00136">cipher.h:136</a></div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837a339efb60a69e4b033a106c61cd8691e4"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a339efb60a69e4b033a106c61cd8691e4">MBEDTLS_PADDING_ZEROS</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00166">cipher.h:166</a></div></div>
<div class="ttc" id="cipher_8h_html_aa8cada37dceeb13446c7c31459b31a07"><div class="ttname"><a href="cipher_8h.html#aa8cada37dceeb13446c7c31459b31a07">mbedtls_cipher_base_t</a></div><div class="ttdeci">struct mbedtls_cipher_base_t mbedtls_cipher_base_t</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00196">cipher.h:196</a></div></div>
<div class="ttc" id="cipher_8h_html_a9752d8056c43948c08d2e1f2009a53aa"><div class="ttname"><a href="cipher_8h.html#a9752d8056c43948c08d2e1f2009a53aa">mbedtls_cipher_info_from_values</a></div><div class="ttdeci">const mbedtls_cipher_info_t * mbedtls_cipher_info_from_values(const mbedtls_cipher_id_t cipher_id, int key_bitlen, const mbedtls_cipher_mode_t mode)</div><div class="ttdoc">This function retrieves the cipher-information structure associated with the given cipher ID...</div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba1b9895858b351464e65bb47c5b11a011"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba1b9895858b351464e65bb47c5b11a011">MBEDTLS_CIPHER_ID_CAMELLIA</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00084">cipher.h:84</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba3af920001f66e699056d9cba06f08b26"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3af920001f66e699056d9cba06f08b26">MBEDTLS_CIPHER_ID_ARC4</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00086">cipher.h:86</a></div></div>
<div class="ttc" id="cipher_8h_html_a06fc87d81c62e9abb8790b6e5713c55bae5eb36c0a8ae45bec5b0070292be6c17"><div class="ttname"><a href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55bae5eb36c0a8ae45bec5b0070292be6c17">MBEDTLS_KEY_LENGTH_DES_EDE3</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00185">cipher.h:185</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da75ebf8afe088218555df2211b06ed24a"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da75ebf8afe088218555df2211b06ed24a">MBEDTLS_CIPHER_DES_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00130">cipher.h:130</a></div></div>
<div class="ttc" id="cipher_8h_html_aa11f687dee08d37b0a9835497b6c94f2"><div class="ttname"><a href="cipher_8h.html#aa11f687dee08d37b0a9835497b6c94f2">mbedtls_cipher_get_type</a></div><div class="ttdeci">static mbedtls_cipher_type_t mbedtls_cipher_get_type(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the type of the given cipher. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00428">cipher.h:428</a></div></div>
<div class="ttc" id="cipher_8h_html_a06fc87d81c62e9abb8790b6e5713c55ba27a227b285707a038e87cee36a8d1a65"><div class="ttname"><a href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba27a227b285707a038e87cee36a8d1a65">MBEDTLS_KEY_LENGTH_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00179">cipher.h:179</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a2c808617b79a98d48ee7e62d97c425ef"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a2c808617b79a98d48ee7e62d97c425ef">MBEDTLS_MODE_STREAM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00157">cipher.h:157</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba9e83a435f3ae051a51b3755d57fb7324"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba9e83a435f3ae051a51b3755d57fb7324">MBEDTLS_CIPHER_ID_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00079">cipher.h:79</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_a5b7e2044b5186a4ee57456f6f927ad80"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#a5b7e2044b5186a4ee57456f6f927ad80">mbedtls_cipher_context_t::cipher_ctx</a></div><div class="ttdeci">void * cipher_ctx</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00278">cipher.h:278</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dab89e8f49d884804188cc9837066f4017"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab89e8f49d884804188cc9837066f4017">MBEDTLS_CIPHER_AES_256_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00104">cipher.h:104</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da72a8f49efb32a40d6fef16aef04622c0"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da72a8f49efb32a40d6fef16aef04622c0">MBEDTLS_CIPHER_CAMELLIA_256_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00145">cipher.h:145</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da90b5be24e59a7dfdfbf9a125cce0f083"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da90b5be24e59a7dfdfbf9a125cce0f083">MBEDTLS_CIPHER_CAMELLIA_192_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00115">cipher.h:115</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a533e18634ddf1d7808c02531d2d0a891"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a533e18634ddf1d7808c02531d2d0a891">MBEDTLS_MODE_CFB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00153">cipher.h:153</a></div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837a502732ab53a21eb0bf84e5a8e93609a7"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a502732ab53a21eb0bf84e5a8e93609a7">MBEDTLS_PADDING_ONE_AND_ZEROS</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00164">cipher.h:164</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_a0075f60f220daa87578223a2022ba405"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#a0075f60f220daa87578223a2022ba405">mbedtls_cipher_context_t::operation</a></div><div class="ttdeci">mbedtls_operation_t operation</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00255">cipher.h:255</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da73308f133a09589299d2f4d7e94ae538"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da73308f133a09589299d2f4d7e94ae538">MBEDTLS_CIPHER_AES_256_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00113">cipher.h:113</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dabaa17a8b74d8334500e86bf8ec5d47d4"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dabaa17a8b74d8334500e86bf8ec5d47d4">MBEDTLS_CIPHER_CAMELLIA_192_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00124">cipher.h:124</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a0a5ca88e2e3530c0aef4861dfb6eda2b"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a0a5ca88e2e3530c0aef4861dfb6eda2b">MBEDTLS_MODE_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00158">cipher.h:158</a></div></div>
<div class="ttc" id="cipher_8h_html_aaa5f820a58011f938ba3389555ba5b3fa1209c6e6314e7dfa517602d53b6ea8b6"><div class="ttname"><a href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa1209c6e6314e7dfa517602d53b6ea8b6">MBEDTLS_DECRYPT</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00173">cipher.h:173</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1b"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1b">mbedtls_cipher_id_t</a></div><div class="ttdeci">mbedtls_cipher_id_t</div><div class="ttdoc">An enumeration of supported ciphers. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00078">cipher.h:78</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da26365f403c2b046ce35774e3cbaf72aa"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da26365f403c2b046ce35774e3cbaf72aa">MBEDTLS_CIPHER_CAMELLIA_192_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00118">cipher.h:118</a></div></div>
<div class="ttc" id="cipher_8h_html_a027be8bf469069be17d82c4899b3df5f"><div class="ttname"><a href="cipher_8h.html#a027be8bf469069be17d82c4899b3df5f">mbedtls_cipher_setkey</a></div><div class="ttdeci">int mbedtls_cipher_setkey(mbedtls_cipher_context_t *ctx, const unsigned char *key, int key_bitlen, const mbedtls_operation_t operation)</div><div class="ttdoc">This function sets the key to use with the given context. </div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da3c1d1256bc0e6ed7b5f5cf4dff038432"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da3c1d1256bc0e6ed7b5f5cf4dff038432">MBEDTLS_CIPHER_AES_256_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00101">cipher.h:101</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da2005aa6b74cb2574de6f4b104b1a6278"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da2005aa6b74cb2574de6f4b104b1a6278">MBEDTLS_CIPHER_CAMELLIA_256_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00128">cipher.h:128</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da22f9343e99edc3585e83d62f9a51f9e2"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da22f9343e99edc3585e83d62f9a51f9e2">MBEDTLS_CIPHER_BLOWFISH_CFB64</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00137">cipher.h:137</a></div></div>
<div class="ttc" id="cipher_8h_html_aec294721b811aa0f7dcc940029fd8aab"><div class="ttname"><a href="cipher_8h.html#aec294721b811aa0f7dcc940029fd8aab">MBEDTLS_MAX_IV_LENGTH</a></div><div class="ttdeci">#define MBEDTLS_MAX_IV_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00189">cipher.h:189</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da77f1b0e09890fb93e93f4968980d5ba8"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da77f1b0e09890fb93e93f4968980d5ba8">MBEDTLS_CIPHER_CAMELLIA_128_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00120">cipher.h:120</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dab9aeb9f4c1082c404e262eff5c16046f"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab9aeb9f4c1082c404e262eff5c16046f">MBEDTLS_CIPHER_ARC4_128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00139">cipher.h:139</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569daa85f7610f000ed8680164bb650278aa3"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa85f7610f000ed8680164bb650278aa3">MBEDTLS_CIPHER_DES_EDE_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00132">cipher.h:132</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_ad9bb94ad0e914bdceb20190cfebfc702"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#ad9bb94ad0e914bdceb20190cfebfc702">mbedtls_cipher_context_t::unprocessed_len</a></div><div class="ttdeci">size_t unprocessed_len</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00269">cipher.h:269</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da31bcc4ad8b983507288b98379a855584"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da31bcc4ad8b983507288b98379a855584">MBEDTLS_CIPHER_CAMELLIA_192_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00127">cipher.h:127</a></div></div>
<div class="ttc" id="cipher_8h_html_a715666cc823dc180277890b00f8a7f5e"><div class="ttname"><a href="cipher_8h.html#a715666cc823dc180277890b00f8a7f5e">mbedtls_cipher_auth_decrypt</a></div><div class="ttdeci">int mbedtls_cipher_auth_decrypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, const unsigned char *tag, size_t tag_len)</div><div class="ttdoc">The generic autenticated decryption (AEAD) function. </div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a7e79a9fb2bd143cc08d59b89b86c9ed7"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a7e79a9fb2bd143cc08d59b89b86c9ed7">mbedtls_cipher_info_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00223">cipher.h:223</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dab3d8f893f571c92eb58502736b4c6bb5"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dab3d8f893f571c92eb58502736b4c6bb5">MBEDTLS_CIPHER_BLOWFISH_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00135">cipher.h:135</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8ac89f6880c66f742e913bf4f7618a797b"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8ac89f6880c66f742e913bf4f7618a797b">MBEDTLS_MODE_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00152">cipher.h:152</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da5f1f64e7a813ebe35de67d10f04c7c12"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da5f1f64e7a813ebe35de67d10f04c7c12">MBEDTLS_CIPHER_AES_128_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00108">cipher.h:108</a></div></div>
<div class="ttc" id="cipher_8h_html_a65b2df023770ee3123a3f2cdb10497a0"><div class="ttname"><a href="cipher_8h.html#a65b2df023770ee3123a3f2cdb10497a0">mbedtls_cipher_auth_encrypt</a></div><div class="ttdeci">int mbedtls_cipher_auth_encrypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, unsigned char *tag, size_t tag_len)</div><div class="ttdoc">The generic autenticated encryption (AEAD) function. </div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a9683c4bedc462171adaf652b875abf09"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a9683c4bedc462171adaf652b875abf09">MBEDTLS_MODE_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00156">cipher.h:156</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a002ae72c0dbf793b5858971b7ce315b1"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a002ae72c0dbf793b5858971b7ce315b1">MBEDTLS_MODE_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00151">cipher.h:151</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba5a1de07b89c2fa03e102493c92a6d074"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba5a1de07b89c2fa03e102493c92a6d074">MBEDTLS_CIPHER_ID_AES</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00081">cipher.h:81</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da4dafc03176b3e587f5e50867ac1be0f6"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da4dafc03176b3e587f5e50867ac1be0f6">MBEDTLS_CIPHER_AES_192_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00141">cipher.h:141</a></div></div>
<div class="ttc" id="cipher_8h_html_a5b57bc07ab7c430e9b4f29f3a5729837a787071478fb192f36d4a085e010b28f9"><div class="ttname"><a href="cipher_8h.html#a5b57bc07ab7c430e9b4f29f3a5729837a787071478fb192f36d4a085e010b28f9">MBEDTLS_PADDING_PKCS7</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00163">cipher.h:163</a></div></div>
<div class="ttc" id="cipher_8h_html_a1c249f6ee1a0d2c906927c7790c41dc5"><div class="ttname"><a href="cipher_8h.html#a1c249f6ee1a0d2c906927c7790c41dc5">mbedtls_cipher_crypt</a></div><div class="ttdeci">int mbedtls_cipher_crypt(mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen)</div><div class="ttdoc">The generic all-in-one encryption/decryption function, for all ciphers except AEAD constructs...</div></div>
<div class="ttc" id="cipher_8h_html_aaa5f820a58011f938ba3389555ba5b3fa3e5a23a347d62ec3075f547516b0e2b3"><div class="ttname"><a href="cipher_8h.html#aaa5f820a58011f938ba3389555ba5b3fa3e5a23a347d62ec3075f547516b0e2b3">MBEDTLS_OPERATION_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00172">cipher.h:172</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da7be9d1d8f2ca3bbd6e5c8fa9afc1c58e"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7be9d1d8f2ca3bbd6e5c8fa9afc1c58e">MBEDTLS_CIPHER_CAMELLIA_128_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00117">cipher.h:117</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_ac949d799444e6379acf0125891c04763"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#ac949d799444e6379acf0125891c04763">mbedtls_cipher_context_t::key_bitlen</a></div><div class="ttdeci">int key_bitlen</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00250">cipher.h:250</a></div></div>
<div class="ttc" id="cipher_8h_html_a80354364e91cdb4d4e6ab7ecec65fe07"><div class="ttname"><a href="cipher_8h.html#a80354364e91cdb4d4e6ab7ecec65fe07">mbedtls_cipher_init</a></div><div class="ttdeci">void mbedtls_cipher_init(mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function initializes a cipher_context as NONE. </div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da0ebeb46e514f7d7c9791daf9f31bdbc2"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ebeb46e514f7d7c9791daf9f31bdbc2">MBEDTLS_CIPHER_DES_EDE3_CBC</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00134">cipher.h:134</a></div></div>
<div class="ttc" id="cipher_8h_html_a86bc4ed42ff087c33bb00fe31b049ae7"><div class="ttname"><a href="cipher_8h.html#a86bc4ed42ff087c33bb00fe31b049ae7">mbedtls_cipher_update_ad</a></div><div class="ttdeci">int mbedtls_cipher_update_ad(mbedtls_cipher_context_t *ctx, const unsigned char *ad, size_t ad_len)</div><div class="ttdoc">This function adds additional data for AEAD ciphers. Only supported with GCM. Must be called exactly ...</div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba3b9447c8b50e7e1b8a5d526360388a14"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba3b9447c8b50e7e1b8a5d526360388a14">MBEDTLS_CIPHER_ID_NULL</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00080">cipher.h:80</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1bac9c5b79b2697c3597a14cd5ab8d0d274"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1bac9c5b79b2697c3597a14cd5ab8d0d274">MBEDTLS_CIPHER_ID_BLOWFISH</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00085">cipher.h:85</a></div></div>
<div class="ttc" id="cipher_8h_html_a009056b59d69abba5843ce78cd9aae1c"><div class="ttname"><a href="cipher_8h.html#a009056b59d69abba5843ce78cd9aae1c">mbedtls_cipher_setup</a></div><div class="ttdeci">int mbedtls_cipher_setup(mbedtls_cipher_context_t *ctx, const mbedtls_cipher_info_t *cipher_info)</div><div class="ttdoc">This function initializes and fills the cipher-context structure with the appropriate values...</div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dad749b54fa7af5af9754f600a1cf6e8f0"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dad749b54fa7af5af9754f600a1cf6e8f0">MBEDTLS_CIPHER_DES_EDE3_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00133">cipher.h:133</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569daa6da8177c2e59f582cf53c0ab91b0d23"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569daa6da8177c2e59f582cf53c0ab91b0d23">MBEDTLS_CIPHER_AES_192_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00109">cipher.h:109</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da0ed7c295258192976c4f11be930b6383"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da0ed7c295258192976c4f11be930b6383">MBEDTLS_CIPHER_DES_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00129">cipher.h:129</a></div></div>
<div class="ttc" id="cipher_8h_html_ad3388eaa42a44db6a0b0339dd49f15ba"><div class="ttname"><a href="cipher_8h.html#ad3388eaa42a44db6a0b0339dd49f15ba">mbedtls_cipher_check_tag</a></div><div class="ttdeci">int mbedtls_cipher_check_tag(mbedtls_cipher_context_t *ctx, const unsigned char *tag, size_t tag_len)</div><div class="ttdoc">This function checks the tag for AEAD ciphers. Only supported with GCM. Must be called after mbedtls_...</div></div>
<div class="ttc" id="cipher_8h_html_a95179cd977261724298e9bca67a0fcc0"><div class="ttname"><a href="cipher_8h.html#a95179cd977261724298e9bca67a0fcc0">mbedtls_cipher_get_iv_size</a></div><div class="ttdeci">static int mbedtls_cipher_get_iv_size(const mbedtls_cipher_context_t *ctx)</div><div class="ttdoc">This function returns the size of the IV or nonce of the cipher, in Bytes. </div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00409">cipher.h:409</a></div></div>
<div class="ttc" id="cipher_8h_html_a06fc87d81c62e9abb8790b6e5713c55ba0786b4375829efe98db9d73c5b12eda1"><div class="ttname"><a href="cipher_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba0786b4375829efe98db9d73c5b12eda1">MBEDTLS_KEY_LENGTH_DES</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00181">cipher.h:181</a></div></div>
<div class="ttc" id="cipher_8h_html_a8916ddd18e94002913b80a6b04b83693"><div class="ttname"><a href="cipher_8h.html#a8916ddd18e94002913b80a6b04b83693">mbedtls_cipher_write_tag</a></div><div class="ttdeci">int mbedtls_cipher_write_tag(mbedtls_cipher_context_t *ctx, unsigned char *tag, size_t tag_len)</div><div class="ttdoc">This function writes a tag for AEAD ciphers. Only supported with GCM. Must be called after mbedtls_ci...</div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da1d6fd8cd15664a20d1c8426802b8c54b"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da1d6fd8cd15664a20d1c8426802b8c54b">MBEDTLS_CIPHER_AES_192_GCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00112">cipher.h:112</a></div></div>
<div class="ttc" id="structmbedtls__cipher__context__t_html_af11d1d21da68ef00a46d96d9de326206"><div class="ttname"><a href="structmbedtls__cipher__context__t.html#af11d1d21da68ef00a46d96d9de326206">mbedtls_cipher_context_t::iv_size</a></div><div class="ttdeci">size_t iv_size</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00275">cipher.h:275</a></div></div>
<div class="ttc" id="cipher_8h_html_ab8f30dc90403204515f868c3b6196ffd"><div class="ttname"><a href="cipher_8h.html#ab8f30dc90403204515f868c3b6196ffd">MBEDTLS_MAX_BLOCK_LENGTH</a></div><div class="ttdeci">#define MBEDTLS_MAX_BLOCK_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00191">cipher.h:191</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da02173aedfb459d27316f8fcbd8452e13"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da02173aedfb459d27316f8fcbd8452e13">MBEDTLS_CIPHER_AES_128_ECB</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00099">cipher.h:99</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da41d9d9a010b9009bff05b3cfc3452655"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da41d9d9a010b9009bff05b3cfc3452655">MBEDTLS_CIPHER_AES_256_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00110">cipher.h:110</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569dadb9f15b9c71b37a83c68092390133f03"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569dadb9f15b9c71b37a83c68092390133f03">MBEDTLS_CIPHER_CAMELLIA_256_CTR</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00125">cipher.h:125</a></div></div>
<div class="ttc" id="cipher_8h_html_adf5f7524a682fa63093dd0fa608fb2f8a4a44bef531861d3e54416b95607e7ebe"><div class="ttname"><a href="cipher_8h.html#adf5f7524a682fa63093dd0fa608fb2f8a4a44bef531861d3e54416b95607e7ebe">MBEDTLS_MODE_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00150">cipher.h:150</a></div></div>
<div class="ttc" id="cipher_8h_html_af5b069ffd0b2ad31225e42ee4ee29b1ba34bf0303a00b450f0262e97323b67fd7"><div class="ttname"><a href="cipher_8h.html#af5b069ffd0b2ad31225e42ee4ee29b1ba34bf0303a00b450f0262e97323b67fd7">MBEDTLS_CIPHER_ID_DES</a></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_a00c5885f1ea7279c5a7d8e12e596569da665a71ade48243f64f191a5d2320bef8"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da665a71ade48243f64f191a5d2320bef8">MBEDTLS_CIPHER_AES_192_CFB128</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00106">cipher.h:106</a></div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a21ac3fc6bf536ce16f1754301e7fe3c9"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a21ac3fc6bf536ce16f1754301e7fe3c9">mbedtls_cipher_info_t::key_bitlen</a></div><div class="ttdeci">unsigned int key_bitlen</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00220">cipher.h:220</a></div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_a399f289efa81ca0da63bc80686b5fe82"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#a399f289efa81ca0da63bc80686b5fe82">mbedtls_cipher_info_t::type</a></div><div class="ttdeci">mbedtls_cipher_type_t type</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00211">cipher.h:211</a></div></div>
<div class="ttc" id="cipher_8h_html_a8bc2809cbd7c2357f41be8cf76eeed92"><div class="ttname"><a href="cipher_8h.html#a8bc2809cbd7c2357f41be8cf76eeed92">mbedtls_cipher_info_from_type</a></div><div class="ttdeci">const mbedtls_cipher_info_t * mbedtls_cipher_info_from_type(const mbedtls_cipher_type_t cipher_type)</div><div class="ttdoc">This function retrieves the cipher-information structure associated with the given cipher type...</div></div>
<div class="ttc" id="structmbedtls__cipher__info__t_html_ab49e136926e04b02806503deb8844f2d"><div class="ttname"><a href="structmbedtls__cipher__info__t.html#ab49e136926e04b02806503deb8844f2d">mbedtls_cipher_info_t::base</a></div><div class="ttdeci">const mbedtls_cipher_base_t * base</div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00238">cipher.h:238</a></div></div>
<div class="ttc" id="cipher_8h_html_a00c5885f1ea7279c5a7d8e12e596569da7d1a7208c43a711c1665241402b8390d"><div class="ttname"><a href="cipher_8h.html#a00c5885f1ea7279c5a7d8e12e596569da7d1a7208c43a711c1665241402b8390d">MBEDTLS_CIPHER_AES_256_CCM</a></div><div class="ttdef"><b>Definition:</b> <a href="cipher_8h_source.html#l00142">cipher.h:142</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue May 8 2018 21:08:41 for mbed TLS v2.7.3 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>