Commit Graph

2306 Commits (406bec8fc7b8825f974a36ddea91e16b00d66f62)

Author SHA1 Message Date
Jeffrey Walton 406bec8fc7
Backed-off assert for poly1305.cpp in Debug builds 2016-12-01 21:52:01 -05:00
Jeffrey Walton d91244a657
Sync'd cryptest.sh. Cleared shadow variable warning in poly1305.cpp 2016-12-01 21:11:48 -05:00
Jeffrey Walton 50f0c84ea0
Fix "X86_SHA256_HashBlocks was not declared in this scope" when using CRYPTOPP_DISABLE_ASM 2016-12-01 19:00:24 -05:00
Jeffrey Walton 82009ecf41
Increment version to 5.7 due to ABI break *Issue 337)
We still need to supply a patch for those maintaining 5.6.x
2016-12-01 18:10:56 -05:00
Jeffrey Walton 1491b48691
Add Intel SHA extension specialized tests 2016-12-01 16:51:39 -05:00
Jeffrey Walton cce56d3f79
Add Intel SHA1 extension support (Issue 139) 2016-12-01 15:05:41 -05:00
Jeffrey Walton 315b4b0b3e
Add Intel SHA256 code generation tests (Issue 139) 2016-12-01 15:04:50 -05:00
Jeffrey Walton 764ae95e45
Add full NIST SHA test vector suite for use with 'cryptest.exe tv' 2016-12-01 12:57:15 -05:00
Jeffrey Walton 70d7297559 Merge pull request #339 from ralphtandetzky/master
Fix: GCC warning "type qualifiers ignored on function return type".
2016-12-01 09:56:39 -05:00
Ralph Tandetzky 35a2ef10a2 Fix: GCC warning "type qualifiers ignored on function return type".
This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
2016-12-01 15:37:04 +01:00
Jeffrey Walton 7ab9b00f90
Add Intel SHA1 extension support 2016-12-01 00:49:59 -05:00
Jeffrey Walton 6970ef702d
Add Intel SHA1 code generation tests 2016-11-30 21:13:45 -05:00
Jeffrey Walton 8af3937728
Updated documentation 2016-11-28 10:37:28 -05:00
Jeffrey Walton 4ee9fe3acc
Renamed ProcessBlocks → HashBlocks. Updated comments and documentation 2016-11-28 09:51:54 -05:00
Jeffrey Walton 6c9deef853
Updated documentation. Whitespace 2016-11-27 20:09:55 -05:00
Jeffrey Walton 7b36f81dc5
Updated documentation. Whitespace 2016-11-27 18:54:09 -05:00
Jeffrey Walton 484da03c7b
Add Poly1305 class to project files (Issue 338) 2016-11-27 16:56:57 -05:00
Jeffrey Walton 390b87507d
Updated documentation 2016-11-27 16:17:06 -05:00
Jeffrey Walton 62e99837e8
Add Poly1305 class (Issue 338) 2016-11-27 15:31:50 -05:00
Jeffrey Walton ccef9149af
Switch from WordCount() to reg.size() for bitops
This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing
2016-11-26 00:56:02 -05:00
Jeffrey Walton beb9df9d9e
Switch from WordCount() to reg.size() for bitops
This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing
2016-11-26 00:51:27 -05:00
Jeffrey Walton 16ffe513a4
Add Integer bitwise AND, OR and XOR (Issue 336) 2016-11-23 21:55:30 -05:00
Jeffrey Walton 6d898321e4
Fix cryptest-symbols.sh to account for bench.cpp rename (Issue 337) 2016-11-23 15:17:46 -05:00
Jeffrey Walton 3fc97d2bff
Updated documentation 2016-11-19 04:40:07 -05:00
Jeffrey Walton cb7dbd32ec
Updated documentation 2016-11-17 09:16:09 -05:00
Jeffrey Walton 1694193101
Make StaticGetValidKeyLength constexpr in seckey.h 2016-11-15 04:15:17 -05:00
Jeffrey Walton 2b736bc6f1
Fix "deprecated conversion from string constant to ‘char*’" 2016-11-14 19:45:08 -05:00
Jeffrey Walton 7223bbc119
Add /MACHINE option for linker 2016-11-14 05:32:58 -05:00
Jeffrey Walton 1ba8142195
Guard XOR of optional xorBlock. Updated documentation 2016-11-14 03:48:21 -05:00
Jeffrey Walton f7df2de284
Switch to PutWord for rdrand.cpp 2016-11-14 02:21:02 -05:00
Jeffrey Walton ea1157d8f5
Macro cleanup under Visual Studio .Net 2016-11-14 01:23:12 -05:00
Jeffrey Walton ef47a5c148
Selectively add <sdkddkver.h> and <winapifamily.h> to cryptest.nmake 2016-11-13 16:18:41 -05:00
Jeffrey Walton 76b11b010c
Add CRYPTOPP_STATIC_CONSTEXPR macro 2016-11-13 11:50:34 -05:00
Jeffrey Walton 5be05bce07
Add CC clobber to cpuid call
This should not be needed, but it does not hurt. According to Ian Lance Taylor (http://gcc.gnu.org/ml/gcc-help/2014-02/msg00023.html), the CC clobber causes GCC to forget its internal representation of flag state. It should not be needed for cpuid. However, Clang has some odd behave in a couple of versions of its compiler when using cpuid. Both JW and UB experienced it on separate occassions.
2016-11-13 11:14:03 -05:00
Jeffrey Walton 61aa62bd8f
Add CRYPTOPP_STATIC_CONSTEXPR 2016-11-12 09:34:34 -05:00
Jeffrey Walton 9993ffe200
Updated documentation 2016-11-12 09:05:39 -05:00
Jeffrey Walton 10c96e5a95
Updated documentation 2016-11-12 08:45:13 -05:00
Jeffrey Walton 2a8670c0c1
Updated documentation 2016-11-12 08:38:50 -05:00
Jeffrey Walton 8e4942bbfc
Add untracked files that git was not able to track when asked to perform a 'git mv' 2016-11-12 04:42:53 -05:00
Jeffrey Walton 7c7cb15f36
Remove unneeded include 2016-11-12 04:23:36 -05:00
Jeffrey Walton fe9c168ca8
Re-add bds10.zip
It went missing after cleaning up the local fileystem, and was subsequently deleted with a 'git commit -S -am...'. An explict 'git rm' was not used, so I am not sure why it got whacked
2016-11-12 01:35:14 -05:00
Jeffrey Walton 5f17b4e6d3
Add checks for unbound variables 2016-11-10 02:41:23 -05:00
Jeffrey Walton aa8260df2c
Use enum for Doxygen processing 2016-11-10 02:04:46 -05:00
Jeffrey Walton a87092f123
Updated messages 2016-11-07 21:01:34 -05:00
Jeffrey Walton 4a4b9b14e4
Add additional error chcking 2016-11-07 09:56:24 -05:00
Jeffrey Walton 0d753f8014
Add additional error chcking 2016-11-07 09:28:55 -05:00
Jeffrey Walton 9866a7d148
Fix script on Solaris 2016-11-07 07:35:06 -05:00
Jeffrey Walton 795e47add6
Updated messages 2016-11-07 07:20:14 -05:00
Jeffrey Walton b38edd49d8
Switch test params to 5.6.5 and Master 2016-11-07 06:20:24 -05:00
Jeffrey Walton e4ddc44957
Add prompt to guard resetting local repo 2016-11-07 05:55:48 -05:00