VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/cpu.c
AgeCommit message (Collapse)AuthorFilesLines
2023-07-18Windows: Fix compiler warningsMounir IDRASSI1-1/+0
2022-03-26Windows: Add various checks to address Coverity reported issues.Mounir IDRASSI1-2/+2
2022-02-13Linux/FreeBSD: Enable building without AESNI support by setting environment ↵Mounir IDRASSI1-0/+2
variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command This comes following Github issue #892 and which should be solved thanks to this.
2020-06-19Windows: remove duplicated function to detect AES-NI support in CPUMounir IDRASSI1-22/+0
2019-11-09Windows: include rdrand.h file only in Windows case since it is not yet ↵Mounir IDRASSI1-0/+2
included for other OSes
2019-11-03Linux/MacOSX: Fix build error caused by RDRAND_getBytes/RDSEED_getBytes ↵Mounir IDRASSI1-1/+1
implemented only on Windows
2019-11-02Windows: when building for EFI bootloader, don't make calls to RDRAND/RDSEED ↵Mounir IDRASSI1-1/+2
functions since we don't link against their implementation in EFI bootloader
2019-10-30Disable both RDRAND and RDSEED if a failure is detectedMounir IDRASSI1-0/+13
2019-10-30Add check for buggy RDRAND (AMD Ryzen CPU case) even if we always use RDSEED ↵Mounir IDRASSI1-0/+13
instead of RDRAND when RDSEED is available (which is the case on modern CPUs)
2019-10-29Fix wrong detection of AMD CPUs.Mounir IDRASSI1-2/+2
2019-02-01Fix detection of CPU features AVX2 & BMI2. Add detection of RDRAND & RDSEED ↵Mounir IDRASSI1-3/+37
CPU features. Detect Hygon CPU as AMD one.
2017-07-04Windows: correctly handle SEH exceptions during self-tests in order to ↵Mounir IDRASSI1-4/+22
disable CPU extended features in such case.
2017-07-01For code logic clarity, add check for xgetbv support in CPU before using it.Mounir IDRASSI1-1/+1
2017-06-27Enable AVX assembly instructions only when the OS implements AVX supportMounir IDRASSI1-2/+19
2017-06-21Crypto: Add optimized Camellia assembly implementation for x86_64 based on ↵Mounir IDRASSI1-1/+3
work by Jussi Kivilinna (https://github.com/jkivilin/supercop-blockciphers). This improve speed by a factor of 2.5 when AES-NI supported by CPU and by 30% if AES-NI not supported.
2016-10-17Implement detection of new CPU features: AVX2 and BMI2Mounir IDRASSI1-1/+3
2016-08-17Linux: fix various compilation issues under Linux.Mounir IDRASSI1-0/+4
2016-08-16Windows: Fix various issues detected by static analysis.Mounir IDRASSI1-1/+1
2016-08-15Windows EFI Bootloader: modifications to prepare EFI system encryption ↵Alex1-7/+13
support (common files with DcsBoot)
2016-08-08Linux: Enable gcc AES-NI built-in functions and adapt Hyper-V AES detection ↵Mounir IDRASSI1-13/+51
code to gcc.
2016-07-29Crypto: Use Hyper-V AES-NI detection workaround when displaying AES hardware ↵Mounir IDRASSI1-34/+65
availability in GUI.
2016-07-24Crypto: Workaround for AES-NI issue under Hyper-V on Windows Server 2008 R2 ↵Mounir IDRASSI1-3/+57
which masks AES-NI from applications although it is available.
2016-06-17Update intrinsic support and cpu detection.Mounir IDRASSI1-4/+4
2016-05-10Remove trailing whitespaceDavid Foerster1-1/+1
2016-05-10Normalize all line terminatorsDavid Foerster1-231/+231
2016-05-01Reset bogus executable permissionsDavid Foerster1-0/+0
2016-02-22Windows: correct static inline declaration to solve Windows compilation errorMounir IDRASSI1-2/+2
2016-02-21Crypto: update Whirlpool implementation using latest code from Crypto++.Mounir IDRASSI1-25/+58
2015-12-31Cryptography: Optimize Whirlpool implementation by using public domain ↵Mounir IDRASSI1-0/+198
assembly code developed by Wei Dai