source: postlfs/security/nettle.xml

trunk
Last change on this file was b9874725, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Many tags.

Mostly Programming and Xorg sections and dependencies.

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 " ">
9 <!ENTITY nettle-md5sum "29fcd2dec6bf5b48e5e3ffb3cbc4779e">
10 <!ENTITY nettle-size "2.3 MB">
11 <!ENTITY nettle-buildsize "95 MB (with tests)">
12 <!ENTITY nettle-time "0.2 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 &lfs121_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 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of Nettle</title>
80
81 <para>
82 Install <application>Nettle</application> by running the following
83 commands:
84 </para>
85
86<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
87make</userinput></screen>
88
89 <para>
90 To test the results, issue: <command>make check</command>.
91 </para>
92
93 <para>
94 Now, as the <systemitem class="username">root</systemitem> user:
95 </para>
96
97<screen role="root"><userinput>make install &amp;&amp;
98chmod -v 755 /usr/lib/lib{hogweed,nettle}.so &amp;&amp;
99install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
100install -v -m644 nettle.{html,pdf} /usr/share/doc/nettle-&nettle-version;</userinput></screen>
101
102 </sect2>
103
104 <sect2 role="commands">
105 <title>Command Explanations</title>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../../xincludes/static-libraries.xml"/>
109
110 </sect2>
111
112 <sect2 role="content">
113 <title>Contents</title>
114
115 <segmentedlist>
116 <segtitle>Installed Programs</segtitle>
117 <segtitle>Installed Libraries</segtitle>
118 <segtitle>Installed Directory</segtitle>
119
120 <seglistitem>
121 <seg>
122 nettle-hash, nettle-lfib-stream, nettle-pbkdf2,
123 pkcs1-conv and sexp-conv
124 </seg>
125 <seg>
126 libhogweed.so and libnettle.so
127 </seg>
128 <seg>
129 /usr/include/nettle and /usr/share/doc/nettle-&nettle-version;
130 </seg>
131 </seglistitem>
132 </segmentedlist>
133
134 <variablelist>
135 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
136 <?dbfo list-presentation="list"?>
137 <?dbhtml list-presentation="table"?>
138
139 <varlistentry id="nettle-hash">
140 <term><command>nettle-hash</command></term>
141 <listitem>
142 <para>
143 calculates a hash value using a specified algorithm
144 </para>
145 <indexterm zone="nettle nettle-hash">
146 <primary sortas="b-nettle-hash">nettle-hash</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="nettle-lfib-stream">
152 <term><command>nettle-lfib-stream</command></term>
153 <listitem>
154 <para>
155 outputs a sequence of pseudorandom (non-cryptographic) bytes,
156 using Knuth's lagged fibonacci generator. The stream is useful for
157 testing, but should not be used to generate cryptographic keys or
158 anything else that needs real randomness
159 </para>
160 <indexterm zone="nettle nettle-lfib-stream">
161 <primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="nettle-pbkdf2">
167 <term><command>nettle-pbkdf2</command></term>
168 <listitem>
169 <para>
170 is a password-based key derivation function that takes a password
171 or a passphrase as input and returns a strengthened password,
172 which is protected against pre-computation attacks by using
173 salting and other expensive computations.
174 </para>
175 <indexterm zone="nettle nettle-pbkdf2">
176 <primary sortas="b-nettle-pbkdf2">nettle-pbkdf2</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="pkcs1-conv">
182 <term><command>pkcs1-conv</command></term>
183 <listitem>
184 <para>
185 converts private and public RSA keys from PKCS #1 format to
186 sexp format
187 </para>
188 <indexterm zone="nettle pkcs1-conv">
189 <primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="sexp-conv">
195 <term><command>sexp-conv</command></term>
196 <listitem>
197 <para>
198 converts an s-expression to a different encoding
199 </para>
200 <indexterm zone="nettle sexp-conv">
201 <primary sortas="b-sexp-conv">sexp-conv</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.