security/tfhe: 1.0.1-14 -> 1.0.1-30

This commit is contained in:
Yuri Victorovich 2020-07-15 23:48:59 +00:00
parent 86c493075a
commit 8a334ff133
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542294
3 changed files with 6 additions and 17 deletions

View File

@ -2,8 +2,8 @@
PORTNAME= tfhe
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1-14
DISTVERSIONSUFFIX= -g3319e2c
DISTVERSION= 1.0.1-30
DISTVERSIONSUFFIX= -ga085efe
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
@ -24,7 +24,7 @@ USE_LDCONFIG= yes
BINARY_ALIAS= make=${GMAKE}
TEST_TARGET= test
TEST_TARGET= test # -avx and -fma will fail where no such hardware optimization is available
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1570762763
SHA256 (tfhe-tfhe-v1.0.1-14-g3319e2c_GH0.tar.gz) = dcf3b8fb0c5528e1b38dc86bb732cba57a136cfe1de3f830ed2f4204a7251338
SIZE (tfhe-tfhe-v1.0.1-14-g3319e2c_GH0.tar.gz) = 153656
TIMESTAMP = 1594855889
SHA256 (tfhe-tfhe-v1.0.1-30-ga085efe_GH0.tar.gz) = 758890c75ca7c307fda39ed4d0c30da0c2c62a6da34ecc252d392ef40ebe63b5
SIZE (tfhe-tfhe-v1.0.1-30-ga085efe_GH0.tar.gz) = 155727

View File

@ -1,11 +0,0 @@
--- src/libtfhe/fft_processors/nayuki/fft_processor_nayuki.cpp.orig 2019-10-11 03:07:51 UTC
+++ src/libtfhe/fft_processors/nayuki/fft_processor_nayuki.cpp
@@ -12,7 +12,7 @@ FFT_Processor_nayuki::FFT_Processor_nayuki(const int32
tables_reverse = fft_init_reverse(_2N);
omegaxminus1 = (cplx*) malloc(sizeof(cplx) * _2N);
for (int32_t x=0; x<_2N; x++) {
- omegaxminus1[x]=cos(x*M_PI/N)-1. + sin(x*M_PI/N) * 1i;
+ omegaxminus1[x]=std::complex<double>(cos(x*M_PI/N)-1., sin(x*M_PI/N));
//exp(i.x.pi/N)-1
}
}