<trclass="memdesc:af16f2c48e857f46bedf48db0bf495bad"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes a CRC64 context. <br/></td></tr>
<trclass="memdesc:a1fb4423a841ccd728e3ad0d028cbc9b4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Updates the CRC64 context with new data. <br/></td></tr>
<trclass="memdesc:a83ecd1f5636915aebacfd29fc6306520"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Updates a CRC64 value using the slicing-by-8 algorithm. <br/></td></tr>
<trclass="memdesc:ae48cfb59c6585e9ffd4cd1a97044891f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the final CRC64 value from the context. <br/></td></tr>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00160">160</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>, <aclass="el"href="crc64_8c_source.html#l00141">aaruf_crc64_final()</a>, <aclass="el"href="crc64_8c_source.html#l00155">aaruf_crc64_free()</a>, <aclass="el"href="crc64_8c_source.html#l00032">aaruf_crc64_init()</a>, and <aclass="el"href="crc64_8c_source.html#l00055">aaruf_crc64_update()</a>.</p>
<p>Computes the final CRC64 value from the context. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">ctx</td><td>Pointer to the CRC64 context. </td></tr>
<tr><tdclass="paramname">crc</td><td>Pointer to store the resulting CRC64 value. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>0 on success, -1 on error. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00141">141</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>, <aclass="el"href="crc64_8h_source.html#l00057">crc64_ctx::crc</a>, and <aclass="el"href="crc64_8h_source.html#l00280">CRC64_ECMA_SEED</a>.</p>
<tr><tdclass="paramname">ctx</td><td>Pointer to the CRC64 context to free. </td></tr>
</table>
</dd>
</dl>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00155">155</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, and <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="write_8c_source.html#l01403">aaruf_close_current_block()</a>, <aclass="el"href="crc64_8c_source.html#l00160">aaruf_crc64_data()</a>, <aclass="el"href="verify_8c_source.html#l00130">aaruf_verify_image()</a>, <aclass="el"href="index__v2_8c_source.html#l00227">verify_index_v2()</a>, and <aclass="el"href="index__v3_8c_source.html#l00408">verify_index_v3()</a>.</p>
<p>Allocates and initializes a CRC64 context for checksum calculations.</p>
<dlclass="section return"><dt>Returns</dt><dd>Pointer to the initialized <aclass="el"href="structcrc64__ctx.html"title="Minimal ECMA-182 CRC64 incremental state container (running value only).">crc64_ctx</a> structure, or NULL on failure. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00032">32</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>, <aclass="el"href="crc64_8h_source.html#l00057">crc64_ctx::crc</a>, <aclass="el"href="crc64_8h_source.html#l00280">CRC64_ECMA_SEED</a>, and <aclass="el"href="log_8h_source.html#l00025">TRACE</a>.</p>
<p>Updates a CRC64 value using the slicing-by-8 algorithm. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">previous_crc</td><td>Pointer to the previous CRC64 value (input/output). </td></tr>
<tr><tdclass="paramname">data</td><td>Pointer to the data buffer. </td></tr>
<tr><tdclass="paramname">len</td><td>Length of the data buffer in bytes. </td></tr>
</table>
</dd>
</dl>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00102">102</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>, and <aclass="el"href="crc64_8h_source.html#l00066">crc64_table</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="crc64_8c_source.html#l00055">aaruf_crc64_update()</a>.</p>
<p>Processes the given data buffer and updates the CRC64 value in the context.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">ctx</td><td>Pointer to the CRC64 context. </td></tr>
<tr><tdclass="paramname">data</td><td>Pointer to the data buffer. </td></tr>
<tr><tdclass="paramname">len</td><td>Length of the data buffer. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>0 on success, or -1 on error. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="crc64_8c_source.html#l00055">55</a> of file <aclass="el"href="crc64_8c_source.html">crc64.c</a>.</p>
<pclass="reference">References <aclass="el"href="decls_8h_source.html#l00045">AARU_CALL</a>, <aclass="el"href="decls_8h_source.html#l00054">AARU_EXPORT</a>, <aclass="el"href="crc64_8c_source.html#l00102">aaruf_crc64_slicing()</a>, <aclass="el"href="crc64_8h_source.html#l00057">crc64_ctx::crc</a>, and <aclass="el"href="log_8h_source.html#l00025">TRACE</a>.</p>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.14.0 </li>