Commit Graph

6406 Commits

Author SHA1 Message Date
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
Jeffrey Walton
beec0950b7
Post-release version increment 2021-09-24 11:15:49 -04:00
Jeffrey Walton
959595ed2a
Prepare for Crypto++ 8.6 release 2021-09-24 11:05:29 -04:00
Jeffrey Walton
69bf6b5305
Prepare for Crypto++ 8.6 release 2021-09-24 07:48:47 -04:00
Jeffrey Walton
bca628e002
Update documentation 2021-09-24 06:06:41 -04:00
Jeffrey Walton
bee8e8ca66
Use subgroup order in ElGamal encryption (GH #1059, CVE-2021-40530) 2021-09-23 23:33:23 -04:00
Jeffrey Walton
20962baf44
Fix ChaCha AVX2 implementation (GH #1069)
Many thanks to Jack Lloyd
2021-09-20 12:31:32 -04:00
Jeffrey Walton
e154280d31
Add octal and decimal literal prefix to Integer class 2021-09-19 05:06:11 -04:00
Jeffrey Walton
3accc3d083
Disable ChaCha20 AVX2 implementation (GH #1069) 2021-09-17 20:49:12 -04:00
Jeffrey Walton
f0a32f0c6a
Disable ChaCha20 AVX2 implementation (GH #1069) 2021-09-17 20:39:23 -04:00
Jeffrey Walton
08f3fc5676
Fix ed25519Signer and ed25519Verifier
The classes don't provide a copy contructor. Derp. Also see https://github.com/noloader/cryptopp-pem/issues/12
2021-09-15 04:42:31 -04:00
Jeffrey Walton
622908742e
Update documentation 2021-09-14 13:37:36 -04:00
Jeffrey Walton
fae9943118
Add ed25519Signer and ed25519Verifier overloads 2021-09-14 13:09:16 -04:00
Jeffrey Walton
36cf69b585
Update comments for OID 1.3.6.1.4.1.11591.15.1 2021-09-10 16:05:59 -04:00
Jeffrey Walton
6638f245e4
Add Cryptlib OID for curve25519 2021-09-10 08:35:55 -04:00
Jeffrey Walton
93c846a705
Update comments in cryptest.nmake 2021-09-07 19:01:00 -04:00