* sha256 cyrpto extensions seem to work, want to add neon version if crypto isn't available
* Added additional files to CMakeLists.txt
* SHA256 armv8 implementation is done. Still need to double check that everything is happen when complied on a non-arm system, and an arm system that doesn't have the cyrpto extensions
* Updated sha2 CMakeList.txt to resolve issue compiling on aws ARM system
* I think I have resolved the aws/rock1 build issues
* Removed an resolved TODO comment
* Fixed a cmake build bug when OQS_DIST_BUILD is "ON"
* Made CMAKE sha2 build more flexible when using OQS_DIST_BUILD
* Signature datasheets (#1053).
* Fixed a typo in the common CMakeLists.txt file related to SHA2
* Add runtime feature detection for macOS on Apple Silicon
* Changed macos_feature_detection to return unsigned int to fix warnings, and updated some uint32_t to const uint32_t to fix warnings on macOS on Apple silicon
Co-authored-by: Goutam Tamvada <xvzcf@users.noreply.github.com>
Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
* x86: Optimistic port to x86
No processor extensions support.
Tests are passed.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
* ppc64le: Optimistic port to ppc64le
No (AltiVec/VSX) processor extensions support is detected.
Tests are passed.
Note that `secure_cmp32` may require additional treatment for this
architecture.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
* Import BIKE Round-3 Additional code
* astyle fix
* Fix for the shared build
* Added KATs sha256sum for BIKE-L1 and BIKE-L3
* Add check if the compiler supports VPCLMUL flag (some older ones don't)
* Disable BIKE build on 32-bit ARM
* Addressing comments on the PR
Co-authored-by: Dusan Kostic <dkostic@amazon.com>
* Consistent type in KEM decaps API (#1004)
* uint8_t in non-PQClean KEM APIs
* uint8_t in PQCleam KEM APIs
* Additional uint8_t tweaks in PQClean KEM APIs
Co-authored-by: Sebastian <sebastianv89@users.noreply.github.com>
* test_sig: Add canaries around malloc'd regions
* test_sig/kem: disable canary checks in test_constant_time
* test_kem: test canaries after testing malformed ciphertext
* Fix potential NULL dereference in fix_test_kem
* Test without aligned pk, sk
This changes the test_kem.c functions like those in PQClean:
* also prefix magic bytes for checking for out-of-bounds access
* use odd numbers for breaking alignment
Includes #985
* Fix style
* rand.c: request at most 256 bytes per getentropy call
* CMake: Set OQS_HAVE_GETENTROPY
* rand.c: fopen/fread error handling
* rand.c: redundant test to silence warn_unused_result
* CMake: include CheckSymbolExists
UEFI/EDKII used openssl as crypto lib with OPENSSL_SYS_UEFI.
This patch adds OQS_SYS_UEFI macro in liboqs to indicate special build in UEFI/EDKII.
With this patch, we can start building liboqs in UEFI/EDKII.
For algorithm specific patches, we will submit one by one later.
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>