<ahref="gf256_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aid="l00001"name="l00001"></a><spanclass="lineno"> 1</span><spanclass="comment">/*</span></div>
<divclass="line"><aid="l00002"name="l00002"></a><spanclass="lineno"> 2</span><spanclass="comment"> * This file is part of the Aaru Data Preservation Suite.</span></div>
<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment"> * This library is free software; you can redistribute it and/or modify</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment"> * it under the terms of the GNU Lesser General Public License as</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * published by the Free Software Foundation; either version 2.1 of the</span></div>
<divclass="line"><aid="l00008"name="l00008"></a><spanclass="lineno"> 8</span><spanclass="comment"> * License, or (at your option) any later version.</span></div>
<divclass="line"><aid="l00010"name="l00010"></a><spanclass="lineno"> 10</span><spanclass="comment"> * This library is distributed in the hope that it will be useful, but</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> * Lesser General Public License for more details.</span></div>
<divclass="line"><aid="l00015"name="l00015"></a><spanclass="lineno"> 15</span><spanclass="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<divclass="line"><aid="l00016"name="l00016"></a><spanclass="lineno"> 16</span><spanclass="comment"> * License along with this library; if not, see <http://www.gnu.org/licenses/>.</span></div>
<divclass="ttc"id="agf256_8c_html_a1f0071a2ea261bdd2a59cc757a3ce13c"><divclass="ttname"><ahref="gf256_8c.html#a1f0071a2ea261bdd2a59cc757a3ce13c">gf256_div</a></div><divclass="ttdeci">uint8_t gf256_div(uint8_t a, uint8_t b)</div><divclass="ttdoc">Divide two elements in GF(2^8).</div><divclass="ttdef"><b>Definition</b><ahref="gf256_8c_source.html#l00084">gf256.c:84</a></div></div>
<divclass="ttc"id="agf256_8c_html_a2e7b136d97e3214ff718f46542e276da"><divclass="ttname"><ahref="gf256_8c.html#a2e7b136d97e3214ff718f46542e276da">gf256_xor_region</a></div><divclass="ttdeci">void gf256_xor_region(uint8_t *dst, const uint8_t *src, size_t len)</div><divclass="ttdoc">XOR a region: dst[i] ^= src[i] for all i.</div><divclass="ttdef"><b>Definition</b><ahref="gf256_8c_source.html#l00370">gf256.c:370</a></div></div>
<divclass="ttc"id="agf256_8c_html_a43b3c7a9e2c10d25670fd961ae2916ca"><divclass="ttname"><ahref="gf256_8c.html#a43b3c7a9e2c10d25670fd961ae2916ca">gf256_inv</a></div><divclass="ttdeci">uint8_t gf256_inv(uint8_t a)</div><divclass="ttdoc">Compute multiplicative inverse in GF(2^8).</div><divclass="ttdef"><b>Definition</b><ahref="gf256_8c_source.html#l00092">gf256.c:92</a></div></div>
<divclass="ttc"id="agf256_8c_html_ad9ea1dd38b7a45e2c9f967c26d7b05df"><divclass="ttname"><ahref="gf256_8c.html#ad9ea1dd38b7a45e2c9f967c26d7b05df">gf256_mul_region</a></div><divclass="ttdeci">void gf256_mul_region(uint8_t *dst, const uint8_t *src, uint8_t coeff, size_t len)</div><divclass="ttdoc">Multiply-accumulate a region: dst[i] ^= GF_mul(src[i], coeff) for all i.</div><divclass="ttdef"><b>Definition</b><ahref="gf256_8c_source.html#l00350">gf256.c:350</a></div></div>
<divclass="ttc"id="agf256_8c_html_af1afff8141cfc915bb37fc01dab39995"><divclass="ttname"><ahref="gf256_8c.html#af1afff8141cfc915bb37fc01dab39995">gf256_mul</a></div><divclass="ttdeci">uint8_t gf256_mul(uint8_t a, uint8_t b)</div><divclass="ttdoc">Multiply two elements in GF(2^8) with polynomial 0x11D.</div><divclass="ttdef"><b>Definition</b><ahref="gf256_8c_source.html#l00077">gf256.c:77</a></div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.18.0 </li>