summaryrefslogtreecommitdiff
path: root/rdrand.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos (PR# 1099)Dimitris Apostolou2022-01-041-2/+2
|
* Fix RDRAND compile when RDSEED not availableJeffrey Walton2020-07-281-22/+31
|
* Clear unreachable code warnings with early MSVC compilersJeffrey Walton2019-10-031-0/+4
|
* Fix Rijndael recursion overflow when -DCRYPTOPP_DISABLE_SSSE3 (GH #880, PR #886)Jeffrey Walton2019-09-281-7/+16
|
* Cutover to CRYPTOPP_LLVM_CLANG_VERSION (GH #845)Jeffrey Walton2019-05-211-1/+1
| | | | We were using CRYPTOPP_CLANG_VERSION in some places.
* Fix missing RDRAND and RDSEED GenerateBlock functions when CRYPTOPP_DISABLE_ASMJeffrey Walton2018-12-281-2/+2
| | | | Also see https://github.com/noloader/cryptopp-cmake/issues/44
* Add Power9 Random Number Generator support (GH #747, PR #748)Jeffrey Walton2018-11-271-8/+12
|
* Clear unused variable warnings under MSVCJeffrey Walton2018-08-031-0/+4
|
* Remove iPhoneSimulator from Travis allowed failuresJeffrey Walton2018-08-031-2/+2
|
* Update commentsJeffrey Walton2018-08-031-6/+9
|
* Simplify RDRAND and RDSEED logicJeffrey Walton2018-08-031-210/+38
| | | | Travis testing on GitHub showed a RDSEED failure with a "no implementation" failure. Stepping back the RDRAND and RDSEED impl logic was too complex. It offered choices when there was no need for them. For MSC we only need the MASM implementation. For U&L we only need the inline assembly that emits the byte codes (and not the instruction). The byte codes cover from GCC 3.2, Clang 2.8 and onwards
* Fix failed link on ARM and friendsJeffrey Walton2018-07-071-10/+0
|
* Add algorithm provider member function to Algorithm classJeffrey Walton2018-07-061-0/+10
|
* Fix GCC version for RDSEED intrinsic (#598)Fabrice Fontaine2018-03-101-3/+3
| | | | | | | | rdseed is only available on gcc 4.8.x, not on gcc 4.7.x Fixes: - http://autobuild.buildroot.org/results/9ab386124e4a09b50598c6f95ad40b25a83d227e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* Fix GCC version for RDRAND and RDSEED intrinsicsJeffrey Walton2017-11-071-5/+5
|
* Fix GCC version for RDRAND and RDSEED intrinsicsJeffrey Walton2017-11-071-2/+2
|
* Fix "C2872: 'byte': ambiguous symbol" with Windows Kit (Issue 442, 447)Jeffrey Walton2017-07-231-0/+2
| | | | AppVeyor detected the break but we did not receive the email about it. It looks like we have an AppVeyor configuration problem
* Build RDRAND for all platofrms (Issue 419, PR 424)Jeffrey Walton2017-05-171-2/+38
| | | | We have not been able to determine a reliable way to detect cpu's and platforms with Cmake. We are side stepping the Cmake problem by building rdrand.cpp all the time. If its not avilable for a cpu or platform, then RDRAND or RDSEED throw an exception.
* Fix bad code generation with GCC, -Os and rdseedJeffrey Walton2017-05-101-2/+2
|
* Fix bad GCC code generation with -OsJeffrey Walton2017-05-091-12/+12
| | | | It appears GCC was doing something wonky with the call to RDSEED. The test script was experiencing a hang
* Removed unneeded guardJeffrey Walton2017-05-091-5/+5
| | | | Whitespace check-in
* Clear C4100 warning (Issue 412)Jeffrey Walton2017-05-091-4/+5
|
* Mkaake RDRAND and RDSEED throw if not availableJeffrey Walton2017-05-091-24/+44
| | | | Fix Carmichael pseudo-prime tests
* Fix OpenBSD 6.0 compile with GCC 4.9 (Issue 395)Jeffrey Walton2017-03-221-8/+8
| | | | This check-in also enables the 64-bit RDRAND routines for X32. The changes were with held until they could be tested. The testing occurred with Issue 395
* Updated static initializersJeffrey Walton2017-03-171-1/+1
| | | | | When MSVC init_seg or GCC init_priority is available, we don't need to use the Singleton. We only need to create a file scope class variable and place it in the segment for MSVC or provide the attribute for GCC. An additional upside is we cleared all the memory leaks that used to be reported by MSVC for debug builds.
* Change HAS_NASM to USE_NASM. The makefile does not etect it automaticallyJeffrey Walton2017-03-141-4/+4
|
* Add guard for RDSEED64 on 32-bit platforms (Issue 387)Jeffrey Walton2017-03-081-30/+5
| | | | Cleanup comments in rdrand.cpp and rdrand.asm
* Cutover to fastcall for MASM and X86 (Issue 387)Jeffrey Walton2017-03-071-10/+16
| | | | Fix "target specific option mismatch" under GCC 4.6
* Fix output buffer cast in rdrand.cpp (Issue 388)Jeffrey Walton2017-03-071-10/+47
| | | | | Update comments in rdrand.h Fix compile on CentOS 5 with GCC 4.1
* Removed test define from rdrand.cppJeffrey Walton2017-03-071-4/+4
| | | | The library should use the intrinsics if they are available. This change should have been included with Commit 14d92f9eba81191e.
* Improve performance of RDRAND and RDSEED (Issue 387)Jeffrey Walton2017-03-071-353/+238
|
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-2/+2
|
* Change next version from 5.7 to 6.0Jeffrey Walton2017-02-211-2/+10
| | | | Crypto++ 5.7 was the increment after the 5.6.5 release. Crypto++ 6.0 accurately reflects compatibility
* Remove extra preamble for copyright.Jeffrey Walton2017-02-211-1/+0
| | | | Similar text may be added in the future
* Switch to PutWord for rdrand.cppJeffrey Walton2016-11-141-14/+2
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-14/+14
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Fix GCC compile error under LP64 data model (Issue 236)Jeffrey Walton2016-09-071-4/+8
|
* Fix compile under iOSJeffrey Walton2016-07-131-7/+9
|
* Simplify RDRAND and RDSEED implementation selection logic. Its was too ↵Jeffrey Walton2016-07-101-67/+23
| | | | convoluted
* Fix SunCC version for RDSEED, which is available in Sun Studio 12.5Jeffrey Walton2016-07-101-1/+1
|
* Add SunCC 12.4 support for specialized implementations if CRC, RDRAND and BLAKE2Jeffrey Walton2016-07-101-2/+2
|
* Add RDRAND and RDSEED for SunCC 12.1 and aboveJeffrey Walton2016-07-101-2/+13
|
* Go back to Commit 66ada4cc61d62afcJeffrey Walton2016-07-061-2/+2
|
* Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be ↵Mouse2016-07-061-2/+2
| | | | | | | merged by me This reverts commit 762c315566bce681e380641d1894251f984eac10, reversing changes made to b48866631a5587e9348245fedd6f1e0871df35db.
* Add MacPorts GCC compiler and Clang integrated assembler support. This is a ↵Jeffrey Walton2016-07-051-2/+2
| | | | merge of the development branch 'clang-ia'
* Use _rdrand32_step for X32. Whitespaceroot2016-06-211-50/+50
|
* Update comment. Whitespace cleanupJeffrey Walton2016-06-141-5/+5
|
* Fix compiler include detection under LLVM and Apple Clang (Issue 183)Jeffrey Walton2016-06-121-0/+5
|
* Revert "Fix missing clobbered registers (Issue 124)"Jeffrey Walton2016-01-261-10/+2
| | | | | | The commit broke compilation on an Athlon x2 used for testing. This reverts commit b0fb747182e3b83f0713b6d1f1531515efacc1e1.
* Fix missing clobbered registers (Issue 124)Name2016-01-261-2/+10
|