security/nettle - The NetBSD Packages Collection

Cryptographic library

Nettle is a cryptographic library that is designed to fit easily in more
or less any context: In crypto toolkits for object-oriented languages
(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
kernel space. In most contexts, you need more than the basic
cryptographic algorithms, you also need some way to keep track of available
algorithms, their properties and variants. You often have some algorithm
selection process, often dictated by a protocol you want to implement.

And as the requirements of applications differ in subtle and not so
subtle ways, an API that fits one application well can be a pain to use
in a different context. And that is why there are so many different
cryptographic libraries around.

Nettle tries to avoid this problem by doing one thing, the low-level
crypto stuff, and providing a simple but general interface to it.
In particular, Nettle doesn't do algorithm selection. It doesn't do
memory allocation. It doesn't do any I/O.

The idea is that one can build several application and context specific
interfaces on top of Nettle, and share the code, test cases, benchmarks,
documentation, etc. Examples are the Nettle module for the Pike
language, and LSH, which both use an object-oriented abstraction on top
of the library.

Build dependencies

devel/libtool-base pkgtools/mktools devel/m4 devel/gmake pkgtools/cwrappers

Runtime dependencies

devel/gmp devel/gmp devel/gmp

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64nettle-3.9.1.tgz
NetBSD 10.0aarch64nettle-3.9.1.tgz
NetBSD 10.0aarch64nettle-3.9.1.tgz
NetBSD 10.0aarch64ebnettle-3.9.1.tgz
NetBSD 10.0aarch64ebnettle-3.9.1.tgz
NetBSD 10.0alphanettle-3.9.1.tgz
NetBSD 10.0earmv6hfnettle-3.9.1.tgz
NetBSD 10.0earmv6hfnettle-3.9.1.tgz
NetBSD 10.0earmv6hfnettle-3.9.1.tgz
NetBSD 10.0earmv7hfnettle-3.9.1.tgz
NetBSD 10.0earmv7hfnettle-3.9.1.tgz
NetBSD 10.0earmv7hfnettle-3.9.1.tgz
NetBSD 10.0i386nettle-3.9.1.tgz
NetBSD 10.0i386nettle-3.9.1.tgz
NetBSD 10.0m68knettle-3.9.1.tgz
NetBSD 10.0m68knettle-3.9.1.tgz
NetBSD 10.0powerpcnettle-3.9.1.tgz
NetBSD 10.0sh3elnettle-3.9.1.tgz
NetBSD 10.0sparcnettle-3.9.1.tgz
NetBSD 10.0vaxnettle-3.9.1.tgz
NetBSD 10.0vaxnettle-3.9.1.tgz
NetBSD 10.0x86_64nettle-3.9.1.tgz
NetBSD 10.0_BETAx86_64nettle-3.9.1.tgz
NetBSD 10.99.4riscv64nettle-3.8.1.tgz
NetBSD 8.0i386nettle-3.9.1.tgz
NetBSD 8.0i386nettle-3.9.1.tgz
NetBSD 8.0powerpcnettle-3.8.1.tgz
NetBSD 8.0powerpcnettle-3.9.1.tgz
NetBSD 8.0powerpcnettle-3.9.1.tgz
NetBSD 8.0powerpcnettle-3.9.1.tgz
NetBSD 8.0x86_64nettle-3.9.1.tgz
NetBSD 8.0x86_64nettle-3.9.1.tgz
NetBSD 8.0x86_64nettle-3.9.1.tgz
NetBSD 9.0aarch64nettle-3.9.1.tgz
NetBSD 9.0aarch64nettle-3.9.1.tgz
NetBSD 9.0aarch64nettle-3.9.1.tgz
NetBSD 9.0alphanettle-3.8.1.tgz
NetBSD 9.0alphanettle-3.9.1.tgz
NetBSD 9.0earmnettle-3.8.1.tgz
NetBSD 9.0earmv6hfnettle-3.9.1.tgz
NetBSD 9.0earmv6hfnettle-3.9.1.tgz
NetBSD 9.0earmv6hfnettle-3.9.1.tgz
NetBSD 9.0earmv7hfnettle-3.9.1.tgz
NetBSD 9.0earmv7hfnettle-3.9.1.tgz
NetBSD 9.0earmv7hfnettle-3.9.1.tgz
NetBSD 9.0i386nettle-3.9.1.tgz
NetBSD 9.0i386nettle-3.9.1.tgz
NetBSD 9.0m68knettle-3.8.1.tgz
NetBSD 9.0m68knettle-3.9.1.tgz
NetBSD 9.0m68knettle-3.9.1.tgz
NetBSD 9.0mips64ebnettle-3.8.1.tgz
NetBSD 9.0mipselnettle-3.8.1.tgz
NetBSD 9.0powerpcnettle-3.9.1.tgz
NetBSD 9.0powerpcnettle-3.8.1.tgz
NetBSD 9.0powerpcnettle-3.9.1.tgz
NetBSD 9.0powerpcnettle-3.9.1.tgz
NetBSD 9.0sh3elnettle-3.8.1.tgz
NetBSD 9.0sh3elnettle-3.9.1.tgz
NetBSD 9.0sparc64nettle-3.8.1.tgz
NetBSD 9.0sparcnettle-3.8.1.tgz
NetBSD 9.0sparcnettle-3.9.1.tgz
NetBSD 9.0vaxnettle-3.8.1.tgz
NetBSD 9.0vaxnettle-3.9.1.tgz
NetBSD 9.0vaxnettle-3.9.1.tgz
NetBSD 9.0x86_64nettle-3.9.1.tgz
NetBSD 9.0x86_64nettle-3.9.1.tgz
NetBSD 9.3x86_64nettle-3.9.1.tgz
NetBSD 9.3x86_64nettle-3.9.1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.