- Feb 21, 2025
-
-
Paul Elliott authored
Rebase MR CY25Q1 1 See merge request !27 Notable changes from base repository: - Fixed CMake build (changed names of library headers) - Changed CMake project definition homepage URL to be this repository, rather than upstream.
-
- Feb 20, 2025
-
-
The optimization is enabled for: - single call cases - any IV size (variable IV interface) and 12 byte IV size - both cipher directions To save space small packet code generation is disabled in GCM_ENC_DEC in in the above cases. This is no longer needed as new small packet code covers it. GCM context got removed from argument list for GCM_ENC_DEC_0_TO_256 macro (not required).
-
This is to reduce code size in cases when GCM_ENC_DEC_0_TO_256 is used.
-
vaes-avx512: [gcm] use internal GHASH function instead expanding GHASH calculation macro for small packets - use GCM_ENC_DEC_0_TO_256 macro name for small packet code - tidy up comments and register usage notes - reduce CALC_J0 macro arguments and update register usage notes
-
Changes vs the original approach: - move AAD calculation after AES-CTR encrypt - move original IV encrypt to the message encrypt - for certain message sizes original IV is appended to counter block registers for encryption - optimize number of GHASH reductions
-
-
-
avx512: [des] generate range of encrypt functions for code re-use between DES, 3DES/TDES and DES-DOCSIS - add new module with encrypt functions with input/output registers commonly used in the code - add wrapper macro for encrypt so that code expansion can be done or call to generated/predefined function can be made (much smaller memory footprint) - rename DES constants so that they are unique and can be exported to other library modules
-
-
- remove AVX512 type 1 AES-GCM implementation and use AVX2 type 1 instead - both deliver identical performance - AVX512 AES-GCM API symbols are retained (map onto AVX2 ones)
-
-
-
-
-
avx2/avx512: [gcm] change CALC_J0 macro to call ghash_internal function for GHASH calculation instead of expanding CALC_AAD_HASH
-
- add new CALC_GHASH macro that requires two GPR's less that CALC_AAD_HASH - remove RBX save/restore in function entry and exit
-
API's compiled in two groups: - GHASH API's - internal GHASH API added (GHASH API uses it) - GCM, GCM SGL and GMAC API's - GMAC API's use new internal GHASH API
-
-
- tune internal GHASH API SIMD register usage to avoid data clobbering in GCM_INIT
-
-
-
-
-
- separate GHASH implementations into a separate module
-
Signed-off-by:
Pablo de Lara <pablo.de.lara.guarch@intel.com>
-
Signed-off-by:
Marcel Cornu <marcel.d.cornu@intel.com>
-
By default if not specified cmake uses LANGUAGES C++ but there is no any C++ files in source tree. Change LANGUAGES to C and ASM to omit checking for c++ compiler. Added HOMEPAGE_URL as well. Signed-off-by:
Tomasz Kłoczko <kloczek@github.com>
-
On Unix platform man pages install path is $(prefix)/share/man Signed-off-by:
Tomasz Kłoczko <kloczek@github.com>
-
-
check if both compiler and linker support CET before adding flags
-
- Nov 20, 2024
-
-
Paul Elliott authored
Fixes for issues existing after last rebase See merge request !26
-
Paul Elliott authored
Intel upstream rebasing See merge request !25
-
- Nov 15, 2024
-
-
Islam Ragimov authored
Fix for safe-check tests degradation appeared after applying the following upstream commits: - from: 8086d7b5 - to: cb9d2a7d Change-Id: I86ba57a998bd8e576cbf9d5b263b3db9d1deed9e
-
Islam Ragimov authored
- caused by commit: 75986d67 - upstream commit: 560ead8f Change-Id: I589ff76097df42b7b147a87df109c27b55066832
-
Islam Ragimov authored
Previously imported commit ingored changes for aarch64 - caused by commit: 9674a164 - upstream commit: f8889c50 Change-Id: I91eda089e95f61c7c1119197e0e53182feb72202
-
- Sep 27, 2024
-
-
- Sep 04, 2024
-
-
Tom Cosgrove authored
Fix CMake build See merge request !24
-