source: postlfs/security/nettle.xml@ 9ade54a3

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9ade54a3 was 9ade54a3, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to haveged-1.9.14
Update to poppler-21.01.0
Update to python-dbusmock-0.22.0
Update to libpcap-1.10.0 (security update)
Update to umockdev-0.15.4
Update to nettle-3.7
Update to dovecot-2.3.13 (security update)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24070 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 KB
RevLine 
[0c6c35d]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY nettle-download-http "&gnu-http;/nettle/nettle-&nettle-version;.tar.gz">
8 <!ENTITY nettle-download-ftp "&gnu-ftp;/nettle/nettle-&nettle-version;.tar.gz">
[9ade54a3]9 <!ENTITY nettle-md5sum "568070f62fd14ca6b076ad583d84e9db">
10 <!ENTITY nettle-size "2.3 MB">
11 <!ENTITY nettle-buildsize "89 MB (with tests)">
[db6385b]12 <!ENTITY nettle-time "0.4 SBU (with tests)">
[0c6c35d]13]>
14
[5eaf9af8]15<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
[0c6c35d]16 <?dbhtml filename="nettle.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[5eaf9af8]23 <title>Nettle-&nettle-version;</title>
[0c6c35d]24
25 <indexterm zone="nettle">
[5eaf9af8]26 <primary sortas="a-Nettle">Nettle</primary>
[0c6c35d]27 </indexterm>
28
29 <sect2 role="package">
[5eaf9af8]30 <title>Introduction to Nettle</title>
[0c6c35d]31
[5eaf9af8]32 <para>
[4e0e3828]33 The <application>Nettle</application> package contains a low-level
[5eaf9af8]34 cryptographic library that is designed to fit easily in many contexts.
[0c6c35d]35 </para>
36
[72592375]37 &lfs10_checked;
[0c6c35d]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[5eaf9af8]42 <para>
43 Download (HTTP): <ulink url="&nettle-download-http;"/>
44 </para>
[0c6c35d]45 </listitem>
46 <listitem>
[5eaf9af8]47 <para>
48 Download (FTP): <ulink url="&nettle-download-ftp;"/>
49 </para>
[0c6c35d]50 </listitem>
51 <listitem>
[5eaf9af8]52 <para>
53 Download MD5 sum: &nettle-md5sum;
54 </para>
[0c6c35d]55 </listitem>
56 <listitem>
[5eaf9af8]57 <para>
58 Download size: &nettle-size;
59 </para>
[0c6c35d]60 </listitem>
61 <listitem>
[5eaf9af8]62 <para>
63 Estimated disk space required: &nettle-buildsize;
64 </para>
[0c6c35d]65 </listitem>
66 <listitem>
[5eaf9af8]67 <para>
68 Estimated build time: &nettle-time;
69 </para>
[0c6c35d]70 </listitem>
71 </itemizedlist>
[94b42903]72<!--
[4890200]73 <bridgehead renderas="sect3">Nettle Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
[ecb79c8]77 <xref linkend="openssl"/> (for examples)
[4890200]78 </para>
[94b42903]79-->
[0c6c35d]80 <para condition="html" role="usernotes">User Notes:
[5eaf9af8]81 <ulink url="&blfs-wiki;/nettle"/>
82 </para>
[0c6c35d]83 </sect2>
84
85 <sect2 role="installation">
[5eaf9af8]86 <title>Installation of Nettle</title>
[0c6c35d]87
[47274444]88 <para>
89 Install <application>Nettle</application> by running the following
90 commands:
91 </para>
[0c6c35d]92
[d45a8367]93<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[0c6c35d]94make</userinput></screen>
95
[5eaf9af8]96 <para>
97 To test the results, issue: <command>make check</command>.
98 </para>
[0d7900a]99
[5eaf9af8]100 <para>
101 Now, as the <systemitem class="username">root</systemitem> user:
102 </para>
[0c6c35d]103
104<screen role="root"><userinput>make install &amp;&amp;
[fd8f285]105chmod -v 755 /usr/lib/lib{hogweed,nettle}.so &amp;&amp;
[d45a8367]106install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
[0c6c35d]107install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
108
109 </sect2>
110
[d45a8367]111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../../xincludes/static-libraries.xml"/>
116
117 </sect2>
118
[0c6c35d]119 <sect2 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
[5eaf9af8]124 <segtitle>Installed Libraries</segtitle>
125 <segtitle>Installed Directory</segtitle>
[0c6c35d]126
127 <seglistitem>
[5eaf9af8]128 <seg>
[b9abcb5]129 nettle-hash, nettle-lfib-stream, nettle-pbkdf2,
130 pkcs1-conv and sexp-conv
[5eaf9af8]131 </seg>
132 <seg>
[d45a8367]133 libhogweed.so and libnettle.so
[5eaf9af8]134 </seg>
135 <seg>
[b9abcb5]136 /usr/include/nettle and /usr/share/doc/nettle-&nettle-version;
[5eaf9af8]137 </seg>
[0c6c35d]138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="nettle-hash">
147 <term><command>nettle-hash</command></term>
148 <listitem>
[5eaf9af8]149 <para>
[45db70f]150 calculates a hash value using a specified algorithm.
[5eaf9af8]151 </para>
[0c6c35d]152 <indexterm zone="nettle nettle-hash">
153 <primary sortas="b-nettle-hash">nettle-hash</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="nettle-lfib-stream">
159 <term><command>nettle-lfib-stream</command></term>
160 <listitem>
[5eaf9af8]161 <para>
[b9abcb5]162 outputs a sequence of pseudorandom (non-cryptographic) bytes,
163 using Knuth's lagged fibonacci generator. The stream is useful for
164 testing, but should not be used to generate cryptographic keys or
165 anything else that needs real randomness.
[5eaf9af8]166 </para>
[0c6c35d]167 <indexterm zone="nettle nettle-lfib-stream">
168 <primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
[b9abcb5]173 <varlistentry id="nettle-pbkdf2">
174 <term><command>nettle-pbkdf2</command></term>
175 <listitem>
176 <para>
177 password-based key derivation function that take as input a
178 password or passphrase and typically strengthen it and protect
179 against certain pre-computation attacks by using salting and
180 expensive computation.
181 </para>
182 <indexterm zone="nettle nettle-pbkdf2">
183 <primary sortas="b-nettle-pbkdf2">nettle-pbkdf2</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
[0c6c35d]188 <varlistentry id="pkcs1-conv">
189 <term><command>pkcs1-conv</command></term>
190 <listitem>
[5eaf9af8]191 <para>
192 converts private and public RSA keys from PKCS #1 format to
193 sexp format.
194 </para>
[0c6c35d]195 <indexterm zone="nettle pkcs1-conv">
196 <primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="sexp-conv">
202 <term><command>sexp-conv</command></term>
203 <listitem>
[5eaf9af8]204 <para>
205 converts an s-expression to a different encoding.
206 </para>
[0c6c35d]207 <indexterm zone="nettle sexp-conv">
208 <primary sortas="b-sexp-conv">sexp-conv</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 </variablelist>
214
215 </sect2>
216
217</sect1>
Note: See TracBrowser for help on using the repository browser.