Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve installation and support runtime IFMA detection #23

Merged
merged 9 commits into from
Sep 29, 2022

Conversation

skmono
Copy link
Contributor

@skmono skmono commented Sep 29, 2022

Resolves #16 and #18

sejunkim added 9 commits September 23, 2022 16:01
- Added CMake dependency
- Refactoring 3rd party configuring and building w/ CMake
- Add CMake flag to enable runtime version (IPCL_DETECT_IFMA_RUNTIME)
- Add ```cpu_features``` dependency
- Add manual IFMA disabling with environment variable (IPCL_DISABLE_AVX512IFMA=ON)
- Refactor cmake configurations
- Added example code
- Minor typo fixes in third-party dependencies
- Removed example/test.h
- Fixed minor typos and updated flag names to be more consistent
- Cleaned up example CMake file
- Build and install instruction
- Linking and compiling instruction
- Usage examples
@skmono skmono requested a review from a team as a code owner September 29, 2022 06:14
@skmono skmono temporarily deployed to intel_workflow September 29, 2022 06:14 Inactive
@skmono skmono temporarily deployed to intel_workflow September 29, 2022 06:15 Inactive
@skmono skmono temporarily deployed to intel_workflow September 29, 2022 06:15 Inactive
@skmono skmono merged commit 8d86ddc into development Sep 29, 2022
@skmono skmono deleted the skmono/detect_avx_runtime branch September 29, 2022 07:22
skmono pushed a commit that referenced this pull request Nov 15, 2022
* initial release

* Update CODEOWNERS (#1)

* Minor updates (#4)

* Minor updates
- Updated contributors
- Added code of conduct
- Updated CI/CD

* ModExp function: remove padding & code clean (#6)

- Remove padding operation in ippsModExp function
- Let ippsMBModExp function support modulus of different bit size(in one vector)
- Code clean

* ippsModExp & unittests: corner case fix (#7)

* Improve RNG security (#9)

* Fix insecure prng (#3)
- Add RDSEED and RDRAND instruction check in compile time
- Prioritize RDSEED/RDRAND based RNG to produce random big number

* Add RNG support for non-RDRAND, non-RDSEED systems (#5)
- Use IPP-Crypto pseudo random number generator if none of those instructions are supported

* Removing seed setup and replacing rng function for PrimeGen_BN (#8)
- Remove seed setup for prime number generator
- Add support to TRNGen_RDSEED and PRNGen_RDRAND for prime number generator

Co-authored-by: Pengfei Zhao <pengfei.zhao@intel.com>

* Refactor apply obfuscator (#10)

- Refactor apply_obfuscator
- minor typo fix

* Update ipp-crypto version to use ippcp_2021.6 (#12)

- Minor update to use IPP-Crypto v2021.6

* 13 errors building installing questions about docs (#15)

* Minor fixes
- Fix gbenchmark build error on other platforms
- Fixed IPCLTargets typo
- Update version to 1.1.4

* Update to 1.1.4 (#17) (#20)

* Improve RNG security (#9)
* Fix insecure prng (#3)
- Add RDSEED and RDRAND instruction check in compile time
- Prioritize RDSEED/RDRAND based RNG to produce random big number
* Add RNG support for non-RDRAND, non-RDSEED systems (#5)
- Use IPP-Crypto pseudo random number generator if none of those instructions are supported
* Removing seed setup and replacing rng function for PrimeGen_BN (#8)
- Remove seed setup for prime number generator
- Add support to TRNGen_RDSEED and PRNGen_RDRAND for prime number generator

* Refactor apply obfuscator (#10)
- Refactor apply_obfuscator
- minor typo fix

* Update version for 1.1.4
* Update ipp-crypto version to use ippcp_2021.6 (#12)
- Minor update to use IPP-Crypto v2021.6

* 13 errors building installing questions about docs (#15)
* Minor fixes
- Fix gbenchmark build error on other platforms
- Fixed IPCLTargets typo
- Update version to 1.1.4

Co-authored-by: Pengfei Zhao <pengfei.zhao@intel.com>

* Add ipcl.hpp public header & cleanup ipcl/CMakeLists.txt (#22)

* Cleanup ipcl/CMakeLists.txt
* Refactor header - rename keygen.hpp with ipcl.hpp, use it as public header
* Unit test & benchmark: replace header files with public header - ipcl.hpp

* Improve installation and support runtime IFMA detection (#23)

* Add option to determine AVX512IFMA during runtime (#18)
- Add CMake flag to enable runtime version (```IPCL_DETECT_IFMA_RUNTIME```)
- Add ```cpu_features``` dependency
- Add manual IFMA disabling with environment variable (```IPCL_DISABLE_AVX512IFMA=ON```)
- Updated README to include AVX512IFMA runtime detection option

* Fixed shared library build
- Refactor cmake configurations
- Added example code

* Added build and usage documentation
- Fixed minor typos and updated flag names to be more consistent
- Cleaned up example CMake file

* Added examples documentation
- Build and install instruction
- Linking and compiling instruction
- Usage examples

* Fixed typo in root README (#24)

Co-authored-by: Pengfei Zhao <pengfei.zhao@intel.com>
skmono pushed a commit that referenced this pull request Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve/fix using IPCL installation
1 participant