summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleared Cygwin i386 crash at -O3 due to unaligned data access and vectorizationHEADmasternoloader2015-07-161-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@591 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added targets for UBsan and Asannoloader2015-07-161-4/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@590 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared Issue #6. Thanks to Jonathan Wakely for reportingnoloader2015-07-161-10/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@589 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Folded OPTIMIZE and SYMBOLS back into CXXFLAGS (we can use 'subst' to modify ↵noloader2015-07-151-29/+29
| | | | | | CXXFLAGS). Moved Cygwin work arounds into block guarded by IS_X86 (Cygwin only runs on Windows) git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@588 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared UBsan error of "load of value 127, which is not a valid value for ↵noloader2015-07-151-1/+1
| | | | | | type 'bool'" by initializing negateNext git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@587 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared compile error masked behind ASSERTnoloader2015-07-141-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@586 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared C4242 warning uder Visual Studionoloader2015-07-141-7/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@585 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Whitespace check-innoloader2015-07-141-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@584 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to ↵noloader2015-07-146-9/+62
| | | | | | vectorization and alignment violations agains the vmovdqa instruction git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@583 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared warnings on WindowSlider structnoloader2015-07-142-31/+32
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@582 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared UBSan warnings reported by Jonathan Wakely. Cleared many issues ↵noloader2015-07-141-2/+2
| | | | | | reported in GitHub Issue 4 (its a rollup of -fsanitize=undefined) git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@581 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Moved GCC_DIAGNOSTIC_AWARE and GCC_OPTIMIZE_AWARE into misc.hnoloader2015-07-132-4/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@580 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared signed/unsigned warning on IncrementCounterByOnenoloader2015-07-121-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@579 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared signed/unsigned warning using GCC __builtin_XXXnoloader2015-07-121-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@578 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added test for 'v<0' in GetAsUIntValuenoloader2015-07-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@577 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fixed multiarch detection on OS Xnoloader2015-07-091-4/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@576 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added test suites for HKDFnoloader2015-07-094-1/+194
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@575 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* GNUmakefile improvements. Changed default optimization level to -O3, except ↵noloader2015-07-081-8/+20
| | | | | | on Cygwin. Added IS_DARWIN for consistency git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@574 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added GetAsUIntValue{WithDefault} to help manage signed/unsigned warnings. ↵noloader2015-07-071-1/+22
| | | | | | The value is still written as an signed int; but its retrieved, range checked and then returned as an unsigned int git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@573 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Static and constness to arraysnoloader2015-07-053-56/+57
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@572 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Guarded COUNTOF macro. Thanks to Graham Bull for the suggestionnoloader2015-07-051-5/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@571 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cut-over to COUNTOF in source filesnoloader2015-07-035-18/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@570 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added COUNTOF to misc.h to count elements in an array (fails on pointers). ↵noloader2015-07-032-2/+12
| | | | | | Moved CRYPTOPP_UNUSED to misc.h git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@569 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared "Access declarations are deprecated..." warning under MinGWnoloader2015-07-031-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@568 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared initialization warning related to use of bracesnoloader2015-07-035-1/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@567 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fixed spelling error in attributionnoloader2015-07-021-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@566 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Implmented Bernstein\'s Tweaked Roots for Rabin-Williams signatures. Thanks ↵noloader2015-07-022-25/+122
| | | | | | to Evgeny Sidorov for suggesting it git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@565 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared unused function warnings with -Wallnoloader2015-07-021-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@564 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added Base64URLEncoder and decoder for web safe alphabet from RFC 4648, ↵noloader2015-07-022-8/+72
| | | | | | Section 5. Discussion at https://groups.google.com/d/msg/cryptopp-users/OF5RPXW-cHw/EDrOuA4-rRYJ git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@563 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added PHONY targets for clean, install and removenoloader2015-07-011-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@562 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fixed compile on Cygwin x86_64. Thanks to Alex Afanasyevnoloader2015-07-011-2/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@561 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Removed -fPIC for Cygwin x86_64 compilesnoloader2015-07-011-3/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@560 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fixed spelling error in attributionnoloader2015-06-301-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@559 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared warning on operator precedencenoloader2015-06-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@558 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Static analysis showed the unsigned int y is truncated to an unsigned char ↵noloader2015-06-291-0/+1
| | | | | | via _rotr16. It does not appear to be a problem with the library, but it may be a problem for users. The assert will alert in Debug builds (but not Release builds) git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@557 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Enabled security related warnings; see ↵noloader2015-06-291-0/+3
| | | | | | http://blogs.msdn.com/b/vcblog/archive/2010/12/14/off-by-default-compiler-warnings-in-visual-c.aspx git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@556 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary ↵noloader2015-06-2912-0/+69
| | | | | | compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@555 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added GNUmakefile-cross for Android, iOS and Embeddednoloader2015-06-291-0/+123
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@554 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared ill-formed conversion in C++11noloader2015-06-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@553 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Modified validation suite to use VerifyBufsEqual rather than memcmp. ↵noloader2015-06-293-29/+34
| | | | | | VerifyBufsEqual is a constant time compare, so it serves to educate users on the function to call to use git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@552 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added inline to StringNarrow to squash unused function warningnoloader2015-06-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@551 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Add CRYPTOPP_UNUSED to help supress unused variable warnings. Applied ↵noloader2015-06-292-0/+3
| | | | | | AlgorithmParametersTemplate because its use is nearly ubiquitous git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@550 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Cleared SourceForge reported issue where ThreadUserTimer was not exportednoloader2015-06-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@549 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Added missing include. Caused compile failure on Android or iOSnoloader2015-06-291-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@548 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Removed forward declaration to non-existent class BlumGoldwasserPublicKey ↵noloader2015-06-291-6/+0
| | | | | | and BlumGoldwasserPrivateKey git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@547 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Changed m_compress and m_encodeAsOID to mutable. They are presentation ↵noloader2015-06-271-1/+1
| | | | | | details, and passing a const-key or const-params means they cannot be changed when writing the material git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@546 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fixed potential missing argument when using tv subcommand with argv[2]. ↵noloader2015-06-271-2/+20
| | | | | | Print OMP thread count when usong OpenMP git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@545 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Various makefile enhancements from GitHubnoloader2015-06-271-6/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@544 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fix compile issue on Android. Fix missing IntToStringnoloader2015-06-272-3/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@543 57ff6487-cd31-0410-9ec3-f628ee90f5f0
* Fix for CVE-2015-2141. Thanks to Evgeny Sidorov for reporting. Squaring to ↵noloader2015-06-271-1/+7
| | | | | | satisfy Jacobi requirements suggested by JPM. git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@542 57ff6487-cd31-0410-9ec3-f628ee90f5f0