glfs/postlfs/security/nettle.xml
Bruce Dubbs db6385bffd Update to cups-filters-1.21.5.
Update to poppler-0.72.0. 
Update to btrfs-progs-v4.19.1. 
Update to logrotate-3.15.0. 
Update to nettle-3.4.1. 
Update to git-2.19.2. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20787 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-12-09 19:33:47 +00:00

216 lines
6.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY nettle-download-http "&gnu-http;/nettle/nettle-&nettle-version;.tar.gz">
<!ENTITY nettle-download-ftp "&gnu-ftp;/nettle/nettle-&nettle-version;.tar.gz">
<!ENTITY nettle-md5sum "9bdebb0e2f638d3b9d91f7fc264b70c1">
<!ENTITY nettle-size "1.9 MB">
<!ENTITY nettle-buildsize "71 MB (with tests)">
<!ENTITY nettle-time "0.4 SBU (with tests)">
]>
<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
<?dbhtml filename="nettle.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Nettle-&nettle-version;</title>
<indexterm zone="nettle">
<primary sortas="a-Nettle">Nettle</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Nettle</title>
<para>
The <application>Nettle</application> package contains a low-level
cryptographic library that is designed to fit easily in many contexts.
</para>
&lfs83_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&nettle-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&nettle-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &nettle-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &nettle-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &nettle-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &nettle-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Nettle Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="openssl"/> (for examples)
</para>
-->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/nettle"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Nettle</title>
<para>Install <application>Nettle</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
chmod -v 755 /usr/lib/lib{hogweed,nettle}.so &amp;&amp;
install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
nettle-hash, nettle-lfib-stream, nettle-pbkdf2,
pkcs1-conv and sexp-conv
</seg>
<seg>
libhogweed.so and libnettle.so
</seg>
<seg>
/usr/include/nettle and /usr/share/doc/nettle-&nettle-version;
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="nettle-hash">
<term><command>nettle-hash</command></term>
<listitem>
<para>
calculates a hash value using a specified algorithm.
</para>
<indexterm zone="nettle nettle-hash">
<primary sortas="b-nettle-hash">nettle-hash</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="nettle-lfib-stream">
<term><command>nettle-lfib-stream</command></term>
<listitem>
<para>
outputs a sequence of pseudorandom (non-cryptographic) bytes,
using Knuth's lagged fibonacci generator. The stream is useful for
testing, but should not be used to generate cryptographic keys or
anything else that needs real randomness.
</para>
<indexterm zone="nettle nettle-lfib-stream">
<primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="nettle-pbkdf2">
<term><command>nettle-pbkdf2</command></term>
<listitem>
<para>
password-based key derivation function that take as input a
password or passphrase and typically strengthen it and protect
against certain pre-computation attacks by using salting and
expensive computation.
</para>
<indexterm zone="nettle nettle-pbkdf2">
<primary sortas="b-nettle-pbkdf2">nettle-pbkdf2</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pkcs1-conv">
<term><command>pkcs1-conv</command></term>
<listitem>
<para>
converts private and public RSA keys from PKCS #1 format to
sexp format.
</para>
<indexterm zone="nettle pkcs1-conv">
<primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="sexp-conv">
<term><command>sexp-conv</command></term>
<listitem>
<para>
converts an s-expression to a different encoding.
</para>
<indexterm zone="nettle sexp-conv">
<primary sortas="b-sexp-conv">sexp-conv</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>