Wed Jun 5 19:06:07 2019 UTC ()
crypto++: updated to 8.2.0

Version 8.2.0
minor release, no recompile of programs required
expanded community input and support
56 unique contributors as of this release
use PowerPC unaligned loads and stores with Power8
add SKIPJACK test vectors
fix SHAKE-128 and SHAKE-256 compile
removed IS_NEON from Makefile
fix Aarch64 build on Fedora 29
fix missing GF2NT_233_Multiply_Reduce_CLMUL in FIPS DLL
add missing BLAKE2 constructors
fix missing BlockSize() in BLAKE2 classes

Version 8.1.0
minor release, no recompile of programs required
expanded community input and support
56 unique contributors as of this release
fix OS X PowerPC builds with Clang
add Microsoft ARM64 support
fix iPhone Simulator build due to missign symbols
add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE
add carryless multiplies for NIST b233 and k233 curves
fix OpenMP build due to use of OpenMP 4 with down-level compilers
add SignStream and VerifyStream for ed25519 and large files
fix missing AlgorithmProvider in PanamaHash
add SHAKE-128 and SHAKE-256
fix AVX2 build due to _mm256_broadcastsi128_si256
add IETF ChaCha, XChaCha, ChaChaPoly1305 and XChaChaPoly1305

Version 8.0.0
major release, recompile of programs required
expanded community input and support
54 unique contributors as of this release
add x25519 key exchange and ed25519 signature scheme
add limited Asymmetric Key Package support from RFC 5958
add Power9 DARN random number generator support
add CHAM, HC-128, HC-256, Hight, LEA, Rabbit, Simeck
fix FixedSizeAllocatorWithCleanup may be unaligned on some platforms
cutover to GNU Make-based cpu feature tests
rename files with dashes to underscores
fix LegacyDecryptor and LegacyDecryptorWithMAC use wrong MAC
fix incorrect AES/CBC decryption on Windows
avoid Singleton<T> when possible, avoid std::call_once completely
fix SPARC alignment problems due to GetAlignmentOf<T>() on word64
add ARM AES asm implementation from Cryptogams
remove CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS support


(adam)
diff -r1.22 -r1.23 pkgsrc/security/crypto++/Makefile
diff -r1.7 -r1.8 pkgsrc/security/crypto++/PLIST
diff -r1.12 -r1.13 pkgsrc/security/crypto++/distinfo
diff -r1.1 -r1.2 pkgsrc/security/crypto++/patches/patch-GNUmakefile

cvs diff -r1.22 -r1.23 pkgsrc/security/crypto++/Makefile (expand / switch to unified diff)

--- pkgsrc/security/crypto++/Makefile 2017/08/01 14:59:04 1.22
+++ pkgsrc/security/crypto++/Makefile 2019/06/05 19:06:07 1.23
@@ -1,24 +1,23 @@ @@ -1,24 +1,23 @@
1# $NetBSD: Makefile,v 1.22 2017/08/01 14:59:04 wiz Exp $ 1# $NetBSD: Makefile,v 1.23 2019/06/05 19:06:07 adam Exp $
2 2
3DISTNAME= cryptopp565 3DISTNAME= cryptopp820
4PKGNAME= cryptopp-5.6.5 4PKGNAME= cryptopp-8.2.0
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= ${HOMEPAGE} 6MASTER_SITES= ${HOMEPAGE}
7EXTRACT_SUFX= .zip 7EXTRACT_SUFX= .zip
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.cryptopp.com/ 10HOMEPAGE= https://www.cryptopp.com/
11COMMENT= Free C++ class library of Cryptographic Primitives 11COMMENT= Free C++ class library of Cryptographic Primitives
12LICENSE= boost-license 12LICENSE= boost-license
13 13
14USE_LANGUAGES= c++ 14USE_LANGUAGES= c++
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
16MAKE_FILE= GNUmakefile 16MAKE_FILE= GNUmakefile
17WRKSRC= ${WRKDIR} 17WRKSRC= ${WRKDIR}
18CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC 18CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC
19BUILD_TARGET= all static shared 
20 19
21post-install: 20post-install:
22 ${MV} ${DESTDIR}${PREFIX}/bin/cryptest.exe ${DESTDIR}${PREFIX}/bin/cryptest 21 ${MV} ${DESTDIR}${PREFIX}/bin/cryptest.exe ${DESTDIR}${PREFIX}/bin/cryptest
23 22
24.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/security/crypto++/PLIST (expand / switch to unified diff)

--- pkgsrc/security/crypto++/PLIST 2017/05/18 21:20:23 1.7
+++ pkgsrc/security/crypto++/PLIST 2019/06/05 19:06:07 1.8
@@ -1,175 +1,209 @@ @@ -1,175 +1,209 @@
1@comment $NetBSD: PLIST,v 1.7 2017/05/18 21:20:23 adam Exp $ 1@comment $NetBSD: PLIST,v 1.8 2019/06/05 19:06:07 adam Exp $
2bin/cryptest 2bin/cryptest
3include/cryptopp/3way.h 3include/cryptopp/3way.h
4include/cryptopp/adler32.h 4include/cryptopp/adler32.h
 5include/cryptopp/adv_simd.h
5include/cryptopp/aes.h 6include/cryptopp/aes.h
 7include/cryptopp/aes_armv4.h
6include/cryptopp/algebra.h 8include/cryptopp/algebra.h
7include/cryptopp/algparam.h 9include/cryptopp/algparam.h
8include/cryptopp/arc4.h 10include/cryptopp/arc4.h
9include/cryptopp/argnames.h 11include/cryptopp/argnames.h
 12include/cryptopp/aria.h
 13include/cryptopp/arm_simd.h
10include/cryptopp/asn.h 14include/cryptopp/asn.h
11include/cryptopp/authenc.h 15include/cryptopp/authenc.h
12include/cryptopp/base32.h 16include/cryptopp/base32.h
13include/cryptopp/base64.h 17include/cryptopp/base64.h
14include/cryptopp/basecode.h 18include/cryptopp/basecode.h
15include/cryptopp/bench.h 19include/cryptopp/bench.h
16include/cryptopp/blake2.h 20include/cryptopp/blake2.h
17include/cryptopp/blowfish.h 21include/cryptopp/blowfish.h
18include/cryptopp/blumshub.h 22include/cryptopp/blumshub.h
19include/cryptopp/camellia.h 23include/cryptopp/camellia.h
20include/cryptopp/cast.h 24include/cryptopp/cast.h
21include/cryptopp/cbcmac.h 25include/cryptopp/cbcmac.h
22include/cryptopp/ccm.h 26include/cryptopp/ccm.h
23include/cryptopp/chacha.h 27include/cryptopp/chacha.h
 28include/cryptopp/chachapoly.h
 29include/cryptopp/cham.h
24include/cryptopp/channels.h 30include/cryptopp/channels.h
25include/cryptopp/cmac.h 31include/cryptopp/cmac.h
26include/cryptopp/config.h 32include/cryptopp/config.h
27include/cryptopp/cpu.h 33include/cryptopp/cpu.h
28include/cryptopp/crc.h 34include/cryptopp/crc.h
29include/cryptopp/cryptlib.h 35include/cryptopp/cryptlib.h
 36include/cryptopp/darn.h
30include/cryptopp/default.h 37include/cryptopp/default.h
31include/cryptopp/des.h 38include/cryptopp/des.h
32include/cryptopp/dh.h 39include/cryptopp/dh.h
33include/cryptopp/dh2.h 40include/cryptopp/dh2.h
34include/cryptopp/dll.h 41include/cryptopp/dll.h
35include/cryptopp/dmac.h 42include/cryptopp/dmac.h
 43include/cryptopp/donna.h
 44include/cryptopp/donna_32.h
 45include/cryptopp/donna_64.h
 46include/cryptopp/donna_sse.h
 47include/cryptopp/drbg.h
36include/cryptopp/dsa.h 48include/cryptopp/dsa.h
37include/cryptopp/eax.h 49include/cryptopp/eax.h
38include/cryptopp/ec2n.h 50include/cryptopp/ec2n.h
39include/cryptopp/eccrypto.h 51include/cryptopp/eccrypto.h
40include/cryptopp/ecp.h 52include/cryptopp/ecp.h
 53include/cryptopp/ecpoint.h
41include/cryptopp/elgamal.h 54include/cryptopp/elgamal.h
42include/cryptopp/emsa2.h 55include/cryptopp/emsa2.h
43include/cryptopp/eprecomp.h 56include/cryptopp/eprecomp.h
44include/cryptopp/esign.h 57include/cryptopp/esign.h
45include/cryptopp/factory.h 58include/cryptopp/factory.h
46include/cryptopp/fhmqv.h 59include/cryptopp/fhmqv.h
47include/cryptopp/files.h 60include/cryptopp/files.h
48include/cryptopp/filters.h 61include/cryptopp/filters.h
49include/cryptopp/fips140.h 62include/cryptopp/fips140.h
50include/cryptopp/fltrimpl.h 63include/cryptopp/fltrimpl.h
51include/cryptopp/gcm.h 64include/cryptopp/gcm.h
52include/cryptopp/gf256.h 65include/cryptopp/gf256.h
53include/cryptopp/gf2_32.h 66include/cryptopp/gf2_32.h
54include/cryptopp/gf2n.h 67include/cryptopp/gf2n.h
55include/cryptopp/gfpcrypt.h 68include/cryptopp/gfpcrypt.h
56include/cryptopp/gost.h 69include/cryptopp/gost.h
57include/cryptopp/gzip.h 70include/cryptopp/gzip.h
 71include/cryptopp/hashfwd.h
 72include/cryptopp/hc128.h
 73include/cryptopp/hc256.h
58include/cryptopp/hex.h 74include/cryptopp/hex.h
 75include/cryptopp/hight.h
59include/cryptopp/hkdf.h 76include/cryptopp/hkdf.h
60include/cryptopp/hmac.h 77include/cryptopp/hmac.h
61include/cryptopp/hmqv.h 78include/cryptopp/hmqv.h
62include/cryptopp/hrtimer.h 79include/cryptopp/hrtimer.h
63include/cryptopp/ida.h 80include/cryptopp/ida.h
64include/cryptopp/idea.h 81include/cryptopp/idea.h
65include/cryptopp/integer.h 82include/cryptopp/integer.h
66include/cryptopp/iterhash.h 83include/cryptopp/iterhash.h
 84include/cryptopp/kalyna.h
67include/cryptopp/keccak.h 85include/cryptopp/keccak.h
 86include/cryptopp/lea.h
68include/cryptopp/lubyrack.h 87include/cryptopp/lubyrack.h
69include/cryptopp/luc.h 88include/cryptopp/luc.h
70include/cryptopp/mars.h 89include/cryptopp/mars.h
71include/cryptopp/md2.h 90include/cryptopp/md2.h
72include/cryptopp/md4.h 91include/cryptopp/md4.h
73include/cryptopp/md5.h 92include/cryptopp/md5.h
74include/cryptopp/mdc.h 93include/cryptopp/mdc.h
75include/cryptopp/mersenne.h 94include/cryptopp/mersenne.h
76include/cryptopp/misc.h 95include/cryptopp/misc.h
77include/cryptopp/modarith.h 96include/cryptopp/modarith.h
78include/cryptopp/modes.h 97include/cryptopp/modes.h
79include/cryptopp/modexppc.h 98include/cryptopp/modexppc.h
80include/cryptopp/mqueue.h 99include/cryptopp/mqueue.h
81include/cryptopp/mqv.h 100include/cryptopp/mqv.h
 101include/cryptopp/naclite.h
82include/cryptopp/nbtheory.h 102include/cryptopp/nbtheory.h
83include/cryptopp/network.h 
84include/cryptopp/nr.h 103include/cryptopp/nr.h
85include/cryptopp/oaep.h 104include/cryptopp/oaep.h
86include/cryptopp/oids.h 105include/cryptopp/oids.h
87include/cryptopp/osrng.h 106include/cryptopp/osrng.h
88include/cryptopp/ossig.h 107include/cryptopp/ossig.h
 108include/cryptopp/padlkrng.h
89include/cryptopp/panama.h 109include/cryptopp/panama.h
90include/cryptopp/pch.h 110include/cryptopp/pch.h
91include/cryptopp/pkcspad.h 111include/cryptopp/pkcspad.h
 112include/cryptopp/poly1305.h
92include/cryptopp/polynomi.h 113include/cryptopp/polynomi.h
 114include/cryptopp/ppc_simd.h
93include/cryptopp/pssr.h 115include/cryptopp/pssr.h
94include/cryptopp/pubkey.h 116include/cryptopp/pubkey.h
95include/cryptopp/pwdbased.h 117include/cryptopp/pwdbased.h
96include/cryptopp/queue.h 118include/cryptopp/queue.h
 119include/cryptopp/rabbit.h
97include/cryptopp/rabin.h 120include/cryptopp/rabin.h
98include/cryptopp/randpool.h 121include/cryptopp/randpool.h
99include/cryptopp/rc2.h 122include/cryptopp/rc2.h
100include/cryptopp/rc5.h 123include/cryptopp/rc5.h
101include/cryptopp/rc6.h 124include/cryptopp/rc6.h
102include/cryptopp/rdrand.h 125include/cryptopp/rdrand.h
103include/cryptopp/resource.h 126include/cryptopp/resource.h
104include/cryptopp/rijndael.h 127include/cryptopp/rijndael.h
105include/cryptopp/ripemd.h 128include/cryptopp/ripemd.h
106include/cryptopp/rng.h 129include/cryptopp/rng.h
107include/cryptopp/rsa.h 130include/cryptopp/rsa.h
108include/cryptopp/rw.h 131include/cryptopp/rw.h
109include/cryptopp/safer.h 132include/cryptopp/safer.h
110include/cryptopp/salsa.h 133include/cryptopp/salsa.h
 134include/cryptopp/scrypt.h
111include/cryptopp/seal.h 135include/cryptopp/seal.h
112include/cryptopp/secblock.h 136include/cryptopp/secblock.h
113include/cryptopp/seckey.h 137include/cryptopp/seckey.h
114include/cryptopp/seed.h 138include/cryptopp/seed.h
115include/cryptopp/serpent.h 139include/cryptopp/serpent.h
116include/cryptopp/serpentp.h 140include/cryptopp/serpentp.h
117include/cryptopp/sha.h 141include/cryptopp/sha.h
118include/cryptopp/sha3.h 142include/cryptopp/sha3.h
119include/cryptopp/shacal2.h 143include/cryptopp/shacal2.h
 144include/cryptopp/shake.h
120include/cryptopp/shark.h 145include/cryptopp/shark.h
 146include/cryptopp/simeck.h
 147include/cryptopp/simon.h
121include/cryptopp/simple.h 148include/cryptopp/simple.h
 149include/cryptopp/siphash.h
122include/cryptopp/skipjack.h 150include/cryptopp/skipjack.h
 151include/cryptopp/sm3.h
 152include/cryptopp/sm4.h
123include/cryptopp/smartptr.h 153include/cryptopp/smartptr.h
124include/cryptopp/socketft.h 
125include/cryptopp/sosemanuk.h 154include/cryptopp/sosemanuk.h
 155include/cryptopp/speck.h
126include/cryptopp/square.h 156include/cryptopp/square.h
127include/cryptopp/stdcpp.h 157include/cryptopp/stdcpp.h
128include/cryptopp/strciphr.h 158include/cryptopp/strciphr.h
129include/cryptopp/tea.h 159include/cryptopp/tea.h
 160include/cryptopp/threefish.h
130include/cryptopp/tiger.h 161include/cryptopp/tiger.h
131include/cryptopp/trap.h 162include/cryptopp/trap.h
132include/cryptopp/trdlocal.h 
133include/cryptopp/trunhash.h 163include/cryptopp/trunhash.h
134include/cryptopp/ttmac.h 164include/cryptopp/ttmac.h
 165include/cryptopp/tweetnacl.h
135include/cryptopp/twofish.h 166include/cryptopp/twofish.h
136include/cryptopp/validate.h 167include/cryptopp/validate.h
137include/cryptopp/vmac.h 168include/cryptopp/vmac.h
138include/cryptopp/wait.h 
139include/cryptopp/wake.h 169include/cryptopp/wake.h
140include/cryptopp/whrlpool.h 170include/cryptopp/whrlpool.h
141include/cryptopp/winpipes.h 
142include/cryptopp/words.h 171include/cryptopp/words.h
 172include/cryptopp/xed25519.h
143include/cryptopp/xtr.h 173include/cryptopp/xtr.h
144include/cryptopp/xtrcrypt.h 174include/cryptopp/xtrcrypt.h
145include/cryptopp/zdeflate.h 175include/cryptopp/zdeflate.h
146include/cryptopp/zinflate.h 176include/cryptopp/zinflate.h
147include/cryptopp/zlib.h 177include/cryptopp/zlib.h
148lib/libcryptopp.a 178lib/libcryptopp.a
149lib/libcryptopp.so 179lib/libcryptopp.so
150share/cryptopp/TestData/3desval.dat 180share/cryptopp/TestData/3desval.dat
151share/cryptopp/TestData/3wayval.dat 181share/cryptopp/TestData/3wayval.dat
 182share/cryptopp/TestData/aria.dat
152share/cryptopp/TestData/camellia.dat 183share/cryptopp/TestData/camellia.dat
153share/cryptopp/TestData/cast128v.dat 184share/cryptopp/TestData/cast128v.dat
154share/cryptopp/TestData/cast256v.dat 185share/cryptopp/TestData/cast256v.dat
155share/cryptopp/TestData/descert.dat 186share/cryptopp/TestData/descert.dat
156share/cryptopp/TestData/dh1024.dat 187share/cryptopp/TestData/dh1024.dat
157share/cryptopp/TestData/dh2048.dat 188share/cryptopp/TestData/dh2048.dat
158share/cryptopp/TestData/dlie1024.dat 189share/cryptopp/TestData/dlie1024.dat
159share/cryptopp/TestData/dlie2048.dat 190share/cryptopp/TestData/dlie2048.dat
160share/cryptopp/TestData/dsa1024.dat 191share/cryptopp/TestData/dsa1024.dat
161share/cryptopp/TestData/dsa1024b.dat 192share/cryptopp/TestData/dsa1024b.dat
162share/cryptopp/TestData/dsa512.dat 193share/cryptopp/TestData/dsa512.dat
 194share/cryptopp/TestData/ed25519.dat
 195share/cryptopp/TestData/ed25519v0.dat
 196share/cryptopp/TestData/ed25519v1.dat
163share/cryptopp/TestData/elgc1024.dat 197share/cryptopp/TestData/elgc1024.dat
164share/cryptopp/TestData/esig1023.dat 198share/cryptopp/TestData/esig1023.dat
165share/cryptopp/TestData/esig1536.dat 199share/cryptopp/TestData/esig1536.dat
166share/cryptopp/TestData/esig2046.dat 200share/cryptopp/TestData/esig2046.dat
167share/cryptopp/TestData/fhmqv160.dat 201share/cryptopp/TestData/fhmqv160.dat
168share/cryptopp/TestData/fhmqv256.dat 202share/cryptopp/TestData/fhmqv256.dat
169share/cryptopp/TestData/fhmqv384.dat 203share/cryptopp/TestData/fhmqv384.dat
170share/cryptopp/TestData/fhmqv512.dat 204share/cryptopp/TestData/fhmqv512.dat
171share/cryptopp/TestData/gostval.dat 205share/cryptopp/TestData/gostval.dat
172share/cryptopp/TestData/hmqv160.dat 206share/cryptopp/TestData/hmqv160.dat
173share/cryptopp/TestData/hmqv256.dat 207share/cryptopp/TestData/hmqv256.dat
174share/cryptopp/TestData/hmqv384.dat 208share/cryptopp/TestData/hmqv384.dat
175share/cryptopp/TestData/hmqv512.dat 209share/cryptopp/TestData/hmqv512.dat
@@ -185,71 +219,107 @@ share/cryptopp/TestData/lucs512.dat @@ -185,71 +219,107 @@ share/cryptopp/TestData/lucs512.dat
185share/cryptopp/TestData/marsval.dat 219share/cryptopp/TestData/marsval.dat
186share/cryptopp/TestData/mqv1024.dat 220share/cryptopp/TestData/mqv1024.dat
187share/cryptopp/TestData/mqv2048.dat 221share/cryptopp/TestData/mqv2048.dat
188share/cryptopp/TestData/nr1024.dat 222share/cryptopp/TestData/nr1024.dat
189share/cryptopp/TestData/nr2048.dat 223share/cryptopp/TestData/nr2048.dat
190share/cryptopp/TestData/rabi1024.dat 224share/cryptopp/TestData/rabi1024.dat
191share/cryptopp/TestData/rabi2048.dat 225share/cryptopp/TestData/rabi2048.dat
192share/cryptopp/TestData/rc2val.dat 226share/cryptopp/TestData/rc2val.dat
193share/cryptopp/TestData/rc5val.dat 227share/cryptopp/TestData/rc5val.dat
194share/cryptopp/TestData/rc6val.dat 228share/cryptopp/TestData/rc6val.dat
195share/cryptopp/TestData/rijndael.dat 229share/cryptopp/TestData/rijndael.dat
196share/cryptopp/TestData/rsa1024.dat 230share/cryptopp/TestData/rsa1024.dat
197share/cryptopp/TestData/rsa2048.dat 231share/cryptopp/TestData/rsa2048.dat
 232share/cryptopp/TestData/rsa2048a.dat
198share/cryptopp/TestData/rsa400pb.dat 233share/cryptopp/TestData/rsa400pb.dat
199share/cryptopp/TestData/rsa400pv.dat 234share/cryptopp/TestData/rsa400pv.dat
200share/cryptopp/TestData/rsa512a.dat 235share/cryptopp/TestData/rsa512a.dat
201share/cryptopp/TestData/rw1024.dat 236share/cryptopp/TestData/rw1024.dat
202share/cryptopp/TestData/rw2048.dat 237share/cryptopp/TestData/rw2048.dat
203share/cryptopp/TestData/saferval.dat 238share/cryptopp/TestData/saferval.dat
204share/cryptopp/TestData/serpentv.dat 239share/cryptopp/TestData/serpentv.dat
205share/cryptopp/TestData/shacal2v.dat 240share/cryptopp/TestData/shacal2v.dat
206share/cryptopp/TestData/sharkval.dat 241share/cryptopp/TestData/sharkval.dat
207share/cryptopp/TestData/skipjack.dat 242share/cryptopp/TestData/skipjack.dat
208share/cryptopp/TestData/squareva.dat 243share/cryptopp/TestData/squareva.dat
209share/cryptopp/TestData/twofishv.dat 244share/cryptopp/TestData/twofishv.dat
210share/cryptopp/TestData/usage.dat 245share/cryptopp/TestData/usage.dat
 246share/cryptopp/TestData/x25519.dat
 247share/cryptopp/TestData/x25519v0.dat
 248share/cryptopp/TestData/x25519v1.dat
211share/cryptopp/TestData/xtrdh171.dat 249share/cryptopp/TestData/xtrdh171.dat
212share/cryptopp/TestData/xtrdh342.dat 250share/cryptopp/TestData/xtrdh342.dat
213share/cryptopp/TestVectors/Readme.txt 251share/cryptopp/TestVectors/Readme.txt
 252share/cryptopp/TestVectors/aead.txt
214share/cryptopp/TestVectors/aes.txt 253share/cryptopp/TestVectors/aes.txt
215share/cryptopp/TestVectors/all.txt 254share/cryptopp/TestVectors/all.txt
 255share/cryptopp/TestVectors/aria.txt
216share/cryptopp/TestVectors/blake2.txt 256share/cryptopp/TestVectors/blake2.txt
217share/cryptopp/TestVectors/blake2b.txt 257share/cryptopp/TestVectors/blake2b.txt
218share/cryptopp/TestVectors/blake2s.txt 258share/cryptopp/TestVectors/blake2s.txt
219share/cryptopp/TestVectors/camellia.txt 259share/cryptopp/TestVectors/camellia.txt
220share/cryptopp/TestVectors/ccm.txt 260share/cryptopp/TestVectors/ccm.txt
221share/cryptopp/TestVectors/chacha.txt 261share/cryptopp/TestVectors/chacha.txt
 262share/cryptopp/TestVectors/chacha20poly1305.txt
 263share/cryptopp/TestVectors/chacha_tls.txt
 264share/cryptopp/TestVectors/cham.txt
222share/cryptopp/TestVectors/cmac.txt 265share/cryptopp/TestVectors/cmac.txt
223share/cryptopp/TestVectors/dlies.txt 266share/cryptopp/TestVectors/dlies.txt
224share/cryptopp/TestVectors/dsa.txt 267share/cryptopp/TestVectors/dsa.txt
225share/cryptopp/TestVectors/dsa_1363.txt 268share/cryptopp/TestVectors/dsa_1363.txt
226share/cryptopp/TestVectors/dsa_rfc6979.txt 269share/cryptopp/TestVectors/dsa_rfc6979.txt
227share/cryptopp/TestVectors/eax.txt 270share/cryptopp/TestVectors/eax.txt
228share/cryptopp/TestVectors/esign.txt 271share/cryptopp/TestVectors/esign.txt
229share/cryptopp/TestVectors/gcm.txt 272share/cryptopp/TestVectors/gcm.txt
 273share/cryptopp/TestVectors/hc128.txt
 274share/cryptopp/TestVectors/hc256.txt
 275share/cryptopp/TestVectors/hight.txt
230share/cryptopp/TestVectors/hkdf.txt 276share/cryptopp/TestVectors/hkdf.txt
231share/cryptopp/TestVectors/hmac.txt 277share/cryptopp/TestVectors/hmac.txt
 278share/cryptopp/TestVectors/kalyna.txt
232share/cryptopp/TestVectors/keccak.txt 279share/cryptopp/TestVectors/keccak.txt
 280share/cryptopp/TestVectors/lea.txt
233share/cryptopp/TestVectors/mars.txt 281share/cryptopp/TestVectors/mars.txt
234share/cryptopp/TestVectors/nr.txt 282share/cryptopp/TestVectors/nr.txt
235share/cryptopp/TestVectors/panama.txt 283share/cryptopp/TestVectors/panama.txt
 284share/cryptopp/TestVectors/poly1305_tls.txt
 285share/cryptopp/TestVectors/poly1305aes.txt
 286share/cryptopp/TestVectors/rabbit.txt
236share/cryptopp/TestVectors/rsa_oaep.txt 287share/cryptopp/TestVectors/rsa_oaep.txt
237share/cryptopp/TestVectors/rsa_pkcs1_1_5.txt 288share/cryptopp/TestVectors/rsa_pkcs1_1_5.txt
238share/cryptopp/TestVectors/rsa_pss.txt 289share/cryptopp/TestVectors/rsa_pss.txt
239share/cryptopp/TestVectors/rw.txt 290share/cryptopp/TestVectors/rw.txt
240share/cryptopp/TestVectors/salsa.txt 291share/cryptopp/TestVectors/salsa.txt
241share/cryptopp/TestVectors/seal.txt 292share/cryptopp/TestVectors/seal.txt
242share/cryptopp/TestVectors/seed.txt 293share/cryptopp/TestVectors/seed.txt
243share/cryptopp/TestVectors/sha.txt 294share/cryptopp/TestVectors/sha.txt
 295share/cryptopp/TestVectors/sha1_160_fips_180.txt
 296share/cryptopp/TestVectors/sha1_fips_180.txt
 297share/cryptopp/TestVectors/sha2.txt
 298share/cryptopp/TestVectors/sha2_224_fips_180.txt
 299share/cryptopp/TestVectors/sha2_256_fips_180.txt
 300share/cryptopp/TestVectors/sha2_384_fips_180.txt
 301share/cryptopp/TestVectors/sha2_512_fips_180.txt
 302share/cryptopp/TestVectors/sha2_fips_180.txt
 303share/cryptopp/TestVectors/sha3.txt
244share/cryptopp/TestVectors/sha3_224_fips_202.txt 304share/cryptopp/TestVectors/sha3_224_fips_202.txt
245share/cryptopp/TestVectors/sha3_256_fips_202.txt 305share/cryptopp/TestVectors/sha3_256_fips_202.txt
246share/cryptopp/TestVectors/sha3_384_fips_202.txt 306share/cryptopp/TestVectors/sha3_384_fips_202.txt
247share/cryptopp/TestVectors/sha3_512_fips_202.txt 307share/cryptopp/TestVectors/sha3_512_fips_202.txt
248share/cryptopp/TestVectors/sha3_fips_202.txt 308share/cryptopp/TestVectors/sha3_fips_202.txt
249share/cryptopp/TestVectors/shacal2.txt 309share/cryptopp/TestVectors/shacal2.txt
 310share/cryptopp/TestVectors/shake.txt
 311share/cryptopp/TestVectors/simeck.txt
 312share/cryptopp/TestVectors/simon.txt
 313share/cryptopp/TestVectors/siphash.txt
 314share/cryptopp/TestVectors/skipjack.txt
 315share/cryptopp/TestVectors/sm3.txt
 316share/cryptopp/TestVectors/sm4.txt
250share/cryptopp/TestVectors/sosemanuk.txt 317share/cryptopp/TestVectors/sosemanuk.txt
 318share/cryptopp/TestVectors/speck.txt
251share/cryptopp/TestVectors/tea.txt 319share/cryptopp/TestVectors/tea.txt
 320share/cryptopp/TestVectors/threefish.txt
252share/cryptopp/TestVectors/ttmac.txt 321share/cryptopp/TestVectors/ttmac.txt
253share/cryptopp/TestVectors/vmac.txt 322share/cryptopp/TestVectors/vmac.txt
254share/cryptopp/TestVectors/wake.txt 323share/cryptopp/TestVectors/wake.txt
255share/cryptopp/TestVectors/whrlpool.txt 324share/cryptopp/TestVectors/whrlpool.txt
 325share/cryptopp/TestVectors/xchacha.txt

cvs diff -r1.12 -r1.13 pkgsrc/security/crypto++/distinfo (expand / switch to unified diff)

--- pkgsrc/security/crypto++/distinfo 2017/05/18 21:20:23 1.12
+++ pkgsrc/security/crypto++/distinfo 2019/06/05 19:06:07 1.13
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.12 2017/05/18 21:20:23 adam Exp $ 1$NetBSD: distinfo,v 1.13 2019/06/05 19:06:07 adam Exp $
2 2
3SHA1 (cryptopp565.zip) = a74f207a315b6a133af9640a45bde9d6e378af4d 3SHA1 (cryptopp820.zip) = b042d2f0c93410abdec7c12bcd92787d019f8da1
4RMD160 (cryptopp565.zip) = 4c13bb99dd205d54598527386e88b0dd436fc524 4RMD160 (cryptopp820.zip) = cdb5f1b9152cfccc35c5cca3027437e60cf63dea
5SHA512 (cryptopp565.zip) = f13718d02ca69b0129aaf9e767c9d2e0333aa7538355f9c63d9eaf1ff369062084a18dc01489439ebf37797b3ea81b01beb072057d47ec962bfb824ddc72abc7 5SHA512 (cryptopp820.zip) = 753513a4ec8dd0fff2f551853ce6bd265d82219c28b033565b565b5e567fbee17adb419f4cde58a97e62b7d6533f4099aa4996cd0ba4775c6a2e7ae63a879da5
6Size (cryptopp565.zip) = 4220843 bytes 6Size (cryptopp820.zip) = 8859815 bytes
7SHA1 (patch-GNUmakefile) = a83b221092685721c30ba00d152e11a73cf20f1e 7SHA1 (patch-GNUmakefile) = 9a3a0d09a458730c6c9a5d9300c96417261173bc

cvs diff -r1.1 -r1.2 pkgsrc/security/crypto++/patches/patch-GNUmakefile (expand / switch to unified diff)

--- pkgsrc/security/crypto++/patches/patch-GNUmakefile 2017/05/18 21:20:23 1.1
+++ pkgsrc/security/crypto++/patches/patch-GNUmakefile 2019/06/05 19:06:07 1.2
@@ -1,37 +1,59 @@ @@ -1,37 +1,59 @@
1$NetBSD: patch-GNUmakefile,v 1.1 2017/05/18 21:20:23 adam Exp $ 1$NetBSD: patch-GNUmakefile,v 1.2 2019/06/05 19:06:07 adam Exp $
2 2
3Avoid -march=native compiler flag. 3Avoid -march=native compiler flag.
4On Darwin, use absolute path to avoid conflict with devel/libtool. 4On Darwin, use absolute path to avoid conflict with devel/libtool.
 5Fix dylib name.
5 6
6--- GNUmakefile.orig 2016-10-10 23:49:54.000000000 +0000 7--- GNUmakefile.orig 2019-04-28 23:36:50.000000000 +0000
7+++ GNUmakefile 8+++ GNUmakefile
8@@ -125,12 +125,6 @@ ifeq ($(IS_X86)$(IS_X32)$(IS_CYGWIN)$(IS 9@@ -140,7 +140,7 @@ endif
9 endif 10 ifneq ($(IS_DARWIN),0)
 11 CXX ?= c++
 12 # CXXFLAGS += -stdlib=libc++
 13- AR = libtool
 14+ AR = /usr/bin/libtool
 15 ARFLAGS = -static -o
10 endif 16 endif
11  17
12-# Guard use of -march=native 18@@ -846,32 +846,6 @@ ifeq ($(findstring no-asm,$(MAKECMDGOALS
13-ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10) 19 endif # CXXFLAGS
14- CXXFLAGS += -march=native 20 endif # No ASM
15-else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00) 
16- CXXFLAGS += -march=native 
17-else 
18 # GCC 3.3 and "unknown option -march=" 
19 # Ubuntu GCC 4.1 compiler crash with -march=native 
20 # NetBSD GCC 4.8 compiler and "bad value (native) for -march= switch" 
21@@ -140,7 +134,6 @@ else 
22 else ifeq ($(SUN_COMPILER)$(IS_X86),01) 
23 CXXFLAGS += -m32 
24 endif # X86/X32/X64 
25-endif 
26  21
27 # Aligned access required for -O3 and above due to vectorization 22-# Native build testing. Issue 'make native'.
28 UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h) 23-ifeq ($(findstring native,$(MAKECMDGOALS)),native)
29@@ -271,7 +264,7 @@ endif # OpenMP 24- NATIVE_OPT =
30 endif # IS_LINUX 25-
 26- # Try GCC and compatibles first
 27- TPROG = TestPrograms/test_cxx.cxx
 28- TOPT = -march=native
 29- HAVE_OPT = $(shell $(CXX) $(TCXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) -o $(TOUT) 2>&1 | tr ' ' '\n' | wc -l)
 30- ifeq ($(strip $(HAVE_OPT)),0)
 31- NATIVE_OPT = -march=native
 32- endif # NATIVE_OPT
 33-
 34- # Try SunCC next
 35- ifeq ($(NATIVE_OPT),)
 36- TOPT = -native
 37- HAVE_OPT = $(shell $(CXX) $(TCXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) -o $(TOUT) 2>&1 | tr ' ' '\n' | wc -l)
 38- ifeq ($(strip $(HAVE_OPT)),0)
 39- NATIVE_OPT = -native
 40- endif # NATIVE_OPT
 41- endif
 42-
 43- ifneq ($(NATIVE_OPT),)
 44- CXXFLAGS += $(NATIVE_OPT)
 45- endif
 46-
 47-endif # Native
31  48
32 ifneq ($(IS_DARWIN),0) 49 # Undefined Behavior Sanitizer (UBsan) testing. Issue 'make ubsan'.
33-AR = libtool 50 ifeq ($(findstring ubsan,$(MAKECMDGOALS)),ubsan)
34+AR = /usr/bin/libtool 51@@ -1248,7 +1222,7 @@ ifneq ($(wildcard libcryptopp.dylib),)
35 ARFLAGS = -static -o 52 @-$(MKDIR) $(DESTDIR)$(LIBDIR)
36 CXX ?= c++ 53 $(CP) libcryptopp.dylib $(DESTDIR)$(LIBDIR)
37 ifeq ($(IS_GCC_29),1) 54 $(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
 55- -install_name_tool -id $(DESTDIR)$(LIBDIR)/libcryptopp.dylib $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
 56+ -install_name_tool -id $(LIBDIR)/libcryptopp.dylib $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
 57 endif
 58 ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),)
 59 @-$(MKDIR) $(DESTDIR)$(LIBDIR)