This file is indexed.

/usr/share/doc/libkcapi/html/API-kcapi-rng-seed.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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>kcapi_rng_seed</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="ch03s15.html" title="Random Number API"><link rel="prev" href="API-kcapi-rng-destroy.html" title="kcapi_rng_destroy"><link rel="next" href="API-kcapi-rng-generate.html" title="kcapi_rng_generate"></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"><span class="phrase">kcapi_rng_seed</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-kcapi-rng-destroy.html">Prev</a> </td><th width="60%" align="center">Random Number API</th><td width="20%" align="right"> <a accesskey="n" href="API-kcapi-rng-generate.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-kcapi-rng-seed"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>kcapi_rng_seed — 
  seed the RNG
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">kcapi_rng_seed </b>(</code></td><td>struct kcapi_handle * <var class="pdparam">handle</var>, </td></tr><tr><td> </td><td>uint8_t * <var class="pdparam">seed</var>, </td></tr><tr><td> </td><td>uint32_t <var class="pdparam">seedlen</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm3951"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>handle</code></em></span></dt><dd><p>
     [in] cipher handle
    </p></dd><dt><span class="term"><em class="parameter"><code>seed</code></em></span></dt><dd><p>
     [in] seed data
    </p></dd><dt><span class="term"><em class="parameter"><code>seedlen</code></em></span></dt><dd><p>
     [in] size of seed
    </p></dd></dl></div></div><div class="refsect1"><a name="idm3969"></a><h2>Description</h2><p>
   Note, this call must be called to initialize the selected RNG. When the
   SP800-90A DRBG is used, this call causes the DRBG to seed itself from the
   internal noise sources.
   </p><p>

   Note, in case of using the SP800-90A DRBG, the seed buffer may be NULL. If
   it is not NULL, the DRBG uses the given data either as personalization string
   in case of the initial seeding or additional data for reseeding.
   </p><p>

   <em class="parameter"><code>return</code></em> 0 upon success;
   a negative errno-style error code if an error occurred
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-kcapi-rng-destroy.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03s15.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-kcapi-rng-generate.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">kcapi_rng_destroy</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_rng_generate</span></td></tr></table></div></body></html>