source: postlfs/security/nettle.xml@ bc1c6f26

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since bc1c6f26 was 09a464a, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Lots of tags and a typo fix in Nettle

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