Commit Graph

6471 Commits

Author SHA1 Message Date
Jeffrey Walton
4473b50803
Fix 32-bit ARM build 2022-02-11 08:07:33 -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
6215e1d2e3
Use CRYPTOPP_ARM_NEON_AVAILABLE in sha.cpp 2022-02-10 21:29:30 -05:00
Jeffrey Walton
3632a54e1a
Allow Cryptogams AES and SHA unless CRYPTOPP_DISABLE_ASM 2022-02-10 19:42:56 -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
03e043a72d
Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
Jeffrey Walton
444c20d268
Squash linker and libtool warnings 2022-02-10 10:30:03 -05:00
Jeffrey Walton
ea9532e5c9
Couple Cryptogams source files to ARMv7 and NEON 2022-02-08 13:33:12 -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
Jeffrey Walton
47a6d46db7
Clear unused variable warnings 2022-01-13 03:45:43 -05:00
Jeffrey Walton
10bba4e54d
Add word128 overloads to misc.h 2022-01-13 03:09:28 -05:00
Jeffrey Walton
dc8e27c400
Update documentation 2022-01-13 03:08:10 -05:00
Jeffrey Walton
8f7304b61e
Add ByteReverse(word128 value)
This speeds up XTS mode on x86_64 by 0.11 cpb
2022-01-12 10:26:25 -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
7c1f970853
Update Android ASIMD code generation tests 2022-01-06 12:43:15 -05:00
Dimitris Apostolou
715a0bcce3
Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
Jeffrey Walton
d994989cda
Use arc4random for non-blocking prng on FreeBSD (GH #1098) 2021-12-29 04:45:53 -05:00
Mordecai Velasco
66e18a2b6f
Update Install.txt (PR #1092) 2021-12-08 06:21:50 -05:00
Jeffrey Walton
9a81d45983
Whitespace check-in 2021-11-29 10:56:11 -05:00
Jeffrey Walton
056084aefc
Update documentation 2021-11-29 10:54:17 -05:00
Jeffrey Walton
a9fe2453f6
Update documentation 2021-11-29 10:46:27 -05:00
Jeffrey Walton
c45c188cde
Whitespace check-in 2021-11-29 10:44:52 -05:00
Jeffrey Walton
bc2c8423a1
Update License.txt 2021-11-29 10:43:03 -05:00
Jeffrey Walton
c4e257e685
Update comments in strcpher.cpp 2021-11-29 10:41:49 -05:00
Jeffrey Walton
e546fb74d7
Add ASSERT in ProcessData to warn of non-distinct buffers (GH #1088) 2021-11-28 19:57:28 -05:00
Jeffrey Walton
b418f93483
Update License.txt 2021-11-27 21:42:53 -05:00
Jeffrey Walton
9dbb3c47aa
Update documentation (GH #1088) 2021-11-27 21:09:48 -05:00
Jeffrey Walton
2bce06d5db
Update License.txt
Thanks to Muhammad Ali in a private email.
2021-11-27 20:46:15 -05:00
Tobias Nießen
efbab52cf1
Update documentation for pubkey.h (PR #1075) 2021-10-18 11:49:40 -04:00
Jeffrey Walton
131fdc1bdf
Avoid word ops for Integer And, Or, Xor 2021-10-10 04:44:11 -04:00
Jeffrey Walton
5331e36173
Optimize Integer bit operations fix (GH #1072)
This fix uses IntegerSecBlock directly. It avoids the potential second allocation during Grow at the expense of a potential slightly larger SecBlock
2021-10-08 15:51:17 -04:00
Jeffrey Walton
43e7c2c8c5
Remove CRYPTOPP_NO_UNALIGNED_ACCESS test from cryptest.sh
The define was removed several releases ago
2021-10-08 14:59:20 -04:00
Jeffrey Walton
4adfcd2c6c
Fix undersized SecBlock buffer in Integer bit operations (GH #1072) 2021-10-08 14:11:43 -04:00
Jeffrey Walton
101d2260fa
Add additional Integer bitops tests 2021-10-08 00:26:12 -04:00
Jeffrey Walton
f80fee7eef
Update documentation 2021-09-25 15:50:27 -04:00
Jeffrey Walton
72237f912a
Update documentation 2021-09-25 15:43:54 -04:00
Jeffrey Walton
d6322a8a54
Whitespace check-in 2021-09-25 15:34:39 -04:00
Jeffrey Walton
b41f1f033b
Add O_NOFOLLOW when available in OS rngs
This should help prevent symlink race attacks
2021-09-25 15:32:27 -04:00
Jeffrey Walton
7cf1b576d1
Whitespace check-in 2021-09-25 12:30:45 -04:00