Commit Graph

2055 Commits (c7303a600f53aedab8f0ec964f4bced6aa663cf6)

Author SHA1 Message Date
Jeffrey Walton ad47c0cce8 Add integger.cpp as the thrird object file in the list of object files
This should have been performed at Commit 7f958575ea
2016-09-14 12:03:27 -04:00
Jeffrey Walton c70f01d7b3 Relocate first PIC code to just after Windows options. Remove second PIC code based on SIZEOF_POINTER since it only managed to set for x86_64 2016-09-14 06:33:34 -04:00
Jeffrey Walton 1204d3dfcc Add -fPIC for builds except for 32-bit x86 and Windows 2016-09-14 01:15:18 -04:00
Jeffrey Walton 9280850b26 Enable Cmake's VERBOSE=1 by default.
Cmake's choice of default options are awful. No wonder they hide them by default
2016-09-13 23:54:16 -04:00
Jeffrey Walton 5790163abc Use __BIGGEST_ALIGNMENT__ only if its smaller than sizeof\(T\) 2016-09-13 22:28:03 -04:00
Jeffrey Walton db768200ab Uncomment existing SHA256::Transform, enable when __OPTIMIZE_SIZE__ is defined
This is Wei's original code. It was commented out, but it might be useful to some since IoT gadgets are becoming more popular
2016-09-13 21:06:42 -04:00
Jeffrey Walton ff67abdec5 Add virtual dtor for IteratedHash and ClonableImpl due to non-trivial data members
Solaris is showing unusual signs with SunCC 5.13 and 5.14. One user is experiencing a SIGBUS in SHA512::Transform due to data alignment of 'data', which was only 2-byte aligned. The project experienced an exception "Coneable not implemented" during the hashing test after building with Cmake. Its not clear how much Cmake influenced the project's results.
2016-09-13 20:44:14 -04:00
Jeffrey Walton df7e07e75e The commit had a typo. This reverts commit 11eede3926. 2016-09-13 19:52:45 -04:00
Jeffrey Walton 11eede3926 Add veirtual dtor IteratedHash and ClonableImpl due to non-trivial data members 2016-09-13 18:31:01 -04:00
Jeffrey Walton 6bb6e8ab63 Updated documentation 2016-09-13 17:29:23 -04:00
Jeffrey Walton 8a47758463 Updated documentation 2016-09-13 16:43:12 -04:00
Jeffrey Walton 13744476bd Updated documentation 2016-09-13 15:55:16 -04:00
Jeffrey Walton 5b50423439 Fix SunCC 5.13 and "illegal use of -xarch option, illegal value ignored: avx2_i" 2016-09-13 15:11:52 -04:00
Dimitry Andric afe1ed0445 Fix clang warnings about undefined variable templates in pkcspad.h
Recent versions of clang warn about missing PKCS_DigestDecoration
definitions, specifically the decoration members.  For example:

    In file included from testpkcs.cpp:8:
    ./pkcspad.h:89:53: warning: instantiation of variable 'CryptoPP::PKCS_DigestDecoration<CryptoPP::SHA1>::decoration' required here, but no definition is available [-Wundefined-var-template]
                                    return HashIdentifier(PKCS_DigestDecoration<H>::decoration, (size_t)PKCS_DigestDecoration<H>::length);
                                                                                    ^
    ./pubkey.h:608:19: note: in instantiation of member function 'CryptoPP::PKCS1v15_SignatureMessageEncodingMethod::HashIdentifierLookup::HashIdentifierLookup2<CryptoPP::SHA1>::Lookup' requested here
            return L::Lookup();
                      ^
    ./pubkey.h:638:26: note: in instantiation of member function 'CryptoPP::TF_ObjectImplBase<CryptoPP::TF_VerifierBase, CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA1, CryptoPP::RSA, int
          CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA1>, CryptoPP::RSAFunction>::GetHashIdentifier' requested here
    class CRYPTOPP_NO_VTABLE TF_ObjectImpl : public TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY_CLASS>
                             ^
    ./pkcspad.h:32:20: note: forward declaration of template entity is here
            static const byte decoration[];
                              ^

This is because pkcspad.h doen't contain explicit instantiation
declarations for PKCS_DigestDecoration.  These warnings can be fixed by
adding them in the !CRYPTOPP_IS_DLL case, which appears to apply only to
Windows.
2016-09-13 20:45:30 +02:00
Jeffrey Walton c8388746b9 Fix build under Sun Studio 2016-09-13 12:51:17 -04:00
Jeffrey Walton 9b5dc3c765 Fix gcm.cpp compile under i686 Linux after 97282f61cd 2016-09-13 10:01:39 -04:00
Jeffrey Walton ed9fdfc0ab Whitespace and comments for SunCC work-arounds 2016-09-13 01:16:04 -04:00
Jeffrey Walton 6e6f5e4228 Fix -xarch=ssse4_2 typo 2016-09-13 00:52:15 -04:00
Jeffrey Walton 97282f61cd Fix gcm.cpp compile under x86_64 Linux after 4f7fb2067d 2016-09-12 22:29:13 -04:00
Jeffrey Walton fff2c91b96 Add TLS-ChaCha test vectors from http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305
The implementations do not interoperate at the moment
2016-09-12 19:51:43 -04:00
Jeffrey Walton 32375fe322 Fixed comments in macro magic 2016-09-12 19:17:18 -04:00
Jeffrey Walton abd14a4b0a Improved comments in macro magic 2016-09-12 19:05:09 -04:00
Jeffrey Walton 947b411f9d Updated documentation 2016-09-12 18:38:03 -04:00
Jeffrey Walton 4f7fb2067d Cleaned up use of assembler mnemonics 2016-09-12 17:47:12 -04:00
Jeffrey Walton 3c9096a85d Updated comments in cryptest.sh 2016-09-12 16:06:21 -04:00
Jeffrey Walton 3585190924 Fix SunCC 5.11 and 5.12 CXXFLAGS and -xarch options.
We were still catcing the "requires -xarch=sse4_2" message
2016-09-12 07:34:59 -04:00
Jeffrey Walton 27b27475e9 Use __BIGGEST_ALIGNMENT__ over sizeof(T), if __BIGGEST_ALIGNMENT__ is available
__BIGGEST_ALIGNMENT__ is provided by some compilers, like GCC and ICC (but not Clang). It is usually 16 on 64-bit platforms; and it is usually 8 on 32-bit platforms
2016-09-12 06:34:00 -04:00
Jeffrey Walton 28c3d685e3 Attempt to fix SunCC 5.11 and 5.12 flags and xarch options in a generic way 2016-09-12 05:08:29 -04:00
Jeffrey Walton bb2f54a668 Fix line 859: /1024/1024: syntax error: operand expected (error token is "/1024/1024") 2016-09-12 04:17:39 -04:00
Jeffrey Walton 1261c1a37b Fixed 5.6.4 rlease date (9/11 instead of 9/10) 2016-09-12 03:07:08 -04:00
Jeffrey Walton d83a7e08a9 Re-enable AES-NI/CLMUL when using Clang Integrated Assembler (part of Issue 226) 2016-09-11 23:22:02 -04:00
Jeffrey Walton 737f5b0b72 Disable CLMUL for SunCC 5.13 and below (Issue 226) 2016-09-11 22:52:26 -04:00
Jeffrey Walton 84db27c8f6 Post-release version increment for CMake 2016-09-11 20:40:09 -04:00
Jeffrey Walton aa5767cccf Post-release version increment 2016-09-11 14:35:21 -04:00
Jeffrey Walton 4132d85888 Whitespace cleanup 2016-09-11 09:05:21 -04:00
Jeffrey Walton 199c00f30a Modify cryptest.sh to better align with SunCC 12.1 though 12.3, CPU feature flags, and compiler options 2016-09-11 08:59:28 -04:00
Jeffrey Walton 0a294705e2 Updated release notes 2016-09-11 06:00:40 -04:00
Jeffrey Walton 18daf97e67 Updated documentation 2016-09-11 05:41:32 -04:00
Jeffrey Walton b779fbc943 Change Crypto++ version number to 5.6.4 2016-09-11 04:00:11 -04:00
Jeffrey Walton d8f91752db Updated documentation 2016-09-10 23:31:01 -04:00
Jeffrey Walton d28d6e0248 Updated documentation 2016-09-10 18:59:43 -04:00
Jeffrey Walton a3ef42e36d Updated release notes 2016-09-10 18:51:00 -04:00
Jeffrey Walton 36bdbb21a1 Updated documentation 2016-09-10 18:47:05 -04:00
Jeffrey Walton a8a6e41beb Updated documentation 2016-09-10 18:22:00 -04:00
Jeffrey Walton 5155b91178 Updated release notes 2016-09-10 17:58:02 -04:00
Jeffrey Walton 65f2dd6c82 Updated documentation 2016-09-10 15:01:39 -04:00
Jeffrey Walton 49a71e87a8 Updated release notes 2016-09-10 14:55:10 -04:00
Jeffrey Walton 90cf9a6c1e Updated release notes 2016-09-10 14:53:34 -04:00
Jeffrey Walton ba2d645fa9 Updated release notes 2016-09-10 14:50:26 -04:00
Jeffrey Walton 18e2386612 Updated release notes 2016-09-10 14:39:08 -04:00