20240424-sha-C-dynamic-fallback#7481
Merged
SparkiDev merged 10 commits intowolfSSL:masterfrom Apr 29, 2024
Merged
Conversation
…it(), allocate_wolfcrypt_linuxkm_fpu_states(), wc_linuxkm_fpu_state_assoc(), on FIPS.
…dd --enable-curve25519=noasm to allow use of the existing NO_CURVED25519_X64 code path by the linuxkm build (fe_x25519_asm.S is not kernel-compatible).
…t/src/sha256.c; remove stray definitions of XTRANSFORM*() in wolfcrypt/src/sha512.c; restore global intel_flags in the !WC_NO_INTERNAL_FUNCTION_POINTERS paths of sha256.c and sha512.c; disable test_wolfSSL_dtls_compare_stateless() in tests/api.c when DEBUG_VECTOR_REGISTER_ACCESS_FUZZING (it depends on a stable SHA512 hash of the in-memory struct WOLFSSL image).
…al() and wolfcrypt/test/test.c:openssl_test().
Contributor
Author
|
retest this please |
SparkiDev
requested changes
Apr 29, 2024
…hy, clarity, and efficiency in wolfcrypt/src/sha256.c and wolfcrypt/src/sha512.c.
Contributor
Author
|
retest this please |
SparkiDev
approved these changes
Apr 29, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rename
WC_AES_C_DYNAMIC_FALLBACKtoWC_C_DYNAMIC_FALLBACK.implement
WC_C_DYNAMIC_FALLBACKfor SHA-2 and SHA-3.linuxkm/linuxkm_memory.c: fix circular dependency aroundwolfCrypt_Init(),allocate_wolfcrypt_linuxkm_fpu_states(),wc_linuxkm_fpu_state_assoc(), on FIPS.implement full support for
--enable-intelasm --enable-linuxkm. also add--enable-curve25519=noasmto allow use of the existingNO_CURVED25519_X64code path by the linuxkm build (fe_x25519_asm.Sis not kernel-compatible).smallstack refactors of
wolfcrypt/src/evp.c:wolfssl_evp_digest_pk_final()andwolfcrypt/test/test.c:openssl_test().tested with
wolfssl-multi-test.sh ... super-quick-checkrevised to uselinuxkm-all-cryptonly-intelasm-fips-dev-dyn-hash-LKCAPI-insmod-mainline-fallback-fuzzing(aesni transitioned to intelasm), and retainingsanitizer-all-intelasm-c-fallback-fuzzerwith fuzzed sanitizedmake checkon all affected algs.