Nettle-3.4.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 4. Security

- Prev

  MIT Kerberos V5-1.17

- Next

  NSS-3.42.1

- Up
- Home

# Nettle-3.4.1

## Introduction to Nettle

The Nettle package contains a low-level cryptographic library that is designed to fit easily in many contexts.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/nettle/nettle-3.4.1.tar.gz

- Download (FTP): ftp://ftp.gnu.org/gnu/nettle/nettle-3.4.1.tar.gz

- Download MD5 sum: 9bdebb0e2f638d3b9d91f7fc264b70c1

- Download size: 1.9 MB

- Estimated disk space required: 71 MB (with tests)

- Estimated build time: 0.4 SBU (with tests)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nettle

## Installation of Nettle

Install Nettle by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install &&
    chmod   -v   755 /usr/lib/lib{hogweed,nettle}.so &&
    install -v -m755 -d /usr/share/doc/nettle-3.4.1 &&
    install -v -m644 nettle.html /usr/share/doc/nettle-3.4.1

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: nettle-hash, nettle-lfib-stream, nettle-pbkdf2, pkcs1-conv and sexp-conv
Installed Libraries: libhogweed.so and libnettle.so
Installed Directory: /usr/include/nettle and /usr/share/doc/nettle-3.4.1

### Short Descriptions

nettle-hash | calculates a hash value using a specified algorithm.
nettle-lfib-stream | outputs a sequence of pseudorandom (non-cryptographic) bytes, using Knuth's lagged fibonacci generator. The stream is useful for testing, but should not be used to generate cryptographic keys or anything else that needs real randomness.
nettle-pbkdf2 | password-based key derivation function that take as input a password or passphrase and typically strengthen it and protect against certain pre-computation attacks by using salting and expensive computation.
pkcs1-conv | converts private and public RSA keys from PKCS #1 format to sexp format.
sexp-conv | converts an s-expression to a different encoding.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  MIT Kerberos V5-1.17

- Next

  NSS-3.42.1

- Up
- Home