Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2020 05:49:24 +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: r523202 - in head/security: . helib helib/files
Message-ID:  <202001160549.00G5nOAk070249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jan 16 05:49:23 2020
New Revision: 523202
URL: https://svnweb.freebsd.org/changeset/ports/523202

Log:
  New port: security/helib: Implementation of homomorphic encryption

Added:
  head/security/helib/
  head/security/helib/Makefile   (contents, props changed)
  head/security/helib/distinfo   (contents, props changed)
  head/security/helib/files/
  head/security/helib/files/patch-src_timing.cpp   (contents, props changed)
  head/security/helib/pkg-descr   (contents, props changed)
  head/security/helib/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Thu Jan 16 05:06:18 2020	(r523201)
+++ head/security/Makefile	Thu Jan 16 05:49:23 2020	(r523202)
@@ -209,6 +209,7 @@
     SUBDIR += hashcat
     SUBDIR += hashcat-legacy
     SUBDIR += heimdal
+    SUBDIR += helib
     SUBDIR += highwayhash
     SUBDIR += hitch
     SUBDIR += hlfl

Added: head/security/helib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/helib/Makefile	Thu Jan 16 05:49:23 2020	(r523202)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	helib
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.0
+CATEGORIES=	security
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Implementation of homomorphic encryption
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libgmp.so:math/gmp \
+		libntl.so:math/ntl
+
+USES=		cmake compiler:c++14-lang
+USE_GITHUB=	yes
+GH_ACCOUNT=	homenc
+GH_PROJECT=	HElib
+USE_LDCONFIG=	yes
+
+CMAKE_ON=	BUILD_SHARED
+
+.include <bsd.port.mk>

Added: head/security/helib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/helib/distinfo	Thu Jan 16 05:49:23 2020	(r523202)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1579152871
+SHA256 (homenc-HElib-v1.0.0_GH0.tar.gz) = 5b917a6ba1555be580db4c102a339abe124c284007f0044d637892ec85877214
+SIZE (homenc-HElib-v1.0.0_GH0.tar.gz) = 1564901

Added: head/security/helib/files/patch-src_timing.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/helib/files/patch-src_timing.cpp	Thu Jan 16 05:49:23 2020	(r523202)
@@ -0,0 +1,11 @@
+--- src/timing.cpp.orig	2020-01-16 05:36:23 UTC
++++ src/timing.cpp
+@@ -23,7 +23,7 @@ unsigned long GetTimerClock()
+   timespec ts;
+ 
+ 
+-  clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
++  clock_gettime(CLOCK_MONOTONIC, &ts);
+   //clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
+   //clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
+ 

Added: head/security/helib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/helib/pkg-descr	Thu Jan 16 05:49:23 2020	(r523202)
@@ -0,0 +1,10 @@
+HElib is a software library that implements homomorphic encryption (HE).
+Currently available schemes are the implementations of the
+Brakerski-Gentry-Vaikuntanathan (BGV) scheme with bootstrapping and the
+Approximate Number scheme of Cheon-Kim-Kim-Song (CKKS), along with many
+optimizations to make homomorphic evaluation run faster, focusing mostly
+on effective use of the Smart-Vercauteren ciphertext packing techniques
+and the Gentry-Halevi-Smart optimizations. See this report for a
+description of a few of the algorithms using in this library.
+
+WWW: https://github.com/homenc/HElib

Added: head/security/helib/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/helib/pkg-plist	Thu Jan 16 05:49:23 2020	(r523202)
@@ -0,0 +1,55 @@
+include/helib/ArgMap.h
+include/helib/CModulus.h
+include/helib/Context.h
+include/helib/CtPtrs.h
+include/helib/Ctxt.h
+include/helib/DoubleCRT.h
+include/helib/EncryptedArray.h
+include/helib/EvalMap.h
+include/helib/FHE.h
+include/helib/IndexMap.h
+include/helib/IndexSet.h
+include/helib/NumbTh.h
+include/helib/PAlgebra.h
+include/helib/PGFFT.h
+include/helib/PolyMod.h
+include/helib/PolyModRing.h
+include/helib/PtrMatrix.h
+include/helib/PtrVector.h
+include/helib/Ptxt.h
+include/helib/assertions.h
+include/helib/binaryArith.h
+include/helib/binaryCompare.h
+include/helib/binio.h
+include/helib/bluestein.h
+include/helib/clonedPtr.h
+include/helib/debugging.h
+include/helib/exceptions.h
+include/helib/fhe_stats.h
+include/helib/helib.h
+include/helib/hypercube.h
+include/helib/intraSlot.h
+include/helib/keySwitching.h
+include/helib/keys.h
+include/helib/matching.h
+include/helib/matmul.h
+include/helib/multicore.h
+include/helib/norms.h
+include/helib/permutations.h
+include/helib/polyEval.h
+include/helib/powerful.h
+include/helib/primeChain.h
+include/helib/randomMatrices.h
+include/helib/range.h
+include/helib/recryption.h
+include/helib/replicate.h
+include/helib/sample.h
+include/helib/tableLookup.h
+include/helib/timing.h
+include/helib/zzX.h
+lib/libhelib.so
+lib/libhelib.so.1.0.0
+share/cmake/helib/helibConfig.cmake
+share/cmake/helib/helibConfigVersion.cmake
+share/cmake/helib/helibTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/helib/helibTargets.cmake



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