Commit Graph

  • 9430c8a5a1 Merge pull request #9003 from embhorn/cov_531298 JacobBarthelmeh 2025-07-14 16:20:19 -06:00
  • 049e88b525 linuxkm/module_hooks.c: use MODULE_LICENSE("GPL"). Daniel Pouzzner 2025-07-14 16:30:13 -05:00
  • af3296a836 wc_PKCS7_KeyWrap(): mark pointers as to const and check for NULL Josh Holtrop 2025-07-14 17:28:23 -04:00
  • 2c341a5806 Merge pull request #8990 from JacobBarthelmeh/license Daniel Pouzzner 2025-07-14 16:14:39 -05:00
  • 91321fccec Merge pull request #8992 from douzzer/20250710-WC_ASN_RUNTIME_DATE_CHECK_CONTROL JacobBarthelmeh 2025-07-14 15:08:35 -06:00
  • 9c2ea12563 Fix blake2 final coverity issue Eric Blankenhorn 2025-07-14 15:04:15 -05:00
  • 429ccd5456 Add callback functions for custom AES key wrap/unwrap operations Josh Holtrop 2025-07-11 16:08:53 -04:00
  • efdca85aec Fix blake2 final coverity issue Eric Blankenhorn 2025-07-14 14:53:37 -05:00
  • 1f71e6d246 Merge pull request #8998 from douzzer/20250712-linuxkm-all-aes-sha-hmac philljj 2025-07-14 14:19:09 -05:00
  • bbc5dc528b Merge pull request #9001 from douzzer/20250714-linuxkm-fix-page-flags-h philljj 2025-07-14 12:59:26 -05:00
  • 80c9212dd9 linuxkm/linuxkm_wc_port.h, linuxkm/lkcapi_aes_glue.c, configure.ac: fix LKCAPI on kernel 5.4 (sunrise version for LKCAPI), and add all-aes, all-sha, all-hmac, and their negations, to --enable-linuxkm-lkcapi-register. Daniel Pouzzner 2025-07-14 12:39:41 -05:00
  • ee3b459e16 linuxkm/linuxkm_wc_port.h: refactor the fix for folio_flags()/const_folio_flags() text segment spam -- inhibiting inclusion of linux/page-flags.h breaks on some kernel configs. Daniel Pouzzner 2025-07-14 10:27:35 -05:00
  • 99d26f0347 Merge pull request #8977 from BridgerVoss/new_settings JacobBarthelmeh 2025-07-14 09:05:56 -06:00
  • ec252a73e2 fix whitespace and long line Hideki Miyazaki 2025-07-12 10:26:28 +09:00
  • eb8a3afe38 Addressed code review comments Hideki Miyazaki 2025-07-12 09:49:09 +09:00
  • dc3209b797 Add macro to .wolfssl_known_macro_extras Anthony Hu 2025-07-11 14:59:43 -04:00
  • 9fa1d2e75f Enforce WOLFSSL_MAX_PATH_LEN for ASN original as well. Kareem 2025-07-11 11:53:33 -07:00
  • 1a0a3283a0 Add a test. Anthony Hu 2025-07-10 12:52:43 -04:00
  • 607d5d798b Merge pull request #8994 from douzzer/20250711-linuxkm-distro-fix philljj 2025-07-11 13:01:51 -05:00
  • d90394efa6 wolfcrypt/src/asn.c and wolfssl/wolfcrypt/asn.h: add WC_ASN_RUNTIME_DATE_CHECK_CONTROL, with accessors wc_AsnSetSkipDateCheck() (WOLFSSL_TEST_VIS) and wc_AsnGetSkipDateCheck() (WOLFSSL_LOCAL). use this to permafix test_wolfSSL_CRL_duplicate_extensions() in api.c, which has an expiring-soon handcrafted certificate in it. Daniel Pouzzner 2025-07-11 11:25:25 -05:00
  • 70bdd9f990 Merge pull request #8989 from rlm2002/zd20212 David Garske 2025-07-11 08:58:30 -07:00
  • a36f9085c1 Fix for compat wolfSSL_RSA_sign and wolfSSL_RSA_verify to support RSA PSS with custom salt and mgf1 hash type. Adds compat API's for i2d_PrivateKey_bio , BN_ucmp and X509v3_get_ext_by_NID. ZD 20059 David Garske 2025-07-11 08:51:51 -07:00
  • 0001bf7983 linuxkm/patches/: in regen-patches.sh, structure the pathnames to mollify kernel scripts/checkpatch.pl; Daniel Pouzzner 2025-07-11 09:30:23 -05:00
  • 1e3966f06d linuxkm/include.am: add kernel patches to EXTRA_DIST. Daniel Pouzzner 2025-07-11 09:29:40 -05:00
  • c4a178f029 Remove trailing whitespace Hideki Miyazaki 2025-07-11 22:12:49 +09:00
  • e9def03585 Null check before accessing instance Hideki Miyazaki 2025-07-11 17:48:36 +09:00
  • 0a0b9a3c24 Make properties related to TLS handshake hidden for TSIP TLS user context structure Hideki Miyazaki 2025-07-11 14:16:03 +09:00
  • 388eea3cf2 Merge pull request #8976 from holtrop/decode-encrypted-key-package JacobBarthelmeh 2025-07-10 17:08:06 -06:00
  • 01cd91cbea removing more locations of WOLFSSL_API used with function implementations JacobBarthelmeh 2025-07-10 16:44:28 -06:00
  • 046e46a67f Merge pull request #8825 from kareem-wolfssl/zd19911 Sean Parkinson 2025-07-11 08:36:55 +10:00
  • 8d68977e33 Merge pull request #8985 from sebastian-carpenter/GH-issue-8951 David Garske 2025-07-10 15:21:20 -07:00
  • e65647faa8 xmemset rng before test runs Ruby Martin 2025-07-10 15:31:34 -06:00
  • 4d4228caa1 Merge pull request #8815 from kareem-wolfssl/zd19929 David Garske 2025-07-10 15:17:39 -07:00
  • 629c5b4cf6 updating license from GPLv2 to GPLv3 JacobBarthelmeh 2025-07-10 16:01:52 -06:00
  • 362f0a2cfd Ensure only one of the RPK algorithm parameters are set. Kareem 2025-07-10 12:43:14 -07:00
  • 13b8a972ea remove WOLFSSL_API in source code when already used in header file for function decleration JacobBarthelmeh 2025-07-10 13:40:27 -06:00
  • 3ce8c6e4fa Remove WOLFSSL_API for wc_PKCS7_DecodeEncryptedKeyPackage() in source file Josh Holtrop 2025-07-10 15:29:31 -04:00
  • f776c95e54 Remove do/while(0) loop in wc_PKCS7_DecodeEncryptedKeyPackage(); use if-else if chain Josh Holtrop 2025-07-10 15:25:57 -04:00
  • f942990113 Fix building unit tests with --enable-rpk --disable-rsa. Kareem 2025-05-30 11:39:04 -07:00
  • 2df674bd59 Correct RPK parsing. As per RFC7250 section 3, the algorithm parameters are optional. Kareem 2025-05-22 12:06:38 -07:00
  • 047d1bd69f Merge pull request #8986 from kareem-wolfssl/pskYml David Garske 2025-07-10 11:50:08 -07:00
  • bfacbf9764 Update ASN original to also allow larger pathLen values in Basic Constraints. Kareem 2025-07-10 11:47:47 -07:00
  • c7ff47d5ee Merge pull request #8984 from douzzer/20250710-linuxkm-crng-fixes philljj 2025-07-10 13:32:17 -05:00
  • aa3a325add Fix missing comma in psk.yml Kareem 2025-07-10 10:52:11 -07:00
  • f0459eb1cf Allow larger pathLen values in Basic Constraints. Kareem 2025-06-04 15:19:43 -07:00
  • c9d451e857 Fix wolfSSL_BIO_new_connect's handling of IPV6 addresses. Kareem 2025-05-29 11:44:26 -07:00
  • a00cfcb55f improper access of sp_int_minimal using sp_int Sebastian Carpenter 2025-07-10 10:42:30 -06:00
  • b4137fe2f8 linuxkm/lkcapi_sha_glue.c: add interruptibility and additional relaxation where possible, and fix a leaked lock scenario, in get_drbg_n(), wc_linuxkm_drbg_seed(), wc_mix_pool_bytes(), and wc_crng_reseed(); Daniel Pouzzner 2025-07-10 10:59:57 -05:00
  • ed6d189f1a Merge pull request #8980 from douzzer/20250706-linuxkm-fixes philljj 2025-07-10 10:34:59 -05:00
  • 4bd2835cf1 Change suggested by SparkiDev Anthony Hu 2025-07-10 10:40:12 -04:00
  • ae48ee408e Merge pull request #8983 from philljj/linuxkm_make_rsa_again Daniel Pouzzner 2025-07-10 09:29:29 -05:00
  • 6d51b73626 Shorten some wc_PKCS7_DecodeEncryptedKeyPackage() comment lines to less than 80 characters Josh Holtrop 2025-07-10 08:10:59 -04:00
  • 3f65846e67 Document BAD_FUNC_ARG return value for wc_PKCS7_DecodeEncryptedKeyPackage() Josh Holtrop 2025-07-10 08:07:32 -04:00
  • 783ab14afb Merge pull request #8982 from dgarske/x509_ref Sean Parkinson 2025-07-10 20:37:57 +10:00
  • f49e583721 linuxkm/Kbuild: skip "section(s) missed by containerization" test unless KERNEL_ARCH_X86; Daniel Pouzzner 2025-07-10 00:57:51 -05:00
  • e73fa74f14 linuxkm: misc cleanup. jordan 2025-07-09 21:43:02 -05:00
  • 0aacffd6a2 linuxkm rsa: retry wc_MakeRsaKey if not prime. jordan 2025-07-09 20:55:50 -05:00
  • b2143a815f Merge pull request #8965 from SparkiDev/ppc32_sha256_spe David Garske 2025-07-09 17:00:26 -07:00
  • 2b07b9143b Fix issue with X509 reference counter with --enable-opensslextra=x509small or OPENSSL_EXTRA_X509_SMALL. Thank you Mohre. David Garske 2025-07-09 16:51:48 -07:00
  • 98adb330ef Merge pull request #8981 from dgarske/mldsa Sean Parkinson 2025-07-10 09:41:36 +10:00
  • 7ba6f836c4 Merge pull request #8972 from SparkiDev/sp_int_8_bit_fix David Garske 2025-07-09 16:30:33 -07:00
  • c3518e473b Merge pull request #8971 from SparkiDev/psk_build_fix David Garske 2025-07-09 16:30:22 -07:00
  • b0a5d2fdf0 Merge pull request #8969 from SparkiDev/alpn_gcc_Os_fix David Garske 2025-07-09 16:30:12 -07:00
  • cf35abccb8 Merge pull request #8963 from SparkiDev/sp_int_type_fix David Garske 2025-07-09 16:30:01 -07:00
  • ae19c55182 Merge pull request #8966 from SparkiDev/arm32_aes_asm_fixup_bne David Garske 2025-07-09 16:29:46 -07:00
  • 01e8815762 wolfssl/wolfcrypt/settings.h: add #define WOLFSSL_NO_PUBLIC_FFDHE and #undef HAVE_PUBLIC_FFDHE to WOLFSSL_LINUXKM setup to avoid .data.rel.ro.local functions in dh.c; Daniel Pouzzner 2025-07-09 18:22:01 -05:00
  • 7c6afeb106 add linuxkm/wolfcrypt.lds module linker script, explicitly grouping wolfcrypt sections together; Daniel Pouzzner 2025-07-09 16:29:04 -05:00
  • f733ade6a2 linuxkm/{linuxkm_wc_port.h,module_hooks.c}: add feature gates around wolfCrypt_FIPS_*_sanity() references matching those in fips_test.c. Daniel Pouzzner 2025-07-06 09:55:05 -05:00
  • 3f83ed2815 Merge pull request #8960 from ribes96/certwrite-custext David Garske 2025-07-09 16:13:07 -07:00
  • 3c00e26274 Merge pull request #8974 from rlm2002/coverity_fix David Garske 2025-07-09 16:12:42 -07:00
  • 5d89ca6706 Fix build issue with ML-DSA 44 only. Fix --enable-mlkem=all to enable features (keygen/enc/dec) to match --enable-dilithium behavior and allow uses like: --enable-mlkem=all,512,small. Fix issue building mem track with missing PRINT_HEAP_ADDRESS (reproduced with --enable-trackmemory=verbose --enable-stacksize=verbose). David Garske 2025-07-09 22:56:18 +01:00
  • e37082e496 Merge pull request #8978 from gojimmypi/pr-init-var David Garske 2025-07-09 15:03:22 -07:00
  • 97b3364720 FREESCALE forced algs moved to IDE/MQX/user_settings.h Bridger Voss 2025-07-08 16:23:29 -06:00
  • c83a452a3c Check for NULL pkiMsg in wc_PKCS7_DecodeEncryptedKeyPackage() Josh Holtrop 2025-07-09 14:41:58 -04:00
  • d2ab6edbab Add wc_PKCS7_DecodeEncryptedKeyPackage() Josh Holtrop 2025-07-03 17:00:07 -04:00
  • 57e2ae5a21 Abort TLS connection if legacy version field indicates TLS 1.3 or higher. Anthony Hu 2025-07-09 12:45:04 -04:00
  • ebeb95e47b Initialize Dilithium keyTypeTemp and keySizeTemp gojimmypi 2025-07-09 09:13:14 -07:00
  • 6de2557748 check buflen is less than BLAKE2B_BLOCKBYTES * 2 Ruby Martin 2025-07-09 09:58:44 -06:00
  • 7b7c658668 add null check to wc_Des_CbcEncrypt Ruby Martin 2025-07-07 14:10:41 -06:00
  • 703bd6d0ba Merge pull request #8975 from JeremiahM37/mldsa_static_mem David Garske 2025-07-09 08:22:51 -07:00
  • 0407ea131b Merge pull request #8970 from miyazakh/qt_jenkins_encryptedKey4PBKDF1 David Garske 2025-07-09 08:04:48 -07:00
  • f62d0fa256 check sigAlgs.size against WOLFSSL_MAX_SIGALGO Ruby Martin 2025-07-07 11:51:29 -06:00
  • d6a72e2480 PPC32 ARM ASM SHA-256: SPE impl, tidy up original Sean Parkinson 2025-07-04 11:14:16 +10:00
  • 88da86e900 ML DSA Static Memory Fix JeremiahM37 2025-07-08 15:16:00 -06:00
  • f44178ca1b Merge pull request #8973 from embhorn/zd20192 David Garske 2025-07-08 15:48:28 -07:00
  • 08ec3642f0 Merge pull request #8931 from julek-wolfssl/MAX_ENCODED_SIG_SZ-detected Sean Parkinson 2025-07-08 09:38:52 +10:00
  • 9b92b4c902 Merge pull request #8962 from rlm2002/coverity Sean Parkinson 2025-07-08 08:30:35 +10:00
  • 0d14ec3547 Fix curl Cmake config to set HAVE_EX_DATA and HAVE_ALPN Eric Blankenhorn 2025-07-07 17:15:11 -05:00
  • de00bf259d Fix curl config to set HAVE_EX_DATA and HAVE_ALPN Eric Blankenhorn 2025-07-07 15:00:14 -05:00
  • de59e9d25e change to BIO_free_all() on EXPECT_FAIL() Ruby Martin 2025-07-03 11:17:33 -06:00
  • 61e4142fe0 add null check for ssl before use in wc_DhGenerateKeyPair Ruby Martin 2025-07-02 15:48:25 -06:00
  • 65f9cdb498 free p2 before reassigning to reEncoded value Ruby Martin 2025-07-02 15:25:44 -06:00
  • 51c9448aa1 Detect correct MAX_ENCODED_SIG_SZ based on max support in math lib Juliusz Sosinowicz 2025-06-26 20:08:13 +02:00
  • f0041cd761 SP int: fix 8 bit words and sp_clamp_ct Sean Parkinson 2025-07-07 18:43:29 +10:00
  • e649e1047f API test ASN: must not have NO_ASN defined Sean Parkinson 2025-07-07 15:51:12 +10:00
  • ee8be22a3f Fix Qt nightly jenkins failure Hideki Miyazaki 2025-07-07 09:26:47 +09:00
  • 70e53d1a34 ALPN: don't use BIO Sean Parkinson 2025-07-07 08:41:22 +10:00
  • a40b56ccb5 Merge pull request #8964 from douzzer/20250703-linuxkm-fixes Daniel Pouzzner 2025-07-04 08:45:55 -05:00
  • ef3a1a28d9 linuxkm/linuxkm_wc_port.h, linuxkm/module_hooks.c, and wolfcrypt/src/wc_port.c: fixes for spinlocks on CONFIG_ARM64; Daniel Pouzzner 2025-07-03 22:09:34 -05:00
  • d1893dbdec ARM 32-bit ASM AES: fixup 32-bit code to not use B.EQ Sean Parkinson 2025-07-04 11:37:06 +10:00