Jeffrey Walton
c65c88a432
Added -fno-omit-frame-pointer for asan recipe
2016-01-11 06:54:00 -05:00
Jeffrey Walton
26f0eabf0f
Cleared ARM64 warning
2016-01-11 06:31:37 -05:00
Crayon2000
c4aaf081f9
The Crypto++ library can now be compiled with C++Builder
...
Two macro were causing compiler problems with bcc32
[bcc32 Error] seckey.h(83): E2313 Constant expression required
and
[bcc32 Error] seckey.h(194): E2313 Constant expression required
2016-01-10 22:39:01 -05:00
DevJPM
c8aaa5aae3
Added Montgomery support
...
This check-in enables support for elliptic curves over prime fields
using the Montgomery equation. Support for Edwards curves will follow as
soon as all bugs are eliminated.
2016-01-10 23:31:18 +01:00
Jeffrey Walton
76b2f9387d
Cleared Valgrind warnings on uninitialized reads (Issue 105)
2016-01-10 14:25:47 -05:00
Crayon2000
51ec011a60
Removed *.res from .gitignore
...
It was recommended by noloader: https://github.com/weidai11/cryptopp/pull/107#issuecomment-170243489
2016-01-09 14:12:56 -05:00
Jeffrey Walton
dce2317195
Increase range for GCC workaround on ARMEL. After speaking with AP from GCC, he states some issues are still likely present in Master, which is GCC 6.0
2016-01-09 00:09:06 -05:00
Crayon2000
eba7dd2846
Added C++Builder section in .gitignore file
2016-01-08 20:00:17 -05:00
Crayon2000
fd9be45bb6
Fixes a compiler error with C++Builder XE6
...
This is the generated error with CLANG 64-bit:
[bcc64 Error] pkcspad.h(79): call to constructor of 'HashIdentifier' (aka 'pair<const byte *, size_t>') is ambiguous
Casting the second parameter as size_t will fix the problem. This fix is not required in C++Builder XE7 and XE8, it must have been fixed.
2016-01-08 19:57:24 -05:00
Crayon2000
91321b8b7f
Casting string literal to avoid bcc32 Error
...
This will fix this error with C++Builder:
[bcc32 Error] seckey.h(88): E2354 Two operands must evaluate to the same type
2016-01-08 18:03:11 -05:00
Crayon2000
355a2f357d
To use wcstombs with C++Builder we need to include stdlib.h
...
wcstombs was supported in C++Builder 2010 : http://docwiki.embarcadero.com/RADStudio/2010/en/Wcstombs
2016-01-08 17:50:30 -05:00
Jeffrey Walton
9fca0c2802
Work around issue on ARMEL in MultiplyTop and GCC. ARMHF is OK
2016-01-08 15:43:09 -05:00
Jeffrey Walton
c299c4ba1a
Fixed Asan and UBsan detection for non-x86
2016-01-08 15:11:21 -05:00
Jeffrey Walton
ee23865b77
Fixed cast-align warning when casting buffer to TimerWord*
2016-01-08 11:02:03 -05:00
Jeffrey Walton
ade18f6329
Removed unneeded test for 0-sized SecBlock. Removed temporary SecBlock
2016-01-08 07:15:56 -05:00
Jeffrey Walton
3941be1889
Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo
2016-01-08 06:53:27 -05:00
Jeffrey Walton
6d2bacf9ec
Flus cout buffer in case next test hangs, like BlumBlumShub on some platform/compiler combinations
2016-01-07 18:17:31 -05:00
Jeffrey Walton
d9c3c51aa8
Made non-SOLIBNAME the default version for Android and Embedded
2016-01-05 15:05:29 -05:00
Jeffrey Walton
520b56c229
Fixed failed "make install" on OpenBSD
2016-01-05 09:48:46 -05:00
Jeffrey Walton
86d59828c7
Added cryptest.info to clean rule
2016-01-04 20:26:16 -05:00
Jeffrey Walton
8f5ff96b0b
Added "lean" target to cross compiles
2016-01-04 20:23:19 -05:00
Jeffrey Walton
9696b9e5e7
Added "lean" recipe that setups for for dead code stripping. Added test cases
2016-01-04 18:24:18 -05:00
Jeffrey Walton
748e79e87c
Added full support for CRYPTOPP_DATA_DIR to test script. Changed makefile to use CPU_SPEED so users could change it from the environment
2016-01-03 17:32:11 -05:00
Jeffrey Walton
a17b23d42c
Cut-in support for CRYPTOPP_DATA_DIR during install
2016-01-03 15:30:59 -05:00
Jeffrey Walton
0c1f7d30ea
Added additional tests
2016-01-03 12:53:46 -05:00
denisbider
f50a515ce0
Removed duplicated code in eccrypto.h
...
Recent update made to bottom part (CRYPTOPP_CLANG_VERSION >= 20800) applied to top part.
2016-01-03 02:09:45 -06:00
Jeffrey Walton
4a4cef7e58
Fixed "Integer exprssion required" in test for compiler
2016-01-02 11:23:23 -05:00
Jeffrey Walton
2a8f61278b
Added additional status code checking
2016-01-02 04:24:48 -05:00
Jeffrey Walton
fe0a260959
Increased warnings for elevated warning test. It still lacks -Wconversion...
2016-01-01 14:15:29 -05:00
Jeffrey Walton
096473101b
Added elevated warning test for non-GCC compilers
2016-01-01 10:11:03 -05:00
Jeffrey Walton
f700100fd5
Aligned assert with subtraction that follows
2016-01-01 05:35:57 -05:00
Jeffrey Walton
e32a6c0ad6
Added error count and warning count to output of script
2016-01-01 05:34:10 -05:00
Jeffrey Walton
0e26a3317a
Added guards for Install test on Cygwin and MinGW. Added new file cryptest-install.txt for install log
2016-01-01 02:04:08 -05:00
Jeffrey Walton
3afcf528d6
Merge pull request #98 from tknarr/master
...
Fix problem, pull request #65 comment 168191115
2015-12-31 23:23:44 -05:00
Todd Knarr
69a76042e2
Fix problem, issue #65 comment 168191115
2015-12-31 13:05:14 -08:00
Jeffrey Walton
42e9494ae7
Cleared -Wstrict-overflow warning on Cygwin with C++11
2015-12-31 14:51:19 -05:00
Jeffrey Walton
5a60f4c35d
Added 0 to capture make return code
2015-12-31 11:29:38 -05:00
Jeffrey Walton
fe09adf736
Added test after make command to catch failed builds
2015-12-31 10:12:41 -05:00
Jeffrey Walton
81482d8348
Added test case for growing FixedSizeSecBlock. Fixed copy count during grow
2015-12-31 07:21:23 -05:00
Jeffrey Walton
5849767735
Added test for a zeroized SecBlock
2015-12-31 05:08:19 -05:00
Jeffrey Walton
f9d2082e97
Removed assert from debug build
2015-12-31 04:50:20 -05:00
Jeffrey Walton
4f57c8f303
Updated documentation. Added calls to unused functions for coverage analytcs. Squashed unused variable warning
2015-12-31 04:42:21 -05:00
Jeffrey Walton
6652e94d20
Added -headerpad_max_install_names to dylib targets. Added standard directory vairables to GNUmakefile-cross
2015-12-31 01:43:42 -05:00
Jeffrey Walton
51d674c7d8
Finally figured how how to clear than damn Coverity finding on STREAM_FORMAT_STATE
2015-12-29 07:16:44 -05:00
Jeffrey Walton
9e4e210834
Switched to standard directory variables for include/, lib/, bin/ and share/
2015-12-29 06:32:45 -05:00
Jeffrey Walton
da95a18c19
Added locv to makefile recipe, added both cryptest.exe runs (thanks Jack Lloyd)
2015-12-29 04:50:15 -05:00
Jeffrey Walton
30c9b8376d
Merge pull request #95 from grantae/master
...
Fix an issue that caused targets to be rebuilt unnecessarily and prevented updated object files from regenerating targets.
2015-12-28 20:02:34 -05:00
Grant Ayers
4f277dab59
Fix an issue that caused targets to be rebuilt unnecessarily
...
and prevented updated object files from regenerating targets.
The 'public_service' phony target should be an 'order-only' prerequisite so
that it doesn't cause its target to be rebuilt when it is run.
However, object files were specified as order-only while the 'public_service'
target was not. This is reproducible by running 'make' twice. Another effect
is that when these object files change they will not cause the target to be
updated while they are order-only.
2015-12-28 16:30:01 -08:00
Jeffrey Walton
13748582e5
Added "make coverage" recipe. Added additional SecBlock tests
2015-12-28 07:06:50 -05:00
Jeffrey Walton
605744d826
Fixed SecBlock append when "this == t", fixed assert, added validation test (Issue 92)
2015-12-28 00:11:52 -05:00