aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/cpuid.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve side channel attack resistance of table based AES implJack Lloyd2015-11-291-2/+17
|
* Move check for SIMD instructions to CPUIDJack Lloyd2015-09-211-0/+2
| | | | | | Avoids needing to include simd_32 to see if SIMD is disabled. This had caused a build break on Linux x86-32 as SSE2 must be enabled on a per-file basis.
* Convert PK operations to using Algo_Registry instead of Engine.lloyd2015-02-031-6/+6
| | | | Remove global PRNG.
* Add a runtime map of string->func() which when called returnlloyd2015-01-281-6/+9
| | | | | | | | | | | | | | | | | Transforms and BlockCiphers. Registration for all types is done at startup but is very cheap as just a std::function and a std::map entry are created, no actual objects are created until needed. This is a huge improvement over Algorithm_Factory which used T::clone() as the function and thus kept a prototype object of each type in memory. Replace existing lookup mechanisms for ciphers, AEADs, and compression to use the transform lookup. The existing Engine framework remains in place for BlockCipher, but the engines now just call to the registry instead of having hardcoded lookups. s/Transformation/Transform/ with typedefs for compatability. Remove lib/selftest code (for runtime selftesting): not the right approach.
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Move lib into srclloyd2014-01-101-0/+153