Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Conversation

@skmono
Copy link
Contributor

@skmono skmono commented Aug 30, 2022

No description provided.

justalittlenoob and others added 3 commits August 7, 2022 07:12
* Add RDSEED and RDRAND instruction check in compile time
* Use RDSEED/RDRAND to produce random big number
- Uses IPP-Crypto pseudo random number generator if none of those instructions are supported
- Minor typo fixes
- getPrimeBN: remove seed setup
- ippsPrimeGen_BN: add support to TRNGen_RDSEED and PRNGen_RDRAND
@skmono skmono requested a review from a team as a code owner August 30, 2022 14:26
@skmono skmono temporarily deployed to intel_workflow August 30, 2022 14:26 Inactive
@skmono skmono temporarily deployed to intel_workflow August 30, 2022 14:42 Inactive
@skmono skmono temporarily deployed to intel_workflow August 30, 2022 14:42 Inactive
@skmono skmono merged commit d65876c into development Aug 30, 2022
@skmono skmono deleted the 2-insecure-prng-in-key-generation branch August 30, 2022 14:50
skmono pushed a commit that referenced this pull request Sep 16, 2022
* 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 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>
@skmono skmono mentioned this pull request Sep 16, 2022
skmono pushed a commit that referenced this pull request Sep 16, 2022
* 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>
skmono pushed a commit that referenced this pull request Nov 15, 2022
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
Enable performance features: support to multiple logical instances and multiple devices.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants