source: postlfs/security/nettle.xml@ 41b1383

12.0 12.1 gimp3 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 41b1383 was 09a464a, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Lots of tags and a typo fix in Nettle

  • Property mode set to 100644
File size: 6.3 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">
[f2a6409]9 <!ENTITY nettle-md5sum "e15c5fd5cc901f5dde6a271d7f2320d1">
[9ade54a3]10 <!ENTITY nettle-size "2.3 MB">
[f2a6409]11 <!ENTITY nettle-buildsize "90 MB (with tests)">
[09a464a]12 <!ENTITY nettle-time "0.1 SBU (with tests; both using parallelism=4)">
[0c6c35d]13]>
14
[5eaf9af8]15<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
[0c6c35d]16 <?dbhtml filename="nettle.html"?>
17
18
[5eaf9af8]19 <title>Nettle-&nettle-version;</title>
[0c6c35d]20
21 <indexterm zone="nettle">
[5eaf9af8]22 <primary sortas="a-Nettle">Nettle</primary>
[0c6c35d]23 </indexterm>
24
25 <sect2 role="package">
[5eaf9af8]26 <title>Introduction to Nettle</title>
[0c6c35d]27
[5eaf9af8]28 <para>
[4e0e3828]29 The <application>Nettle</application> package contains a low-level
[5eaf9af8]30 cryptographic library that is designed to fit easily in many contexts.
[0c6c35d]31 </para>
32
[09a464a]33 &lfs113_checked;
[0c6c35d]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
[5eaf9af8]38 <para>
39 Download (HTTP): <ulink url="&nettle-download-http;"/>
40 </para>
[0c6c35d]41 </listitem>
42 <listitem>
[5eaf9af8]43 <para>
44 Download (FTP): <ulink url="&nettle-download-ftp;"/>
45 </para>
[0c6c35d]46 </listitem>
47 <listitem>
[5eaf9af8]48 <para>
49 Download MD5 sum: &nettle-md5sum;
50 </para>
[0c6c35d]51 </listitem>
52 <listitem>
[5eaf9af8]53 <para>
54 Download size: &nettle-size;
55 </para>
[0c6c35d]56 </listitem>
57 <listitem>
[5eaf9af8]58 <para>
59 Estimated disk space required: &nettle-buildsize;
60 </para>
[0c6c35d]61 </listitem>
62 <listitem>
[5eaf9af8]63 <para>
64 Estimated build time: &nettle-time;
65 </para>
[0c6c35d]66 </listitem>
67 </itemizedlist>
[a2ce753]68
[4890200]69 <bridgehead renderas="sect3">Nettle Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
[a2ce753]73 <xref linkend="valgrind"/> (optional for the tests)
[4890200]74 </para>
[a2ce753]75
[0c6c35d]76 <para condition="html" role="usernotes">User Notes:
[5eaf9af8]77 <ulink url="&blfs-wiki;/nettle"/>
78 </para>
[0c6c35d]79 </sect2>
80
81 <sect2 role="installation">
[5eaf9af8]82 <title>Installation of Nettle</title>
[0c6c35d]83
[47274444]84 <para>
85 Install <application>Nettle</application> by running the following
86 commands:
87 </para>
[0c6c35d]88
[d45a8367]89<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[0c6c35d]90make</userinput></screen>
91
[5eaf9af8]92 <para>
93 To test the results, issue: <command>make check</command>.
94 </para>
[0d7900a]95
[5eaf9af8]96 <para>
97 Now, as the <systemitem class="username">root</systemitem> user:
98 </para>
[0c6c35d]99
100<screen role="root"><userinput>make install &amp;&amp;
[fd8f285]101chmod -v 755 /usr/lib/lib{hogweed,nettle}.so &amp;&amp;
[d45a8367]102install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
[0c6c35d]103install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
104
105 </sect2>
106
[d45a8367]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
[0c6c35d]115 <sect2 role="content">
116 <title>Contents</title>
117
118 <segmentedlist>
119 <segtitle>Installed Programs</segtitle>
[5eaf9af8]120 <segtitle>Installed Libraries</segtitle>
121 <segtitle>Installed Directory</segtitle>
[0c6c35d]122
123 <seglistitem>
[5eaf9af8]124 <seg>
[b9abcb5]125 nettle-hash, nettle-lfib-stream, nettle-pbkdf2,
126 pkcs1-conv and sexp-conv
[5eaf9af8]127 </seg>
128 <seg>
[d45a8367]129 libhogweed.so and libnettle.so
[5eaf9af8]130 </seg>
131 <seg>
[b9abcb5]132 /usr/include/nettle and /usr/share/doc/nettle-&nettle-version;
[5eaf9af8]133 </seg>
[0c6c35d]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>
[5eaf9af8]145 <para>
[4c24eb0a]146 calculates a hash value using a specified algorithm
[5eaf9af8]147 </para>
[0c6c35d]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>
[5eaf9af8]157 <para>
[b9abcb5]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
[4c24eb0a]161 anything else that needs real randomness
[5eaf9af8]162 </para>
[0c6c35d]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
[b9abcb5]169 <varlistentry id="nettle-pbkdf2">
170 <term><command>nettle-pbkdf2</command></term>
171 <listitem>
172 <para>
[a2ce753]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.
[b9abcb5]177 </para>
178 <indexterm zone="nettle nettle-pbkdf2">
179 <primary sortas="b-nettle-pbkdf2">nettle-pbkdf2</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
[0c6c35d]184 <varlistentry id="pkcs1-conv">
185 <term><command>pkcs1-conv</command></term>
186 <listitem>
[5eaf9af8]187 <para>
188 converts private and public RSA keys from PKCS #1 format to
[4c24eb0a]189 sexp format
[5eaf9af8]190 </para>
[0c6c35d]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>
[5eaf9af8]200 <para>
[4c24eb0a]201 converts an s-expression to a different encoding
[5eaf9af8]202 </para>
[0c6c35d]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.