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
| System | Port | Version |
|---|---|---|
| FreeBSD | security/nflib | 1.0.0.23_4 |
| DragonFly | security/nflib | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 1.0.0.23_4 | - | - | - |
| FreeBSD:14:quarterly | - | 1.0.0.23_4 | n/a | - | - |
| FreeBSD:15:latest | - | 1.0.0.23_4 | n/a | - | - |
| FreeBSD:15:quarterly | - | 1.0.0.23_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.0.0.23_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
as: devel/binutils
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
| File | Size | SHA256 |
|---|---|---|
| quarkslab-NFLlib-v1.0.0-23-g5cf40ed_GH0.tar.gz | 126137 | 092d397426846756fb915b7a54d2ce9bf70182542ed6573eeb4345f206af1c7f |