source: postlfs/security/nettle.xml@ 1353bb4

systemd-13485
Last change on this file since 1353bb4 was 1353bb4, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to LibRaw-0.17.2
Update to libevdev-1.5.1
Above merged from trunk r17363.
GCC6 Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17364 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 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 "https://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
8 <!ENTITY nettle-download-ftp "ftp://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
9 <!ENTITY nettle-md5sum "afb15b4764ebf1b4e6d06c62bd4d29e4">
10 <!ENTITY nettle-size "1.8 MB">
11 <!ENTITY nettle-buildsize "73 MB (with tests)">
12 <!ENTITY nettle-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
16 <?dbhtml filename="nettle.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Nettle-&nettle-version;</title>
24
25 <indexterm zone="nettle">
26 <primary sortas="a-Nettle">Nettle</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Nettle</title>
31
32 <para>
33 The <application>Nettle</application> package contains a low-level
34 cryptographic library that is designed to fit easily in many contexts.
35 </para>
36
37 &lfs79_checked;
38
39 &gcc6_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&nettle-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&nettle-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &nettle-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &nettle-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &nettle-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &nettle-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Nettle Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="openssl"/> (for examples)
80 </para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/nettle"/>
84 </para>
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of Nettle</title>
89
90 <para>Install <application>Nettle</application> by running the following
91 commands:</para>
92
93<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
94make</userinput></screen>
95
96 <para>
97 To test the results, issue: <command>make check</command>.
98 </para>
99
100 <para>
101 Now, as the <systemitem class="username">root</systemitem> user:
102 </para>
103
104<screen role="root"><userinput>make install &amp;&amp;
105chmod -v 755 /usr/lib/lib{hogweed,nettle}.so &amp;&amp;
106install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
107install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
108
109 </sect2>
110
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
119 <sect2 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
124 <segtitle>Installed Libraries</segtitle>
125 <segtitle>Installed Directory</segtitle>
126
127 <seglistitem>
128 <seg>
129 nettle-hash, nettle-lfib-stream, nettle-pbkdf2,
130 pkcs1-conv and sexp-conv
131 </seg>
132 <seg>
133 libhogweed.so and libnettle.so
134 </seg>
135 <seg>
136 /usr/include/nettle and /usr/share/doc/nettle-&nettle-version;
137 </seg>
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>
149 <para>
150 calulates a hash value using a specified algorithm.
151 </para>
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>
161 <para>
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.
166 </para>
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
173 <varlistentry id="nettle-pbkdf2">
174 <term><command>nettle-pbkdf2</command></term>
175 <listitem>
176 <para>
177 is a password-based key derivation function that takes as input a
178 password or passphrase and typically strengthens it and protects it
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
188 <varlistentry id="pkcs1-conv">
189 <term><command>pkcs1-conv</command></term>
190 <listitem>
191 <para>
192 converts private and public RSA keys from PKCS #1 format to
193 sexp format.
194 </para>
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>
204 <para>
205 converts an s-expression to a different encoding.
206 </para>
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.