From nobody Sun Dec 17 07:17:11 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4StDmR6KW2z54CZc; Sun, 17 Dec 2023 07:17:11 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4StDmR5Wdzz3SW7; Sun, 17 Dec 2023 07:17:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702797431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VawX1dPp7gw/pnOtxDtyqIPPqMy36oQYYNmRFy6ZrPw=; b=RjfSlv83/FUfEucfQechJNRjy0vO4qnuG9NZO9iifiQWpBYUE/OYhjShe+NO3RoRCz5Zsd d8Y2VyU0dpqXJ3xnLVL3oyCBqOZKoIk4n7MMragXeZXi/k4OHwqsTpZELimNa9XkwuaAAJ aoF/AfXibchqaUeXuTeisOPWpc+7Ub9mz/Oq2sYIqRgBVXWqm7XbpQ8aLnRDo9dVrXIxGc yEi/kfLjc89jK3mhf8xN7HQeLLN9U0ZgkkenhJKD1WndjoL3xWOgiXT983esCBaJQKQYY4 GSq1uB9EbAl2JKfswzn7ezRiUDPkLNGU9giBS+pEoBf94bzKYLIagsyE2FoGCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702797431; a=rsa-sha256; cv=none; b=MSRPgUe11DzXoj0pSdH/su1UhOZ40Vp4spk7FEU1/tAr+AMBy9+c655Q424OGflhjNVeaT eNh+V6yaphJ4PrMlcJnUazJr2j93X1jCwFr/xQUtpTloUD2Q3dlvt20eP+ykSIi2ga3aGD Vj+S4HxzgWTar/s/4suhVuoZx0efR8H2IewviYEMqhY3wVVZmAkmtS1uxsDE+rVhcdobNm M8H9p2PJRPNQq9ZoRf/pZgyLwAr4fTv+sxNV/Y7ZBEPGgpRNTDnau6P5XrqnzHTuFtGA/+ ohxUlUWOq/kTdfQZnKOTMOGCDsNnsnwwOjmMfSwNk7f9G7kJWcOvw/JrLdwpgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702797431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VawX1dPp7gw/pnOtxDtyqIPPqMy36oQYYNmRFy6ZrPw=; b=XglIOe3/t0pNOfRg1SgYwkCNSpyxnAGWGB88WGAffqgWf/Z6KfpIVy4sTeDtmA5+2ra9eK Fg7f3zJWDrUCEx+XQOXO85yQy169aXTMJLhsrHqLSgUNYuTzFLsUUqAzJZXjWtaOePvWRj y5gQi4YpSkd2YhIYnHNjGFX9ct79PpymepLcY1RJ5LErnavWaUHfSavkZenI4IIjtMt1/2 ybaEuwezGaC3eL63i5i2VCPrhCNZELMVIxoIpzwAuB+Qm5gpSBF+fHuQ041MIWp+eGV8NR NetcK5FVR+/byYTBxpRc+7FsmNSF4AZ88K3ZDsh9WjJenkgAozxM6di0raFU0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4StDmR4G3XzCw0; Sun, 17 Dec 2023 07:17:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BH7HBmd068613; Sun, 17 Dec 2023 07:17:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BH7HB3V068610; Sun, 17 Dec 2023 07:17:11 GMT (envelope-from git) Date: Sun, 17 Dec 2023 07:17:11 GMT Message-Id: <202312170717.3BH7HB3V068610@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8f94e4aaec0d - main - security/openfhe: update 1.0.4 =?utf-8?Q?=E2=86=92?= 1.1.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f94e4aaec0dbc90d3eb8a58e2029002895bae84 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f94e4aaec0dbc90d3eb8a58e2029002895bae84 commit 8f94e4aaec0dbc90d3eb8a58e2029002895bae84 Author: Yuri Victorovich AuthorDate: 2023-12-17 07:16:56 +0000 Commit: Yuri Victorovich CommitDate: 2023-12-17 07:17:07 +0000 security/openfhe: update 1.0.4 → 1.1.2 Reported by: portscout --- security/openfhe/Makefile | 2 +- security/openfhe/distinfo | 6 +- ...tch-src_core_include_math_hal_intnat_ubintnat.h | 11 ++-- security/openfhe/pkg-plist | 67 +++++++++++++++------- 4 files changed, 56 insertions(+), 30 deletions(-) diff --git a/security/openfhe/Makefile b/security/openfhe/Makefile index bf28990bbf8a..4182b169afca 100644 --- a/security/openfhe/Makefile +++ b/security/openfhe/Makefile @@ -1,6 +1,6 @@ PORTNAME= openfhe DISTVERSIONPREFIX= v -DISTVERSION= 1.0.4 +DISTVERSION= 1.1.2 CATEGORIES= security math MAINTAINER= yuri@FreeBSD.org diff --git a/security/openfhe/distinfo b/security/openfhe/distinfo index 1e754a33c0c1..54f74b804da4 100644 --- a/security/openfhe/distinfo +++ b/security/openfhe/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1687243053 -SHA256 (openfheorg-openfhe-development-v1.0.4_GH0.tar.gz) = 29ac6c0b95d5544eb53ebbae7583f3f2701c4c3db9084944a4adb033aed533b7 -SIZE (openfheorg-openfhe-development-v1.0.4_GH0.tar.gz) = 1905267 +TIMESTAMP = 1702792636 +SHA256 (openfheorg-openfhe-development-v1.1.2_GH0.tar.gz) = f728f040e33a3a4ecc8d08de66433882d157eb63870122e58240b825d57af707 +SIZE (openfheorg-openfhe-development-v1.1.2_GH0.tar.gz) = 1987229 SHA256 (openfheorg-cereal-984e3f1_GH0.tar.gz) = d79d6b97a53c1adb67a001d3b85a3f7396131bfefb09a64b6ea78fa5a17c5fc5 SIZE (openfheorg-cereal-984e3f1_GH0.tar.gz) = 386502 SHA256 (google-googletest-8b4817e_GH0.tar.gz) = 2707e4eecfb7ab19678c435e469c500e253c85236fc6a78e9fb5cb166f4d88d2 diff --git a/security/openfhe/files/patch-src_core_include_math_hal_intnat_ubintnat.h b/security/openfhe/files/patch-src_core_include_math_hal_intnat_ubintnat.h index 80ef4c33431c..cd99c0741a09 100644 --- a/security/openfhe/files/patch-src_core_include_math_hal_intnat_ubintnat.h +++ b/security/openfhe/files/patch-src_core_include_math_hal_intnat_ubintnat.h @@ -1,6 +1,6 @@ ---- src/core/include/math/hal/intnat/ubintnat.h.orig 2022-12-06 03:29:13 UTC +--- src/core/include/math/hal/intnat/ubintnat.h.orig 2023-12-16 19:03:47 UTC +++ src/core/include/math/hal/intnat/ubintnat.h -@@ -2152,17 +2152,17 @@ class NativeIntegerT : public lbcrypto::BigIntegerInte +@@ -1935,16 +1935,16 @@ class NativeIntegerT final : public lbcrypto::BigInteg res.lo = x.lo * y; asm("umulh %0, %1, %2\n\t" : "=r"(res.hi) : "r"(x.lo), "r"(y)); res.hi += x.hi * y; @@ -10,15 +10,14 @@ + wres = wa * wb; // should give us 128 bits of 64 * 64 + res.hi = (uint64_t)(wres >> 64); + res.lo = (uint64_t)wres; -+#elif defined(__arm__) || defined(__powerpc__) // 32 bit processor ++#elif defined(__arm__) || defined(__powerpc__) // 32 bit processor uint64_t wres(0), wa(a), wb(b); - - wres = wa * wb; // should give us the lower 64 bits of 32*32 + wres = wa * wb; res.hi = wres >> 32; res.lo = (uint32_t)wres & 0xFFFFFFFF; -#elif __riscv - U128BITS wres(0), wa(a), wb(b); -- wres = wa * wb; // should give us 128 bits of 64 * 64 +- wres = wa * wb; - res.hi = (uint64_t)(wres >> 64); - res.lo = (uint64_t)wres; #elif defined(__EMSCRIPTEN__) // web assembly diff --git a/security/openfhe/pkg-plist b/security/openfhe/pkg-plist index 043fa8ed6664..05b65ed440bd 100644 --- a/security/openfhe/pkg-plist +++ b/security/openfhe/pkg-plist @@ -7,13 +7,18 @@ include/openfhe/binfhe/binfhecontext.h include/openfhe/binfhe/lwe-ciphertext-fwd.h include/openfhe/binfhe/lwe-ciphertext.h include/openfhe/binfhe/lwe-cryptoparameters.h +include/openfhe/binfhe/lwe-keypair-fwd.h +include/openfhe/binfhe/lwe-keypair.h include/openfhe/binfhe/lwe-keyswitchkey-fwd.h include/openfhe/binfhe/lwe-keyswitchkey.h include/openfhe/binfhe/lwe-pke.h include/openfhe/binfhe/lwe-privatekey-fwd.h include/openfhe/binfhe/lwe-privatekey.h +include/openfhe/binfhe/lwe-publickey-fwd.h +include/openfhe/binfhe/lwe-publickey.h include/openfhe/binfhe/rgsw-acc-cggi.h include/openfhe/binfhe/rgsw-acc-dm.h +include/openfhe/binfhe/rgsw-acc-lmkcdey.h include/openfhe/binfhe/rgsw-acc.h include/openfhe/binfhe/rgsw-acckey.h include/openfhe/binfhe/rgsw-cryptoparameters.h @@ -112,33 +117,42 @@ include/openfhe/cereal/version.hpp include/openfhe/core/README.md include/openfhe/core/config_core.h include/openfhe/core/lattice/README.md +include/openfhe/core/lattice/constants-lattice.h +include/openfhe/core/lattice/dgsampling-impl.h include/openfhe/core/lattice/dgsampling.h -include/openfhe/core/lattice/elemparamfactory.h -include/openfhe/core/lattice/elemparams.h +include/openfhe/core/lattice/field2n-impl.h include/openfhe/core/lattice/field2n.h include/openfhe/core/lattice/hal/README.md include/openfhe/core/lattice/hal/dcrtpoly-interface.h +include/openfhe/core/lattice/hal/default/dcrtpoly-impl.h include/openfhe/core/lattice/hal/default/dcrtpoly.h -include/openfhe/core/lattice/hal/default/lat-backend-default.h -include/openfhe/core/lattice/ildcrtparams.h +include/openfhe/core/lattice/hal/default/ildcrtparams.h +include/openfhe/core/lattice/hal/default/ilparams.h +include/openfhe/core/lattice/hal/default/poly-impl.h +include/openfhe/core/lattice/hal/default/poly.h +include/openfhe/core/lattice/hal/elemparams.h +include/openfhe/core/lattice/hal/lat-backend.h +include/openfhe/core/lattice/hal/poly-interface.h include/openfhe/core/lattice/ilelement.h -include/openfhe/core/lattice/ilparams.h include/openfhe/core/lattice/lat-hal.h -include/openfhe/core/lattice/poly.h +include/openfhe/core/lattice/matrix-lattice-impl.h include/openfhe/core/lattice/stdlatticeparms.h +include/openfhe/core/lattice/trapdoor-impl.h include/openfhe/core/lattice/trapdoor.h include/openfhe/core/lattice/trapdoorparameters.h include/openfhe/core/math/README.md include/openfhe/core/math/SAMPLING_README.md +include/openfhe/core/math/binaryuniformgenerator-impl.h include/openfhe/core/math/binaryuniformgenerator.h include/openfhe/core/math/chebyshev.h include/openfhe/core/math/dftransform.h +include/openfhe/core/math/discretegaussiangenerator-impl.h include/openfhe/core/math/discretegaussiangenerator.h include/openfhe/core/math/discretegaussiangeneratorgeneric.h +include/openfhe/core/math/discreteuniformgenerator-impl.h include/openfhe/core/math/discreteuniformgenerator.h include/openfhe/core/math/distrgen.h include/openfhe/core/math/distributiongenerator.h -include/openfhe/core/math/hal.h include/openfhe/core/math/hal/basicint.h include/openfhe/core/math/hal/bigintbackend.h include/openfhe/core/math/hal/bigintdyn/backenddyn.h @@ -157,7 +171,6 @@ include/openfhe/core/math/hal/bigintntl/transformntl-impl.h include/openfhe/core/math/hal/bigintntl/transformntl.h include/openfhe/core/math/hal/bigintntl/ubintntl.h include/openfhe/core/math/hal/integer.h -include/openfhe/core/math/hal/intnat/backendnat.h include/openfhe/core/math/hal/intnat/mubintvecnat.h include/openfhe/core/math/hal/intnat/transformnat-impl.h include/openfhe/core/math/hal/intnat/transformnat.h @@ -165,10 +178,15 @@ include/openfhe/core/math/hal/intnat/ubintnat.h include/openfhe/core/math/hal/nativeintbackend.h include/openfhe/core/math/hal/transform.h include/openfhe/core/math/hal/vector.h +include/openfhe/core/math/math-hal.h include/openfhe/core/math/math_backends.md +include/openfhe/core/math/matrix-impl.h include/openfhe/core/math/matrix.h +include/openfhe/core/math/matrixstrassen-impl.h include/openfhe/core/math/matrixstrassen.h +include/openfhe/core/math/nbtheory-impl.h include/openfhe/core/math/nbtheory.h +include/openfhe/core/math/ternaryuniformgenerator-impl.h include/openfhe/core/math/ternaryuniformgenerator.h include/openfhe/core/openfhecore.h include/openfhe/core/testdefs.h @@ -188,12 +206,12 @@ include/openfhe/core/utils/caller_info.h include/openfhe/core/utils/debug.h include/openfhe/core/utils/demangle.h include/openfhe/core/utils/exception.h +include/openfhe/core/utils/get-call-stack.h include/openfhe/core/utils/hashutil.h include/openfhe/core/utils/inttypes.h include/openfhe/core/utils/memory.h include/openfhe/core/utils/openfhebase64.h include/openfhe/core/utils/parallel.h -include/openfhe/core/utils/parmfactory.h include/openfhe/core/utils/prng/CPPLINT.cfg include/openfhe/core/utils/prng/README.md include/openfhe/core/utils/prng/blake2-impl.h @@ -259,9 +277,9 @@ include/openfhe/pke/scheme/bfvrns/bfvrns-pke.h include/openfhe/pke/scheme/bfvrns/bfvrns-pre.h include/openfhe/pke/scheme/bfvrns/bfvrns-scheme.h include/openfhe/pke/scheme/bfvrns/bfvrns-ser.h -include/openfhe/pke/scheme/bfvrns/cryptocontext-bfvrns.h -include/openfhe/pke/scheme/bfvrns/cryptocontextparams-bfvrns.h include/openfhe/pke/scheme/bfvrns/gen-cryptocontext-bfvrns-internal.h +include/openfhe/pke/scheme/bfvrns/gen-cryptocontext-bfvrns-params.h +include/openfhe/pke/scheme/bfvrns/gen-cryptocontext-bfvrns.h include/openfhe/pke/scheme/bgvrns/bgvrns-advancedshe.h include/openfhe/pke/scheme/bgvrns/bgvrns-cryptoparameters.h include/openfhe/pke/scheme/bgvrns/bgvrns-fhe.h @@ -272,9 +290,9 @@ include/openfhe/pke/scheme/bgvrns/bgvrns-pke.h include/openfhe/pke/scheme/bgvrns/bgvrns-pre.h include/openfhe/pke/scheme/bgvrns/bgvrns-scheme.h include/openfhe/pke/scheme/bgvrns/bgvrns-ser.h -include/openfhe/pke/scheme/bgvrns/cryptocontext-bgvrns.h -include/openfhe/pke/scheme/bgvrns/cryptocontextparams-bgvrns.h include/openfhe/pke/scheme/bgvrns/gen-cryptocontext-bgvrns-internal.h +include/openfhe/pke/scheme/bgvrns/gen-cryptocontext-bgvrns-params.h +include/openfhe/pke/scheme/bgvrns/gen-cryptocontext-bgvrns.h include/openfhe/pke/scheme/ckksrns/README.md include/openfhe/pke/scheme/ckksrns/ckksrns-advancedshe.h include/openfhe/pke/scheme/ckksrns/ckksrns-cryptoparameters.h @@ -285,13 +303,14 @@ include/openfhe/pke/scheme/ckksrns/ckksrns-parametergeneration.h include/openfhe/pke/scheme/ckksrns/ckksrns-pke.h include/openfhe/pke/scheme/ckksrns/ckksrns-pre.h include/openfhe/pke/scheme/ckksrns/ckksrns-scheme.h +include/openfhe/pke/scheme/ckksrns/ckksrns-schemeswitching.h include/openfhe/pke/scheme/ckksrns/ckksrns-ser.h include/openfhe/pke/scheme/ckksrns/ckksrns-utils.h -include/openfhe/pke/scheme/ckksrns/cryptocontext-ckksrns.h -include/openfhe/pke/scheme/ckksrns/cryptocontextparams-ckksrns.h include/openfhe/pke/scheme/ckksrns/gen-cryptocontext-ckksrns-internal.h -include/openfhe/pke/scheme/cryptocontextparams-base.h -include/openfhe/pke/scheme/cryptocontextparams-defaults.h +include/openfhe/pke/scheme/ckksrns/gen-cryptocontext-ckksrns-params.h +include/openfhe/pke/scheme/ckksrns/gen-cryptocontext-ckksrns.h +include/openfhe/pke/scheme/gen-cryptocontext-params-defaults.h +include/openfhe/pke/scheme/gen-cryptocontext-params.h include/openfhe/pke/scheme/scheme-id.h include/openfhe/pke/scheme/scheme-utils.h include/openfhe/pke/schemebase/base-advancedshe.h @@ -316,16 +335,24 @@ include/openfhe/pke/schemerns/rns-pke.h include/openfhe/pke/schemerns/rns-pre.h include/openfhe/pke/schemerns/rns-scheme.h include/openfhe/pke/schemerns/rns-ser.h +include/openfhe/pke/unittest/utils/BaseTestCase.h +include/openfhe/pke/unittest/utils/UnitTestCCParams.h +include/openfhe/pke/unittest/utils/UnitTestCryptoContext.h +include/openfhe/pke/unittest/utils/UnitTestMetadataTest.h +include/openfhe/pke/unittest/utils/UnitTestMetadataTestSer.h +include/openfhe/pke/unittest/utils/UnitTestReadCSVData.h +include/openfhe/pke/unittest/utils/UnitTestSer.h +include/openfhe/pke/unittest/utils/UnitTestUtils.h lib/OpenFHE/OpenFHEConfig.cmake lib/OpenFHE/OpenFHEConfigVersion.cmake lib/OpenFHE/OpenFHETargets-%%CMAKE_BUILD_TYPE%%.cmake lib/OpenFHE/OpenFHETargets.cmake lib/libOPENFHEbinfhe.so lib/libOPENFHEbinfhe.so.1 -lib/libOPENFHEbinfhe.so.1.0.4 +lib/libOPENFHEbinfhe.so.1.1.2 lib/libOPENFHEcore.so lib/libOPENFHEcore.so.1 -lib/libOPENFHEcore.so.1.0.4 +lib/libOPENFHEcore.so.1.1.2 lib/libOPENFHEpke.so lib/libOPENFHEpke.so.1 -lib/libOPENFHEpke.so.1.0.4 +lib/libOPENFHEpke.so.1.1.2