BSD Ports

security/nflib 1.0.0.23_4 FreeBSD

NTT-based fast lattice cryptography library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
70f20d6d43
License
MIT
Categories
security, math

Description

NFLlib is an efficient and open-source C++ library dedicated to ideal lattice cryptography. It is specialized in polynomial rings quotiented by a cyclotomic polynomial whose degree is a power of two. The library combines algorithmic optimizations (Chinese Remainder Theorem, optimized Number Theoretic Transform) together with programming optimization techniques (SSE and AVX2 specializations, C++ expression templates, etc.)

In the other systems

SystemPortVersion
FreeBSDsecurity/nflib1.0.0.23_4
DragonFlysecurity/nflib1.0.0.23_4

Install

Binary package:

pkg install nflib

From the ports tree:

cd /usr/ports/security/nflib/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nflib>0:security/nflib
LIB_DEPENDS=	libnfllib.so:security/nflib

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.0.0.23_4---
FreeBSD:14:quarterly-1.0.0.23_4n/a--
FreeBSD:15:latest-1.0.0.23_4n/a--
FreeBSD:15:quarterly-1.0.0.23_4n/an/an/a
FreeBSD:16:latest-1.0.0.23_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
cmake:testing compiler:c++11-lang localbase
Service scripts
none

Files

pkg-plist 23
  • include/nfl.hpp
  • include/nfl/algos.hpp
  • include/nfl/aligned_allocator.hpp
  • include/nfl/arch.hpp
  • include/nfl/arch/common.hpp
  • include/nfl/core.hpp
  • include/nfl/debug.hpp
  • include/nfl/gmp.hpp
  • include/nfl/meta.hpp
  • include/nfl/ops.hpp
  • include/nfl/opt/arch/avx2.hpp
  • include/nfl/opt/arch/sse.hpp
  • include/nfl/opt/ops.hpp
  • include/nfl/params.hpp
  • include/nfl/permut.hpp
  • include/nfl/poly.hpp
  • include/nfl/poly_p.hpp
  • include/nfl/prng/FastGaussianNoise.hpp
  • include/nfl/prng/crypto_stream_salsa20.h
  • include/nfl/prng/fastrandombytes.h
  • include/nfl/prng/randombytes.h
  • lib/libnfllib.so
  • lib/libnfllib_static.a
distinfo 1
FileSizeSHA256
quarkslab-NFLlib-v1.0.0-23-g5cf40ed_GH0.tar.gz126137092d397426846756fb915b7a54d2ce9bf70182542ed6573eeb4345f206af1c7f

Commit history 1

DateCommitCreditsLog message
70f20d6d43 Yuri Victorovich */*: CMake 4 compatibility
PR: 295319