Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate Kyber from libjade (#1745)
* Add copy_from_libjade.yml Signed-off-by: Pravek Sharma <[email protected]> * Modify copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Add patches for libjade Kyber code Signed-off-by: Pravek Sharma <[email protected]> * Update alg_support.cmake templates Signed-off-by: Pravek Sharma <[email protected]> * Update KEM famiy templates Signed-off-by: Pravek Sharma <[email protected]> * Fix copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Correct copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Modify copy_from_upstream.yml Signed-off-by: Pravek Sharma <[email protected]> * Update KEM family templates Signed-off-by: Pravek Sharma <[email protected]> * Fix copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Fix KEM family templates Signed-off-by: Pravek Sharma <[email protected]> * Fix KEM family templates Signed-off-by: Pravek Sharma <[email protected]> * Update templates for build system files Signed-off-by: Pravek Sharma <[email protected]> * Update build system files Signed-off-by: Pravek Sharma <[email protected]> * Fix add_enable_by_alg_conditional.libjade Signed-off-by: Pravek Sharma <[email protected]> * Run copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Update KEM family templates Signed-off-by: Pravek Sharma <[email protected]> * Update KEM templates Signed-off-by: Pravek Sharma <[email protected]> * Update KEM templates Signed-off-by: Pravek Sharma <[email protected]> * Update copy_from_upstream.yml with libjade implementation info Signed-off-by: Pravek Sharma <[email protected]> * Update KEM templates Signed-off-by: Pravek Sharma <[email protected]> * Edit KEM templates Signed-off-by: Pravek Sharma <[email protected]> * Run copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Update copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Fix KEM temlates Signed-off-by: Pravek Sharma <[email protected]> * Run copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Add libjade_shim Signed-off-by: Pravek Sharma <[email protected]> * Add jasmin/libjade namespaces to test_binary.py Signed-off-by: Pravek Sharma <[email protected]> * Update testing Signed-off-by: Pravek Sharma <[email protected]> * Allow manually triggering CI tests Signed-off-by: Pravek Sharma <[email protected]> * Change container for upstreamcheck in unix.yml Signed-off-by: Pravek Sharma <[email protected]> * Update copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * Edit unix.yml Signed-off-by: Pravek Sharma <[email protected]> * Edit unix.yml Signed-off-by: Pravek Sharma <[email protected]> * Restrict copying of code from libjade repo to relevant files Signed-off-by: Pravek Sharma <[email protected]> * Remove irrelevant libjade code Signed-off-by: Pravek Sharma <[email protected]> * Remove redundant KEM templates Signed-off-by: Pravek Sharma <[email protected]> * Update KEM template to accomodate new dir structure Signed-off-by: Pravek Sharma <[email protected]> * Debug: tweak unix.yml Signed-off-by: Pravek Sharma <[email protected]> * Re-build libjade with jasmin version used in CI Signed-off-by: Pravek Sharma <[email protected]> * Debug: undo unix.yml tweak Signed-off-by: Pravek Sharma <[email protected]> * Allow MSVC to ignore libjade_shims Signed-off-by: Pravek Sharma <[email protected]> * Simplify name scheme for libjade code Signed-off-by: Pravek Sharma <[email protected]> * Update alg docs, libjade code name scheme, and license Signed-off-by: Pravek Sharma <[email protected]> * Update copy_from_upstream documentation Signed-off-by: Pravek Sharma <[email protected]> * Fix copy_from_upstream.py and simply libjade code name scheme Signed-off-by: Pravek Sharma <[email protected]> * Update alg docs and CBOM Signed-off-by: Pravek Sharma <[email protected]> * Correct alg doc generation Signed-off-by: Pravek Sharma <[email protected]> * Generate CBOM with unique bom-ref Signed-off-by: Pravek Sharma <[email protected]> * Cleanup unix.yml Signed-off-by: Pravek Sharma <[email protected]> * fix patches to include api.c; fix kem templates Signed-off-by: Pravek Sharma <[email protected]> * fix kyber patch Signed-off-by: Pravek Sharma <[email protected]> * turn off weekly constant time tests for libjade implementations Signed-off-by: Pravek Sharma <[email protected]> * update documentation Signed-off-by: Pravek Sharma <[email protected]> * change upstream to stable libjade release Signed-off-by: Pravek Sharma <[email protected]> * fix kyber documentation Signed-off-by: Pravek Sharma <[email protected]> * fix kyber documentation Signed-off-by: Pravek Sharma <[email protected]> * fix kem template again Signed-off-by: Pravek Sharma <[email protected]> * fix weekly.yml and unix.yml to test libjade code Signed-off-by: Pravek Sharma <[email protected]> * rename libjade asm files from *.s to *.S Signed-off-by: Pravek Sharma <[email protected]> * end libjade_kyber*/api.c files with newline Signed-off-by: Pravek Sharma <[email protected]> * fix kem template to prevent duplicate symbols in object files Signed-off-by: Pravek Sharma <[email protected]> * fix indentation in weekly.yml Signed-off-by: Pravek Sharma <[email protected]> * skip testing libjade on macos-14 in CI Signed-off-by: Pravek Sharma <[email protected]> * use release tag/branch with libjade upstream url instead of commit Signed-off-by: Pravek Sharma <[email protected]> * fix build error when OQS_ENABLE_LIBJADE_KEM_ALG=OFF Signed-off-by: Pravek Sharma <[email protected]> * initialize LIBJADE_RANDOMBYTES when OQS_LIBJADE_BUILD=OFF Signed-off-by: Pravek Sharma <[email protected]> * remove redundant comment Signed-off-by: Pravek Sharma <[email protected]> * fix comment typo Signed-off-by: Pravek Sharma <[email protected]> * make string explicit when comparing with variable in cmake Signed-off-by: Pravek Sharma <[email protected]> * add libjade kyber licensing to README.md Signed-off-by: Pravek Sharma <[email protected]> * remove reference to oldpqclean_kyber* code from libjade if branchin kem_kyber_*.c Signed-off-by: Pravek Sharma <[email protected]> * Update CMakeLists.txt Co-authored-by: Spencer Wilson <[email protected]> Signed-off-by: Pravek Sharma <[email protected]> * track jasminc version in copy_from_libjade.yml; check jasminc version in copy_from_upstream.py Signed-off-by: Pravek Sharma <[email protected]> * add OQS_LIBJADE_BUILD to build flags output Signed-off-by: Pravek Sharma <[email protected]> * remove link from CONFIGURE.md Signed-off-by: Pravek Sharma <[email protected]> * Update libjade to dual license Signed-off-by: Pravek Sharma <[email protected]> * Patch gcc version for MacOS CI runs Signed-off-by: Pravek Sharma <[email protected]> * Fix doc generation Signed-off-by: Pravek Sharma <[email protected]> * Fix libjade docs Signed-off-by: Pravek Sharma <[email protected]> * fix license info in README.md Signed-off-by: Pravek Sharma <[email protected]> * update libjade_randombytes spdx-license Signed-off-by: Pravek Sharma <[email protected]> --------- Signed-off-by: Pravek Sharma <[email protected]> Co-authored-by: Spencer Wilson <[email protected]>
- Loading branch information