From owner-svn-ports-head@freebsd.org Sat Feb 22 06:15:39 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E8D52516BC; Sat, 22 Feb 2020 06:15:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PdNq3Zbmz4BLb; Sat, 22 Feb 2020 06:15:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7297A1F2C4; Sat, 22 Feb 2020 06:15:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01M6FdZl005219; Sat, 22 Feb 2020 06:15:39 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01M6FceM005215; Sat, 22 Feb 2020 06:15:38 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202002220615.01M6FceM005215@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 22 Feb 2020 06:15:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526740 - in head/security: . nflib X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/security: . nflib X-SVN-Commit-Revision: 526740 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 06:15:39 -0000 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 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