Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2020 06:15:38 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526740 - in head/security: . nflib
Message-ID:  <202002220615.01M6FceM005215@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Feb 22 06:15:38 2020
New Revision: 526740
URL: https://svnweb.freebsd.org/changeset/ports/526740

Log:
  New port: security/nflib: NTT-based fast lattice cryptography library

Added:
  head/security/nflib/
  head/security/nflib/Makefile   (contents, props changed)
  head/security/nflib/distinfo   (contents, props changed)
  head/security/nflib/pkg-descr   (contents, props changed)
  head/security/nflib/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sat Feb 22 05:47:37 2020	(r526739)
+++ head/security/Makefile	Sat Feb 22 06:15:38 2020	(r526740)
@@ -369,6 +369,7 @@
     SUBDIR += nextcloud-passman
     SUBDIR += nextcloud-twofactor_totp
     SUBDIR += nextcloud-twofactor_u2f
+    SUBDIR += nflib
     SUBDIR += ngrok
     SUBDIR += nikto
     SUBDIR += nist-kat

Added: head/security/nflib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/nflib/Makefile	Sat Feb 22 06:15:38 2020	(r526740)
@@ -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>

Added: head/security/nflib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/nflib/distinfo	Sat Feb 22 06:15:38 2020	(r526740)
@@ -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

Added: head/security/nflib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/nflib/pkg-descr	Sat Feb 22 06:15:38 2020	(r526740)
@@ -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

Added: head/security/nflib/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/nflib/pkg-plist	Sat Feb 22 06:15:38 2020	(r526740)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002220615.01M6FceM005215>