Commit Graph

1249 Commits

Author SHA1 Message Date
DevJPM
07ff7b0d61 moved BE case before LE to improve performance 2016-01-14 12:24:36 +01:00
DevJPM
1839fc40b3 removed ECPM changes 2016-01-13 23:46:05 +01:00
DevJPM
dcbfe82292 removed ECPM 2016-01-13 23:45:10 +01:00
DevJPM
a0e6151390 removed ECPM 2016-01-13 23:43:54 +01:00
DevJPM
a9980a0bc4 removed ECPM 2016-01-13 23:43:17 +01:00
DevJPM
2c45da2354 removed ECPM 2016-01-13 23:42:39 +01:00
DevJPM
3a0a78e393 removed ECPM 2016-01-13 23:42:02 +01:00
DevJPM
a2bd46a843 removed ECPM 2016-01-13 23:41:27 +01:00
DevJPM
8a766cfe39 removed ECPM 2016-01-13 23:39:38 +01:00
DevJPM
53248fc4a3 removed ECPM code 2016-01-13 23:39:11 +01:00
DevJPM
a767752787 Delete ecpm.cpp 2016-01-13 23:38:00 +01:00
DevJPM
53f97c16d5 Delete ecpm.h 2016-01-13 23:37:42 +01:00
DevJPM
2e1cc51b41 removed ecpm, not part of this branch 2016-01-13 23:37:09 +01:00
DevJPM
fb9da4e043 finalized patch
added final components of the Integer patch
2016-01-13 23:24:39 +01:00
DevJPM
ea980e5ec0 applied main changes
applied main changes from the Integer Patch
2016-01-13 23:19:49 +01:00
DevJPM
ba0ce02134 added std::showbase support
applied the std::showbase part of the integer patch
2016-01-13 22:42:52 +01:00
DevJPM
082a348b8e synced against config.h 2016-01-13 22:39:49 +01:00
DevJPM
36f5e4c4c8 updated to offer the option to hide the base
Added the config.h related changes of the Integer patch (show_no_base only)
2016-01-13 22:38:56 +01:00
DevJPM
f8d5d8274e Update integer.h 2016-01-12 21:53:56 +01:00
DevJPM
62c819c162 Added the ecpm files to the file list,
This should make these changes compatible with the makefile; VS project
files aren't supported yet
2016-01-12 21:17:11 +01:00
Jeffrey Walton
3e5d81a250 Merge pull request #107 from Crayon2000/master
Improve C++Builder support
2016-01-12 12:59:16 -05:00
Crayon2000
0892ee411b C++Builder: The problem with the CRYPTOPP_CONSTANT macro was corrected properly 2016-01-12 12:29:44 -05:00
Jeffrey Walton
be8bbc2691 Updated documentation 2016-01-12 12:11:51 -05:00
Jeffrey Walton
3a675a41c9 Fixed typo in UBsan detection 2016-01-12 06:57:05 -05:00
Jeffrey Walton
c1536c6379 Added system info to log files 2016-01-12 06:52:17 -05:00
Crayon2000
249f1b9788 Merge remote-tracking branch 'upstream/master' 2016-01-12 00:16:06 -05:00
Jeffrey Walton
5ff5d4dd69 Merge pull request #111 from Crayon2000/missinginclude
With C++Builder we need to include stdlib.h to use wcstombs
2016-01-11 23:52:47 -05:00
Jeffrey Walton
6c40fb46b6 Merge pull request #109 from Crayon2000/gitignore
Added C++Builder section in .gitignore file
2016-01-11 23:43:47 -05:00
Jeffrey Walton
64944773cd Merge pull request #110 from Crayon2000/cast_size_t
Fixes a compiler error with C++Builder XE6
2016-01-11 23:43:29 -05:00
Jeffrey Walton
9a5e359bb3 Fixed IsolatedInitialize (Issue 108) 2016-01-11 23:36:46 -05:00
Crayon2000
0d483f3092 Reverted file format to UTF-8 (No BOM)
Format was changed in my last commit.
2016-01-11 23:32:35 -05:00
Crayon2000
c31b96b11b 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-11 23:28:54 -05:00
Crayon2000
8d553690fb 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-11 23:20:19 -05:00
Crayon2000
8d06beffa5 Added C++Builder section in .gitignore file 2016-01-11 23:04:21 -05:00
Crayon2000
8ffb0aba21 Merge remote-tracking branch 'upstream/master' 2016-01-11 22:39:00 -05:00
Crayon2000
f90ff8cb52 Merge branch 'master' of https://github.com/Crayon2000/cryptopp 2016-01-11 22:22:32 -05:00
Crayon2000
602eb5fa0b 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-11 22:21:30 -05:00
Crayon2000
405af0aeef Added C++Builder section in .gitignore file 2016-01-11 22:21:24 -05:00
Jeffrey Walton
f16bd03722 Fixed copy/paste for address sanitizer 2016-01-11 09:35:39 -05:00
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