diff options
Diffstat (limited to 'security/nflib')
-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 |
4 files changed, 60 insertions, 0 deletions
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 |