This file is indexed.

/usr/share/doc/libghc-cryptonite-doc/html/Crypto-KDF-HKDF.html is in libghc-cryptonite-doc 0.23-2build5.

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
<!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/html; charset=UTF-8" /><title>Crypto.KDF.HKDF</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Crypto-KDF-HKDF.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Crypto-KDF-HKDF.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">cryptonite-0.23: Cryptography Primitives sink</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez &lt;vincent@snarc.org&gt;</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>unknown</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Crypto.KDF.HKDF</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Key Derivation Function based on HMAC</p><p>See RFC5869</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:PRK">PRK</a> a</li><li class="src short"><a href="#v:extract">extract</a> :: (<a href="Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> a, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> salt, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> ikm) =&gt; salt -&gt; ikm -&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a</li><li class="src short"><a href="#v:extractSkip">extractSkip</a> :: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> ikm =&gt; ikm -&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a</li><li class="src short"><a href="#v:expand">expand</a> :: (<a href="Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> a, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> info, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> out) =&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; out</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:PRK" class="def">PRK</a> a <a href="src/Crypto-KDF-HKDF.html#PRK" class="link">Source</a> <a href="#t:PRK" class="selflink">#</a></p><div class="doc"><p>Pseudo Random Key</p></div><div class="subs instances"><p id="control.i:PRK" class="caption collapser" onclick="toggleSection('i:PRK')">Instances</p><div id="section.i:PRK" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PRK:Eq:1" class="instance expander" onclick="toggleSection('i:id:PRK:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a)</span> <a href="src/Crypto-KDF-HKDF.html#line-28" class="link">Source</a> <a href="#t:PRK" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PRK:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PRK:ByteArrayAccess:2" class="instance expander" onclick="toggleSection('i:id:PRK:ByteArrayAccess:2')"></span> <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> (<a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a)</span> <a href="src/Crypto-KDF-HKDF.html#line-30" class="link">Source</a> <a href="#t:PRK" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PRK:ByteArrayAccess:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:length">length</a> :: <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:length" class="selflink">#</a></p><p class="src"><a href="#v:withByteArray">withByteArray</a> :: <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-Ptr.html#t:Ptr">Ptr</a> p -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> a <a href="#v:withByteArray" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:extract" class="def">extract</a> <a href="src/Crypto-KDF-HKDF.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> a, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> salt, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> ikm)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; salt</td><td class="doc"><p>Salt</p></td></tr><tr><td class="src">-&gt; ikm</td><td class="doc"><p>Input Keying Material</p></td></tr><tr><td class="src">-&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a</td><td class="doc"><p>Pseudo random key</p></td></tr></table></div><div class="doc"><p>Extract a Pseudo Random Key using the parameter and the underlaying hash mechanism</p></div></div><div class="top"><p class="src"><a id="v:extractSkip" class="def">extractSkip</a> :: <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> ikm =&gt; ikm -&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a <a href="src/Crypto-KDF-HKDF.html#extractSkip" class="link">Source</a> <a href="#v:extractSkip" class="selflink">#</a></p><div class="doc"><p>Create a PRK directly from the input key material.</p><p>Only use when guaranteed to have a good quality and random data to use directly as key.
 This effectively skip a HMAC with key=salt and data=key.</p></div></div><div class="top"><p class="src"><a id="v:expand" class="def">expand</a> <a href="src/Crypto-KDF-HKDF.html#expand" class="link">Source</a> <a href="#v:expand" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Crypto-Hash-IO.html#t:HashAlgorithm">HashAlgorithm</a> a, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArrayAccess">ByteArrayAccess</a> info, <a href="file:///usr/share/doc/libghc-memory-doc/html/Data-ByteArray.html#t:ByteArray">ByteArray</a> out)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Crypto-KDF-HKDF.html#t:PRK">PRK</a> a</td><td class="doc"><p>Pseudo Random Key</p></td></tr><tr><td class="src">-&gt; info</td><td class="doc"><p>Optional context and application specific information</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Output length in bytes</p></td></tr><tr><td class="src">-&gt; out</td><td class="doc"><p>Output data</p></td></tr></table></div><div class="doc"><p>Expand key material of specific length out of the parameters</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>