CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 portsAll times are CET
Port details

devel/base64 0.5.2

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 0.5.2
Upstream
up to date
Last update
to 0.5.2 · 3e7e6de5f4
Quarterly
2026Q4: 0.5.2
WWW
https://github.com/aklomp/base64
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install libbase64
installs 0.5.2 from latest; from quarterly (2026Q4) 0.5.2
Port
# cd /usr/ports/devel/base64 && make install clean
Size
21 KiB download · 46 KiB installed
Depends on
nothing
License
BSD2CLAUSE

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.5.20.5.2–
FreeBSD 150.5.20.5.2–
FreeBSD 140.5.20.5.20.5.2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.5.20.5.2–
FreeBSD 140.5.20.5.20.5.2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.5.2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (3)

Po-Chuan Hsieh (sunpoet) · 0.5.2
devel/base64: Add missing USE_LDCONFIG
3e7e6de5f4
Po-Chuan Hsieh (sunpoet) · 0.5.2
devel/base64: Change PKGNAME to avoid conflict with converters/base64

Reported by:	antoine, makc
f554dcbcf2
Po-Chuan Hsieh (sunpoet) · 0.5.2
devel/base64: Add base64 0.5.2

This is an implementation of a base64 stream encoding/decoding library in C99
with SIMD (AVX2, AVX512, NEON, AArch64/NEON, SSSE3, SSE4.1, SSE4.2, AVX) and
OpenMP acceleration. It also contains wrapper functions to encode/decode simple
length-delimited strings. This library aims to be:
- FAST;
- easy to use;
- elegant.

On x86, the library does runtime feature detection. The first time it's called,
the library will determine the appropriate encoding/decoding routines for the
machine. It then remembers them for the lifetime of the program. If your
processor supports AVX2, SSSE3, SSE4.1, SSE4.2 or AVX instructions, the library
will pick an optimized codec that lets it encode/decode 12 or 24 bytes at a
time, which gives a speedup of four or more times compared to the "plain"
bytewise codec.

AVX512 support is only for encoding at present, utilizing the AVX512 VL and VBMI
instructions. Decoding part reused AVX2 implementations. For CPUs later than
Cannonlake (manufactured in 2018) supports these instructions.

NEON support is hardcoded to on or off at compile time, because portable runtime
feature detection is unavailable on ARM.

Even if your processor does not support SIMD instructions, this is a very fast
library. The fallback routine can process 32 or 64 bits of input in one round,
depending on your processor's word width, which still makes it significantly
faster than naive bytewise implementations. On some 64-bit machines, the 64-bit
routines even outperform the SSSE3 ones.
b3058e3621