diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-02-22 06:15:38 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-02-22 06:15:38 +0000 |
commit | e9eff1ff61d44c75981b0530519feebdd6c06526 (patch) | |
tree | 0c540ef2e878a9e1c4290c7d2fc53c8dbc22a724 /security | |
parent | d3f652601f6ac3ee61f3ad8f9e2d0154ffa134ae (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/nflib/Makefile | 26 | ||||
-rw-r--r-- | security/nflib/distinfo | 3 | ||||
-rw-r--r-- | security/nflib/pkg-descr | 8 | ||||
-rw-r--r-- | security/nflib/pkg-plist | 23 |
5 files changed, 61 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index e2b729f33e06..86392d126284 100644 --- a/security/Makefile +++ b/security/Makefile @@ -369,6 +369,7 @@ SUBDIR += nextcloud-passman SUBDIR += nextcloud-twofactor_totp SUBDIR += nextcloud-twofactor_u2f + SUBDIR += nflib SUBDIR += ngrok SUBDIR += nikto SUBDIR += nist-kat diff --git a/security/nflib/Makefile b/security/nflib/Makefile new file mode 100644 index 000000000000..3b76e0aae22e --- /dev/null +++ b/security/nflib/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= nflib +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0-23 +DISTVERSIONSUFFIX= -g5cf40ed +CATEGORIES= security math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= NTT-based fast lattice cryptography library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT_LICENSE.txt + +LIB_DEPENDS= libmpfr.so:math/mpfr \ + libgmp.so:math/gmp + +USES= cmake compiler:c++11-lang localbase +USE_GITHUB= yes +GH_ACCOUNT= quarkslab +GH_PROJECT= NFLlib +USE_LDCONFIG= yes + +TEST_TARGET= test + +.include <bsd.port.mk> diff --git a/security/nflib/distinfo b/security/nflib/distinfo new file mode 100644 index 000000000000..8f17620fae95 --- /dev/null +++ b/security/nflib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1582350929 +SHA256 (quarkslab-NFLlib-v1.0.0-23-g5cf40ed_GH0.tar.gz) = 092d397426846756fb915b7a54d2ce9bf70182542ed6573eeb4345f206af1c7f +SIZE (quarkslab-NFLlib-v1.0.0-23-g5cf40ed_GH0.tar.gz) = 126137 diff --git a/security/nflib/pkg-descr b/security/nflib/pkg-descr new file mode 100644 index 000000000000..17df5db03dca --- /dev/null +++ b/security/nflib/pkg-descr @@ -0,0 +1,8 @@ +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.) + +WWW: https://github.com/quarkslab/NFLlib diff --git a/security/nflib/pkg-plist b/security/nflib/pkg-plist new file mode 100644 index 000000000000..3792558ee374 --- /dev/null +++ b/security/nflib/pkg-plist @@ -0,0 +1,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 |