summaryrefslogtreecommitdiff
path: root/rdrand.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Revert "Fix missing clobbered registers (Issue 124)". This will be the last ↵Jeffrey Walton2016-01-261-10/+2
| | | | | | attempt to get the attribution correct. This reverts commit 4c1d62928411090f33ce141878949e156ceb7148.
* Fix missing clobbered registers (Issue 124)Name2016-01-261-2/+10
|
* Cleared -Wcast-align (Issue 122)Jeffrey Walton2016-01-251-4/+4
|
* Fixed RDSEED detection issue for GCC 4.8 and 4.9Jeffrey Walton2015-12-241-4/+2
|
* Changed retry count for RDRAND and RDSEED. RDSEED appears to fail to fulfill ↵Jeffrey Walton2015-11-291-4/+22
| | | | requests at about 6 to 8 times the rate of RDRAND.
* Additional documentation; fixed issues with Clang integrated assembler and ↵Jeffrey Walton2015-11-191-1/+1
| | | | different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-482/+162
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-0/+835