notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
libhydrogen Lightweight, secure, easy-to-use crypto library for constrained environments
0.0.0.g20240509_1 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.0.0.g20240509Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-15 20:18:17
Last Update: 2024-12-11 17:29:05
Commit Hash: f26a053
License: ISCL
WWW:
https://github.com/jedisct1/libhydrogen
Description:
The Hydrogen library is a small, easy-to-use, hard-to-misuse cryptographic library. Features: - Consistent high-level API, inspired by libsodium. Instead of low-level primitives, it exposes simple functions to solve common problems that cryptography can solve. - 100% built using just two cryptographic building blocks: the Curve25519 elliptic curve, and the Gimli permutation. - Small and easy to audit. Implemented as one tiny file for every set of operation, and adding a single .c file to your project is all it takes to use libhydrogen in your project. - The whole code is released under a single, very liberal license (ISC). - Zero dynamic memory allocations and low stack requirements (median: 32 bytes, max: 128 bytes). This makes it usable in constrained environments such as microcontrollers. - Portable: written in standard C99. Supports Linux, *BSD, MacOS, Windows, and the Arduino IDE out of the box. - Can generate cryptographically-secure random numbers, even on Arduino boards. - Attempts to mitigate the implications of accidental misuse, even on systems with an unreliable PRG and/or no clock.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. /usr/local/share/licenses/libhydrogen-0.0.0.g20240509_1/catalog.mk
  2. /usr/local/share/licenses/libhydrogen-0.0.0.g20240509_1/LICENSE
  3. /usr/local/share/licenses/libhydrogen-0.0.0.g20240509_1/ISCL
  4. include/hydrogen.h
  5. lib/libhydrogen.a
  6. lib/libhydrogen.so
  7. share/cmake/hydrogen/hydrogen-config.cmake
  8. share/cmake/hydrogen/hydrogen-targets-release.cmake
  9. share/cmake/hydrogen/hydrogen-targets.cmake
  10. @owner
  11. @group
  12. @mode
Collapse this list.
Dependency lines:
  • libhydrogen>0:security/libhydrogen
To install the port:
cd /usr/ports/security/libhydrogen/ && make install clean
To add the package, run one of these commands:
  • pkg install security/libhydrogen
  • pkg install libhydrogen
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libhydrogen
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1726080915 SHA256 (jedisct1-libhydrogen-0.0.0.g20240509-c18e510_GH0.tar.gz) = 44e155d56a45cea83e7d838ad2b0c7757d83bcddff3d80663c510d77e365fc17 SIZE (jedisct1-libhydrogen-0.0.0.g20240509-c18e510_GH0.tar.gz) = 45819

Packages (timestamps in pop-ups are UTC):
libhydrogen
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.0.0.g20240509_10.0.0.g20240509_1--0.0.0.g20240509_1---
FreeBSD:13:quarterly0.0.0.g202405090.0.0.g20240509--0.0.0.g20240509---
FreeBSD:14:latest0.0.0.g20240509_10.0.0.g20240509_1--0.0.0.g20240509_1---
FreeBSD:14:quarterly0.0.0.g202405090.0.0.g20240509--0.0.0.g20240509---
FreeBSD:15:latest0.0.0.g20240509_10.0.0.g20240509_1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
security_libhydrogen
USES:
cmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/jedisct1/libhydrogen/tar.gz/c18e510?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.0.g20240509_1
11 Dec 2024 17:29:05
commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
security/libhydrogen: disable march=native, fixing build on non-amd64 / non-x86
0.0.0.g20240509
15 Sep 2024 20:09:33
commit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdb files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Add libhydrogen 0.0.0.g20240509

The Hydrogen library is a small, easy-to-use, hard-to-misuse cryptographic
library.

Features:
- Consistent high-level API, inspired by libsodium. Instead of low-level
  primitives, it exposes simple functions to solve common problems that
  cryptography can solve.
- 100% built using just two cryptographic building blocks: the Curve25519
  elliptic curve, and the Gimli permutation.
- Small and easy to audit. Implemented as one tiny file for every set of
  operation, and adding a single .c file to your project is all it takes to use
  libhydrogen in your project.
- The whole code is released under a single, very liberal license (ISC).
- Zero dynamic memory allocations and low stack requirements (median: 32 bytes,
  max: 128 bytes). This makes it usable in constrained environments such as
  microcontrollers.
- Portable: written in standard C99. Supports Linux, *BSD, MacOS, Windows, and
  the Arduino IDE out of the box.
- Can generate cryptographically-secure random numbers, even on Arduino boards.
- Attempts to mitigate the implications of accidental misuse, even on systems
  with an unreliable PRG and/or no clock.

Number of commits found: 2