Commit Graph

571 Commits

Author SHA1 Message Date
Jeffrey Walton
e9cbc4698a Fix grep warning about stray \ 2022-11-02 22:32:24 -04:00
Jeffrey Walton
3685dd50c6 Fix makefile due to grep warnings
Originally, on MinGW, we got a grep warning about a stray \ with #. But removing the \ broke Ubuntu. Undo that change
2022-11-02 17:19:55 -04:00
Jeffrey Walton
7c14a84e02 Fix grep warning about stray \ 2022-11-02 17:05:41 -04:00
Jeffrey Walton
cb6804da17
Add SSE3 tests (GH #1163) 2022-10-01 04:24:34 -04:00
Jeffrey Walton
0b5747421b
Add -fno-devirtualize when using GCC 12 (GH #1134, GH #1141, PR #1147)
This is not a fix since it only treats the symptom of GCC removing live code. We do not know why GCC is doing it.
2022-08-24 23:00:04 -04:00
Jeffrey Walton
84063b0070
Remove cryptest-cmake.sh
CMake is now maintained by Abdessattar Sassi. The directory layout of the files changed and cryptest-cmake.sh no longer works as expected.
Also see https://groups.google.com/g/cryptopp-users/c/9oDbTm8qWps.
2022-08-23 16:32:31 -04:00
Jeffrey Walton
48377cac69
Rename PowerPC specific files
This will allow us to filter-out some files more easily
2022-03-29 22:02:19 -04:00
Jeffrey Walton
003959567f
Fix SIGIL on PowerPC during cpu feature probes (GH #1115)
Also see GH #1112
2022-03-29 21:06:48 -04:00
Jeffrey Walton
647fe861cf
Add -I. option for testing programs 2022-02-16 05:19:02 -05:00
Jeffrey Walton
3d9245db91
Remove SIMD files when CRYPTOPP_DISABLE_ASM 2022-02-15 21:33:38 -05:00
Jeffrey Walton
79518b0b8a
Update makefiles 2022-02-14 22:54:39 -05:00
Jeffrey Walton
2384c8ea1e Fix typos in Makefiles 2022-02-13 02:13:16 -05:00
Jeffrey Walton
5dde13d1e3
Add bootstrap.sh to autotools-clean recipe 2022-02-12 21:25:08 -05:00
Jeffrey Walton
ce961bce0e
Remove SSE and AVX source files from non-Intel platforms 2022-02-10 23:08:58 -05:00
Jeffrey Walton
a1d5313c7d
Use CRYPTOPP_CPPFLAGS in recipes that use CPPFLAGS 2022-02-10 22:45:43 -05:00
Jeffrey Walton
56e5d5921d
Use CRYPTOPP_CPPFLAGS for Cryptogams recipe 2022-02-10 22:39:48 -05:00
Jeffrey Walton
4a0857f491
Fix Cryptogams ARMv7 test 2022-02-10 22:23:04 -05:00
Jeffrey Walton
0fd499946f
Fix ARMv7 compile test 2022-02-10 21:43:06 -05:00
Jeffrey Walton
a619dae0a0
Disable NEON when NEON test fails, not ASM 2022-02-10 19:39:44 -05:00
Jeffrey Walton
8d8524e66c
Fix grep expression 2022-02-10 19:27:11 -05:00
Jeffrey Walton
90e64ab645
Update Cryptogams SHA recipes 2022-02-10 19:01:39 -05:00
Jeffrey Walton
c38adfd7f4
Don't use -march=armv7 when compiler already offers it (GH #1094) 2022-02-10 18:56:24 -05:00
Jeffrey Walton
9dffe71da7
Couple Cryptogams source files to ARMv7 and NEON 2022-02-08 12:33:13 -05:00
Jeffrey Walton
60c5cfeb5b
Use CPPFLAGS more consistently in Makefiles 2022-02-08 11:49:25 -05:00
Jeffrey Walton
b695b50910
Whitespace check-in 2022-02-07 20:40:32 -05:00
Jeffrey Walton
66d73d6d8b
Use CPPFLAGS more consistently in Makefiles 2022-02-07 19:29:58 -05:00
Jeffrey Walton
f167d7c908 Update make trim recipe 2022-02-06 11:46:59 -05:00
Thomas Petazzoni
230c558a4b
GNUmakefiles: add missing shared library symlink (GH #1101)
The GNUmakefile install-lib target currently installs the following
symlink:

	libcryptopp.so -> libcryptopp.so.8.6.0

However, it does not create the following symlink:

	libcryptopp.so.8 -> libcryptopp.so.8.6.0

This symlink is necessary at runtime because libcryptopp.so.8 is the
SONAME of the cryptopp library, and therefore this is what the dynamic
loader will search when starting a program that is linked against
cryptopp.

For native compilation, the 'ldconfig' invocation that immediately
follows will create that symlink, so everything works.

For cross-compilation however, ldconfig can't be used, and therefore
LDCONFIG is passed as /bin/true, and therefore it doesn't create the
symlink. So instead, create it directly inside the GNUmakefile,
without relying on ldconfig.

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Co-authored-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
2022-01-07 18:26:53 -05:00
Jeffrey Walton
beec0950b7
Post-release version increment 2021-09-24 11:15:49 -04:00
Jeffrey Walton
0497eb46ab
Make SHA-NI independent of AVX and AVX2 (GH #1045) 2021-07-04 13:22:51 -04:00
Jeffrey Walton
c3d1eedff0
Whitespace check-in 2021-05-25 01:21:23 -04:00
Jeffrey Walton
abf7bb7546
Update NEON and ACLE feature tests 2021-05-24 21:17:07 -04:00
Jeffrey Walton
41edd50bd1
Fix makefiles to avoid spurious _XOPEN_SOURCE 2021-05-24 19:40:36 -04:00
Jeffrey Walton
759626e3d8
Use +sha3 and +sha512 for ARM crypto 2021-05-23 04:09:27 -04:00
Jeffrey Walton
f37591011d
Clear makefile variable TOPT as required 2021-05-19 15:59:56 -04:00
Jeffrey Walton
7e0f678055
Use CPPFLAGS when testign features
Cross-compiles need the flags
2021-05-10 15:14:03 -04:00
Jeffrey Walton
c84d5b5112
Add feature test for -Wa,-q on OS X Intel Macs (GH #1033) (PR #1034) 2021-04-26 15:39:21 -04:00
Jeffrey Walton
203a47a345
Fix ARM A-32 and Aarch64 builds 2021-04-26 05:37:17 -04:00
Jeffrey Walton
a0e21c77ae
Add LSH dynamic dispatch (PR #1032)
This commit adds dynamic dispatch to LSH. The implementation pivots on AVX2 and SSSE3.
2021-04-26 04:50:48 -04:00
Jeffrey Walton
fbea6fdfdc
Fold makefile tests into TCOMMAND 2021-04-25 07:38:58 -04:00
Jeffrey Walton
6abb2262ed
Guard use of SSE2 in makefiles 2021-04-25 07:14:24 -04:00
Jeffrey Walton
c09d94d5f2
Fix Aarch64 builds 2021-04-25 06:52:48 -04:00
Jeffrey Walton
8ef3b4b8e7
Add debug output to makefiles 2021-04-21 09:55:48 -04:00
Jeffrey Walton
c15aeaa7b5
Use *.cpp file extension for test programs (GH #1024) 2021-04-20 04:44:21 -04:00
Jeffrey Walton
1302bd5b45
Move Darwin tools to bottom of Makefile 2021-03-23 06:06:26 -04:00
Jeffrey Walton
a70662dae8
Add -fno-common for Darwin builds 2021-03-23 05:55:07 -04:00
Jeffrey Walton
a60c811310
Update make trim recipe
Set permissions on scripts in PWD
2021-03-21 17:44:50 -04:00
Jeffrey Walton
44969f8e21
Try to find Apple libtool on Darwin
A GNU libtool in /usr/local will break the build
2021-03-20 14:45:51 -04:00
Jeffrey Walton
f7757ebde1
Update cryptest-coverage.sh script 2021-03-20 00:43:03 -04:00
Jeffrey Walton
8f7d7ac476
Update cryptest-coverage.sh script 2021-03-19 01:48:16 -04:00