Commit Graph

  • 9d1f7f7539
    Avoid use of SecBlock::m_ptr in Salsa Jeffrey Walton 2017-08-17 16:27:56 -0400
  • ae84826d4b
    Update documentation Jeffrey Walton 2017-08-17 16:24:54 -0400
  • 803c1a78e7
    Update documentation Jeffrey Walton 2017-08-17 14:24:51 -0400
  • 2c44518fcb
    Fix iOS ARM build cpu.cpp:451:17: error: variable has incomplete type 'struct utsname' Jeffrey Walton 2017-08-17 13:52:26 -0400
  • e2c377effd Split source files to support Base Implementation + SIMD implementation (GH #461) Jeffrey Walton 2017-08-17 12:33:43 -0400
  • fcbe964dec
    Split CPU feature detection code Formerly the ARM code favored CPU probes with SIGILLs. We've found its ineffiient on most platforms and dangerous on Apple platforms. This commit splits feature probes into CPU_QueryXXX(), which asks the OS if a feature is present. The detection code then falls back to CPU_ProbeXXX() using SIGILLs as a last resort. Jeffrey Walton 2017-08-17 11:13:19 -0400
  • 24e1d30be4 Sync with Upstream master Jeffrey Walton 2017-08-17 10:50:11 -0400
  • 74d21068a1
    Fix more Clang problems I wish this god damn compiler would stop pretending to be other compilers when it can't consume the same program. Even the GCC devs have told the LLVM devs to stop ding that crap Jeffrey Walton 2017-08-17 10:45:43 -0400
  • 68c7726652
    Update CpuId to take leaf function number Jeffrey Walton 2017-08-17 08:42:14 -0400
  • d31c991614
    Update CPU code for Aarch32 and Aarch64 Jeffrey Walton 2017-08-17 08:37:00 -0400
  • 1fd5b7a9dc
    Reorder cpu features Jeffrey Walton 2017-08-17 08:28:19 -0400
  • d04bcf1015
    Remove ios-tv from allow_failures Jeffrey Walton 2017-08-17 03:57:15 -0400
  • 1cc963fe5b Sync with Upstream master Jeffrey Walton 2017-08-17 03:00:41 -0400
  • 7779fa3e7a
    Fix NEON detection on Aarch32 and Aarch64 I wish GCC would get its head out of its ass and define the apprpriate defines. NEON/ASIMD cannot be disgorged from Aarch32/Aarch64 just like SSE2 cannot be disgorged from x86_64. They are core instruction sets Jeffrey Walton 2017-08-17 02:15:42 -0400
  • 6e35e7387a
    Add debug configuration to Travis Jeffrey Walton 2017-08-17 01:47:08 -0400
  • 8bbcad315f
    Fix runtime check for GCM_ReverseHashBufferIfNeeded_PMULL Jeffrey Walton 2017-08-17 01:36:44 -0400
  • e4cadb5603 Sync with upstream master Jeffrey Walton 2017-08-17 00:28:27 -0400
  • 4fb54ba150
    Fix GCM and carryless multiplies When converting to split-sources, we disgorged ReverseHashBufferIfNeeded from Intel CLMUL and ARM PMULL operations. The problem is, they are linked. The only time a buffer needs reversing is when CLMUL or PMULL is in effect. However, we made GCM_ReverseHashBufferIfNeeded_CLMUL and GCM_ReverseHashBufferIfNeeded_PMULL available wheneever SSSE3 or NEON was available, which was incorrect. They should only be used when CLMUL or PMULL is being used Jeffrey Walton 2017-08-17 00:26:29 -0400
  • f099d2df91
    Remove ios-tv from allow_failures Jeffrey Walton 2017-08-16 23:15:23 -0400
  • 3887c919c3
    Clear unused variable warnings under MSVC Jeffrey Walton 2017-08-16 22:56:36 -0400
  • fb5e731fd9 Sync with Upstream master Jeffrey Walton 2017-08-16 22:17:09 -0400
  • 609b0ca9e8
    Disable Carryless Multiplies for Clang Jeffrey Walton 2017-08-16 22:16:53 -0400
  • 371ec39b4f
    Update comments Jeffrey Walton 2017-08-16 22:16:34 -0400
  • df280a509a
    Disable Carryless Multiplies for Clang Jeffrey Walton 2017-08-16 22:10:53 -0400
  • 1450847e40
    Update comments Jeffrey Walton 2017-08-16 21:43:31 -0400
  • df178bd8ee Sync with Upstream master Jeffrey Walton 2017-08-16 20:53:17 -0400
  • 5a32fbbeba
    Fix "warning: binding dereferenced null pointer to reference has undefined behavior" This shows up under debug builds when testing instantiations. Jeffrey Walton 2017-08-16 20:49:03 -0400
  • 86ff6976dd Sync with Upstream master Jeffrey Walton 2017-08-16 14:57:40 -0400
  • b8e794cc6d
    Add SHACAL2 optimizations Thanks to Botan for providing these Jeffrey Walton 2017-08-16 14:33:31 -0400
  • edad2ccbcb
    Add SHACAL2 optimizations Thanks to Botan for providing these Jeffrey Walton 2017-08-16 14:29:33 -0400
  • 745edc3148 Sync with Upstream master Jeffrey Walton 2017-08-16 12:27:23 -0400
  • c40a4dc9f7
    Fix Clang warning on missing template definitions Jeffrey Walton 2017-08-16 12:21:07 -0400
  • 8f4b0dc081
    Suppress C4251 and C4275 warnings in project files (Issue 412) Jeffrey Walton 2017-08-16 11:24:48 -0400
  • b0baf7c246
    Suppress C4251 and C4275 warnings in project files (Issue 412) Jeffrey Walton 2017-08-16 11:21:24 -0400
  • 80ea2e2d14 Sync with Upstream master Jeffrey Walton 2017-08-16 10:43:59 -0400
  • b0b749f392
    Fold shuffles after loads for SHACAL2 Jeffrey Walton 2017-08-16 10:40:00 -0400
  • 8480125ef6
    Fix compiler feature detection under Clang Apparently Clang is too dumb to realize we are interested in C++ defines when we use clagng++ and add -std=c++03. Without the -x c++, it fails with a complaint that -std=c++03 cannot be used with C and ObjC files Jeffrey Walton 2017-08-16 09:43:11 -0400
  • 429a49859a
    Fold shuffles after loads for SHACAL2 Jeffrey Walton 2017-08-16 09:07:01 -0400
  • 2090d0b0a6
    Fix sources after sync with upstream master Jeffrey Walton 2017-08-16 06:18:53 -0400
  • 20463e9524 Sync with upstream master Jeffrey Walton 2017-08-16 06:16:15 -0400
  • 1ab1e08ac5
    Add Intel SHA implementation for SHACAL2 encryption The implementation came from Jack Lloyd and the Botan team. Jack and the Botan was gracious and allowed us to use Botan's x86_encrypt_blocks function. They also allowed us to release it under the Crypto++ licensing terms. Also see https://github.com/randombit/botan/pull/1151/files Jeffrey Walton 2017-08-16 06:13:06 -0400
  • e394313071 Sync with Upstream master Jeffrey Walton 2017-08-16 05:44:38 -0400
  • b311aabc31
    Update documentation Jeffrey Walton 2017-08-16 05:42:58 -0400
  • e19fad007f
    Fix library version number in script Jeffrey Walton 2017-08-16 05:36:11 -0400
  • 8b21a196dd
    Fix library version number Jeffrey Walton 2017-08-16 05:19:41 -0400
  • c5c6a6af5c
    Fix Doxygen constant documentation Jeffrey Walton 2017-08-16 05:11:37 -0400
  • 121a47abce
    Update documentation Jeffrey Walton 2017-08-16 04:58:19 -0400
  • e08fa3a084 Sync with Upstream master Jeffrey Walton 2017-08-16 04:50:42 -0400
  • cbfe2ac6e2
    Add Intel SHA implementation for SHACAL2 encryption The implementation came from Jack Lloyd and the Botan team. Botan was gracious and allowed us to use the x86_encrypt_blocks function, and release it under the Crypto++ licensing terms. Also see https://github.com/randombit/botan/pull/1151/files Jeffrey Walton 2017-08-16 03:47:06 -0400
  • 08c37e5887
    Update comments in Rijndael head comments Jeffrey Walton 2017-08-15 14:26:30 -0400
  • f2a303c30b
    Cut-over to Wei's wide AES encryption for ARMv8 Jeffrey Walton 2017-08-15 12:11:17 -0400
  • 4a31b367f2 Sync with Upstream master Jeffrey Walton 2017-08-15 08:52:01 -0400
  • 6f36c7deae
    Cleared UBsan finding in Default's GenerateKeyIV Jeffrey Walton 2017-08-15 08:51:03 -0400
  • 092b3cb467
    Backed off assert. Its too noisy Jeffrey Walton 2017-08-15 04:42:12 -0400
  • 14eef92c8c Sync with Upstream master Jeffrey Walton 2017-08-15 03:15:53 -0400
  • 659b47108a
    Fix Address Sanitizer findings on GCC117 GCC117 is a Aarch64/ARM64 server with AMD's ARM chip and GCC 7.10. It looks like GCC is performing some std::string optimizations that generates a finding. We did not witness the finding on other platforms, like other Aarch64 devices and x86_64. Jeffrey Walton 2017-08-15 03:11:03 -0400
  • 0110f8397f
    Add ELEMS_MAX for SecBlock (Issue 346) Reset the mark on additional class methods Jeffrey Walton 2017-08-15 03:07:30 -0400
  • 876142b1b6
    Update with latest sources and reproducible build Jeffrey Walton 2017-08-15 03:05:45 -0400
  • 536e8f5236
    Test SecBlock for ELEMS_MAX changes (Issue 346) Jeffrey Walton 2017-08-15 02:14:09 -0400
  • 40a95bde63 Sync with Upstream master Jeffrey Walton 2017-08-15 01:24:43 -0400
  • cebeedfefd
    Fix Address Sanitizer findings on GCC117 GCC117 is a Aarch64/ARM64 server powered by AMD's ARM chip. It runs GCC 7.10. It looks like GCC is performing some std::string optimizations that generates a finding. We have not witnessed the finding on other platforms Jeffrey Walton 2017-08-15 01:15:08 -0400
  • 93f085c44c
    Fix test script when running on machine with RO mount of / Jeffrey Walton 2017-08-14 19:31:36 -0400
  • dcb115e043 Sync with Upstream master Jeffrey Walton 2017-08-14 08:57:05 -0400
  • f8e77e0fe6
    Add Apple Watch and TV to Travis testing Jeffrey Walton 2017-08-14 07:54:10 -0400
  • 9e7e623399
    Test iOS Watch and TV builds. Take 8 Jeffrey Walton 2017-08-14 07:28:40 -0400
  • db628065bf
    Test iOS Watch and TV builds. Take 7 Jeffrey Walton 2017-08-14 07:23:09 -0400
  • 949cee996e
    Test iOS Watch and TV builds. Take 6 Jeffrey Walton 2017-08-14 06:40:09 -0400
  • a650e0d9f1
    Test iOS Watch and TV builds. Take 5 Jeffrey Walton 2017-08-14 06:37:10 -0400
  • 74aa5b7e12
    Test iOS Watch and TV builds. Take 4 Jeffrey Walton 2017-08-14 06:16:25 -0400
  • 16442d2eae
    Test iOS Watch and TV builds. Take 3 Jeffrey Walton 2017-08-14 05:45:22 -0400
  • 9f33d0f834
    Test iOS Watch and TV builds. For real this time... Jeffrey Walton 2017-08-14 04:36:17 -0400
  • a9fd2b6104
    Test iOS Watch and TV builds Jeffrey Walton 2017-08-14 04:34:24 -0400
  • 08191d5dff
    Fix define used for SHA includes Jeffrey Walton 2017-08-14 04:18:12 -0400
  • a92fc55d39
    Remove duplicate test after updtream merge Jeffrey Walton 2017-08-14 04:01:55 -0400
  • a25e63fcb7
    Fix sources after sync with upstream Jeffrey Walton 2017-08-14 03:19:20 -0400
  • c44f32d683 Sync with upstream master Jeffrey Walton 2017-08-14 02:22:48 -0400
  • effa446a61
    Fix test script when running on machine with RO mount of / Jeffrey Walton 2017-08-14 01:48:11 -0400
  • 6a29d8c56f
    Use -O1 for Asan and UBsan Jeffrey Walton 2017-08-14 01:05:03 -0400
  • 2ee8e3b26d
    Move free standing function into anonymous namespace Update comments and use class constants when available Jeffrey Walton 2017-08-14 00:08:55 -0400
  • 2aff92ddb6
    Fix bad SHA::Transform calculation (Issue 455) Jeffrey Walton 2017-08-13 16:05:39 -0400
  • 011429583d
    Fix sources after sync with upstream master Jeffrey Walton 2017-08-13 07:06:19 -0400
  • e0ec92b541 Sync with Upstream master Jeffrey Walton 2017-08-13 06:54:28 -0400
  • 5f441d28e5
    Cleanup __m128 casts due to Clang Jeffrey Walton 2017-08-13 06:53:35 -0400
  • 863bf9133c
    Cleanup casts due to Clang Jeffrey Walton 2017-08-13 06:32:09 -0400
  • d8e56b8250 Sync with Upstream master Jeffrey Walton 2017-08-13 05:01:57 -0400
  • f02bf91ee5
    Revert 95ee8975b4 and 7d21cdd54e (Issue 408) This broke some OS X builds. We need more testing. Ugh... Jeffrey Walton 2017-08-13 04:31:17 -0400
  • 95ee8975b4
    Use blockSize in error message thrown Jeffrey Walton 2017-08-12 20:29:33 -0400
  • 5f3a3f29e8
    Sync with Upstream master Jeffrey Walton 2017-08-12 19:28:59 -0400
  • 5e6e6c4eaa Sync with Upstream master Jeffrey Walton 2017-08-12 19:24:00 -0400
  • 7d21cdd54e
    Convert GCM to use runtime blocksize checking (Issue 408) GCM is still only defined for 16-byte ciphers, but this is where we need to be when we add the larger polynomials Jeffrey Walton 2017-08-12 16:14:29 -0400
  • 19ab62201d
    Add files to Visual Studio filters Jeffrey Walton 2017-08-12 00:15:09 -0400
  • 1463995c99
    Add files to Visual Studio filters Jeffrey Walton 2017-08-12 00:09:51 -0400
  • a84f568ee2
    Add subfunc to CpuId for AVX and above Jeffrey Walton 2017-08-11 22:56:01 -0400
  • f02503d08f Sync with Upstream master Jeffrey Walton 2017-08-11 17:27:19 -0400
  • f5aa6f1f06
    Cast enums to int for comparison Jeffrey Walton 2017-08-11 17:15:13 -0400
  • 953252e44d
    Move from 'static' to 'enum' for class constants Enums don't take up space in class objects. Its should result in smaller objects and faster code Jeffrey Walton 2017-08-11 17:13:15 -0400
  • 9ab233b52a
    Switch from 'static const' to 'enum' for class constants Enums do not take up space in a class. It should lead to smaller objects and faster runtimes Jeffrey Walton 2017-08-11 16:09:28 -0400
  • 93a8f9e9b7
    Fix compile with GCC on Solaris Jeffrey Walton 2017-08-11 16:08:28 -0400
  • 5b945a5412
    Update for earlier Apple compilers, like Apple Clang 6 and 8 Jeffrey Walton 2017-08-11 14:24:05 -0400
  • 8a66353b2c
    Test <arm_acle.h> include under Apple This is a compile test Jeffrey Walton 2017-08-11 12:31:04 -0400