/usr/share/doc/libkcapi/html/ch03s07.html is in libkcapi-doc 1.0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>AEAD Cipher API - Generic</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="Linux Kernel Crypto API User Space Interface Library"><link rel="up" href="API.html" title="Chapter 3. Programming Interface"><link rel="prev" href="API-kcapi-cipher-stream-op.html" title="kcapi_cipher_stream_op"><link rel="next" href="API-kcapi-aead-init.html" title="kcapi_aead_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">AEAD Cipher API - Generic</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-kcapi-cipher-stream-op.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Programming Interface</th><td width="20%" align="right"> <a accesskey="n" href="API-kcapi-aead-init.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idm1486"></a>AEAD Cipher API - Generic</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-kcapi-aead-init.html"><span class="phrase">kcapi_aead_init</span></a></span><span class="refpurpose"> —
initialization of cipher handle
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-destroy.html"><span class="phrase">kcapi_aead_destroy</span></a></span><span class="refpurpose"> —
close the AEAD handle and release resources
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-setkey.html"><span class="phrase">kcapi_aead_setkey</span></a></span><span class="refpurpose"> —
set the key for the AEAD handle
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-setassoclen.html"><span class="phrase">kcapi_aead_setassoclen</span></a></span><span class="refpurpose"> —
set authentication data size
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-settaglen.html"><span class="phrase">kcapi_aead_settaglen</span></a></span><span class="refpurpose"> —
set authentication tag size
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-ivsize.html"><span class="phrase">kcapi_aead_ivsize</span></a></span><span class="refpurpose"> —
return size of IV required for cipher
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-blocksize.html"><span class="phrase">kcapi_aead_blocksize</span></a></span><span class="refpurpose"> —
return size of one block of the cipher
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-authsize.html"><span class="phrase">kcapi_aead_authsize</span></a></span><span class="refpurpose"> —
return the maximum size of the tag
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-inbuflen-enc.html"><span class="phrase">kcapi_aead_inbuflen_enc</span></a></span><span class="refpurpose"> —
return minimum encryption input buffer length
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-inbuflen-dec.html"><span class="phrase">kcapi_aead_inbuflen_dec</span></a></span><span class="refpurpose"> —
return minimum decryption input buffer length
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-outbuflen-enc.html"><span class="phrase">kcapi_aead_outbuflen_enc</span></a></span><span class="refpurpose"> —
return minimum encryption output buffer length
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-outbuflen-dec.html"><span class="phrase">kcapi_aead_outbuflen_dec</span></a></span><span class="refpurpose"> —
return minimum decryption output buffer length
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-ccm-nonce-to-iv.html"><span class="phrase">kcapi_aead_ccm_nonce_to_iv</span></a></span><span class="refpurpose"> —
convert CCM nonce into IV
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-getdata-input.html"><span class="phrase">kcapi_aead_getdata_input</span></a></span><span class="refpurpose"> —
get the pointers into input buffer
</span></dt><dt><span class="refentrytitle"><a href="API-kcapi-aead-getdata-output.html"><span class="phrase">kcapi_aead_getdata_output</span></a></span><span class="refpurpose"> —
get the pointers into output buffer
</span></dt></dl></div><p>
These generic API for symmetric ciphers calls are to be used for both, the
one-shot and the stream encryption/decryption operations.
</p><p>
</p><p>
The following API calls allow using the Authenticated Encryption with
Associated Data.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-kcapi-cipher-stream-op.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="API.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-kcapi-aead-init.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">kcapi_cipher_stream_op</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">kcapi_aead_init</span></td></tr></table></div></body></html>
|