pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/wolfssl



Module Name:    pkgsrc
Committed By:   fox
Date:           Thu May  1 14:53:41 UTC 2025

Modified Files:
        pkgsrc/security/wolfssl: Makefile PLIST distinfo

Log Message:
security/wolfssl: Update to 5.8.0

Changes since 5.7.6:

To download the release bundle of wolfSSL visit the download page at www.wolfssl.com/download/

NOTE: * --enable-heapmath is deprecated

PR stands for Pull Request, and PR references a GitHub pull request
number where the code change was added.
New Feature Additions

  * Algorithm registration in the Linux kernel module for all supported FIPS AES,
    SHA, HMAC, ECDSA, ECDH, and RSA modes, key sizes, and digest sizes.
  * Implemented various fixes to support building for Open Watcom including OS/2
    support and Open Watcom 1.9 compatibility (PR 8505, 8484)
  * Added support for STM32H7S (tested on NUCLEO-H7S3L8) (PR 8488)
  * Added support for STM32WBA (PR 8550)
  * Added Extended Master Secret Generation Callback to the --enable-pkcallbacks
    build (PR 8303)
  * Implement AES-CTS (configure flag --enable-aescts) in wolfCrypt (PR 8594)
  * Added support for libimobiledevice commit 860ffb (PR 8373)
  * Initial ASCON hash256 and AEAD128 support based on NIST SP 800-232 IPD
    (PR 8307)
  * Added blinding option when using a Curve25519 private key by defining the
    macro WOLFSSL_CURVE25519_BLINDING (PR 8392)

Linux Kernel Module

  * Production-ready LKCAPI registration for cbc(aes), cfb(aes), gcm(aes),
    rfc4106 (gcm(aes)), ctr(aes), ofb(aes), and ecb(aes), ECDSA with P192, P256,
    P384, and P521 curves, ECDH with P192, P256, and P384 curves, and RSA with
    bare and PKCS1 padding
  * Various fixes for LKCAPI wrapper for AES-CBC and AES-CFB (PR 8534, 8552)
  * Adds support for the legacy one-shot AES-GCM back end (PR 8614, 8567) for
    compatibility with FIPS 140-3 Cert #4718.
  * On kernel >=6.8, for CONFIG_FORTIFY_SOURCE, use 5-arg fortify_panic() override
    macro (PR 8654)
  * Update calls to scatterwalk_map() and scatterwalk_unmap() for linux commit
    7450ebd29c (merged for Linux 6.15) (PR 8667)
  * Inhibit LINUXKM_LKCAPI_REGISTER_ECDH on kernel <5.13 (PR 8673)
  * Fix for uninitialized build error with fedora (PR 8569)
  * Register ecdsa, ecdh, and rsa for use with linux kernel crypto (PR 8637, 8663,
    8654)
  * Added force zero shared secret buffer, and clear of old key with ecdh
    (PR 8685)
  * Update fips-check.sh script to pickup XTS streaming support on aarch64 and
    disable XTS-384 as an allowed use in FIPS mode (PR 8509, 8546)

Enhancements and Optimizations
Security & Cryptography

  * Add constant-time implementation improvements for encoding functions. We thank
    Zhiyuan and Gilles for sharing a new constant-time analysis tool (CT-LLVM) and
    reporting several non-constant-time implementations. (PR 8396, 8617)
    Additional support for PKCS7 verify and decode with indefinite lengths
    (PR 8520, 834, 8645)
  * Add more PQC hybrid key exchange algorithms such as support for combinations
    with X25519 and X448 enabling compatibility with the PQC key exchange support
    in Chromium browsers and Mozilla Firefox (PR 7821)
  * Add short-circuit comparisons to DH key validation for RFC 7919 parameters
    (PR 8335)
  * Improve FIPS compatibility with various build configurations for more resource
    constrained builds (PR 8370)
  * Added option to disable ECC public key order checking (PR 8581)
  * Allow critical alt and basic constraints extensions (PR 8542)
  * New codepoint for MLDSA to help with interoperability (PR 8393)
  * Add support for parsing trusted PEM certs having the header
    “BEGIN_TRUSTED_CERT” (PR 8400)
  * Add support for parsing only of DoD certificate policy and Comodo Ltd PKI OIDs
    (PR 8599, 8686)
  * Update ssl code in src/*.c to be consistent with wolfcrypt/src/asn.c
    handling of ML_DSA vs Dilithium and add dual alg. test (PR 8360, 8425)

Build System, Configuration, CI & Protocols

  * Internal refactor for include of config.h and when building with
    BUILDING_WOLFSSL macro. This refactor will give a warning of “deprecated
    function” when trying to improperly use an internal API of wolfSSL in an
    external application. (PR 8640, 8647, 8660, 8662, 8664)
  * Add WOLFSSL_CLU option to CMakeLists.txt (PR 8548)
  * Add CMake and Zephyr support for XMSS and LMS (PR 8494)
  * Added GitHub CI for CMake builds (PR 8439)
  * Added necessary macros when building wolfTPM Zephyr with wolfSSL (PR 8382)
  * Add MSYS2 build continuous integration test (PR 8504)
  * Update DevKitPro doc to list calico dependency with build commands (PR 8607)
    Conversion compiler warning fixes and additional continuous integration test
    added (PR 8538)
  * Enable DTLS 1.3 by default in --enable-jni builds (PR 8481)
  * Enabled TLS 1.3 middlebox compatibility by default for --enable-jni builds
    (PR 8526)

Performance Improvements

  * Performance improvements AES-GCM and HMAC (in/out hash copy) (PR 8429)
    LMS fixes and improvements adding API to get Key ID from raw private key,
    change to identifiers to match standard, and fix for when
    WOLFSSL_LMS_MAX_LEVELS is 1 (PR 8390, 8684, 8613, 8623)
  * ML-KEM/Kyber improvements and fixes; no malloc builds, small memory usage,
    performance improvement, fix for big-endian (PR 8397, 8412, 8436, 8467, 8619,
    8622, 8588)
  * Performance improvements for AES-GCM and when doing multiple HMAC operations
    (PR 8445)

Assembly and Platform-Specific Enhancements

  * Poly1305 arm assembly changes adding ARM32 NEON implementation and fix for
  * Aarch64 use (PR 8344, 8561, 8671)
  * Aarch64 assembly enhancement to use more CPU features, fix for FreeBSD/OpenBSD
    (PR 8325, 8348)
  * Only perform ARM assembly CPUID checks if support was enabled at build time
    (PR 8566)
  * Optimizations for ARM32 assembly instructions on platforms less than ARMv7
    (PR 8395)
  * Improve MSVC feature detection for static assert macros (PR 8440)
  * Improve Espressif make and CMake for ESP8266 and ESP32 series (PR 8402)
  * Espressif updates for Kconfig, ESP32P4 and adding a sample user_settings.h
    (PR 8422, PR 8641)

OpenSSL Compatibility Layer

  * Modification to the push/pop to/from in OpenSSL compatibility layer. This is
    a pretty major API change in the OpenSSL compatibility stack functions.
    Previously the API would push/pop from the beginning of the list but now they
    operate on the tail of the list. This matters when using the sk_value with
    index values. (PR 8616)
  * OpenSSL Compat Layer: OCSP response improvements (PR 8408, 8498)
  * Expand the OpenSSL compatibility layer to include an implementation of
    BN_CTX_get (PR 8388)

API Additions and Modifications

  * Refactor Hpke to allow multiple uses of a context instead of just one shot
    mode (PR 6805)
  * Add support for PSK client callback with Ada and use with Alire (thanks
    @mgrojo, PR 8332, 8606)
  * Change wolfSSL_CTX_GenerateEchConfig to generate multiple configs and add
    functions wolfSSL_CTX_SetEchConfigs and wolfSSL_CTX_SetEchConfigsBase64 to
    rotate the server's echConfigs (PR 8556)
  * Added the public API wc_PkcsPad to do PKCS padding (PR 8502)
  * Add NULL_CIPHER_TYPE support to wolfSSL_EVP_CipherUpdate (PR 8518)
  * Update Kyber APIs to ML-KEM APIs (PR 8536)
  * Add option to disallow automatic use of "default" devId using the macro
    WC_NO_DEFAULT_DEVID (PR 8555)
  * Detect unknown key format on ProcessBufferTryDecode() and handle RSA-PSSk
    format (PR 8630)

Porting and Language Support

  * Update Python port to support version 3.12.6 (PR 8345)
  * New additions for MAXQ with wolfPKCS11 (PR 8343)
  * Port to ntp 4.2.8p17 additions (PR 8324)
  * Add version 0.9.14 to tested libvncserver builds (PR 8337)

General Improvements and Cleanups

  * Cleanups for STM32 AES GCM (PR 8584)
  * Improvements to isascii() and the CMake key log option (PR 8596)
  * Arduino documentation updates, comments and spelling corrections (PR 8381,
    8384, 8514)
  * Expanding builds with WOLFSSL_NO_REALLOC for use with --enable-opensslall and
    --enable-all builds (PR 8369, 8371)

Fixes

  * Fix a use after free caused by an early free on error in the X509 store
    (PR 8449)
  * Fix to account for existing PKCS8 header with
    wolfSSL_PEM_write_PKCS8PrivateKey (PR 8612)
  * Fixed failing CMake build issue when standard threads support is not found in
    the system (PR 8485)
  * Fix segmentation fault in SHA-512 implementation for AVX512 targets built with
    gcc -march=native -O2 (PR 8329)
  * Fix Windows socket API compatibility warning with mingw32 build (PR 8424)
  * Fix potential null pointer increments in cipher list parsing (PR 8420)
  * Fix for possible stack buffer overflow read with wolfSSL_SMIME_write_PKCS7.
  * Thanks to the team at Code Intelligence for the report. (PR 8466)
  * Fix AES ECB implementation for Aarch64 ARM assembly (PR 8379)
  * Fixed building with VS2008 and .NET 3.5 (PR 8621)
  * Fixed possible error case memory leaks in CRL and EVP_Sign_Final (PR 8447)
  * Fixed SSL_set_mtu compatibility function return code (PR 8330)
  * Fixed Renesas RX TSIP (PR 8595)
  * Fixed ECC non-blocking tests (PR 8533)
  * Fixed CMake on MINGW and MSYS (PR 8377)
  * Fixed Watcom compiler and added new CI test (PR 8391)
  * Fixed STM32 PKA ECC 521-bit support (PR 8450)
  * Fixed STM32 PKA with P521 and shared secret (PR 8601)
  * Fixed crypto callback macro guards with DEBUG_CRYPTOCB (PR 8602)
  * Fix outlen return for RSA private decrypt with WOLF_CRYPTO_CB_RSA_PAD
    (PR 8575)
  * Additional sanity check on r and s lengths in DecodeECC_DSA_Sig_Bin (PR 8350)
  * Fix compat. layer ASN1_TIME_diff to accept NULL output params (PR 8407)
  * Fix CMake lean_tls build (PR 8460)
  * Fix for QUIC callback failure (PR 8475)
  * Fix missing alert types in AlertTypeToString for print out with debugging
    enabled (PR 8572)
  * Fixes for MSVS build issues with PQC configure (PR 8568)
  * Fix for SE050 port and minor improvements (PR 8431, 8437)
  * Fix for missing rewind function in zephyr and add missing files for compiling
    with assembly optimizations (PR 8531, 8541)
  * Fix for quic_record_append to return the correct code (PR 8340, 8358)
  * Fixes for Bind 9.18.28 port (PR 8331)
  * Fix to adhere more closely with RFC8446 Appendix D and set haveEMS when
    negotiating TLS 1.3 (PR 8487)
  * Fix to properly check for signature_algorithms from the client in a TLS 1.3
    server (PR 8356)
  * Fix for when BIO data is less than seq buffer size. Thanks to the team at Code
  * Intelligence for the report (PR 8426)
  * ARM32/Thumb2 fixes for WOLFSSL_NO_VAR_ASSIGN_REG and td4 variable declarations
    (PR 8590, 8635)
  * Fix for Intel AVX1/SSE2 assembly to not use vzeroupper instructions unless ymm
    or zmm registers are used (PR 8479)
  * Entropy MemUse fix for when block size less than update bits (PR 8675)


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/security/wolfssl/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/security/wolfssl/PLIST
cvs rdiff -u -r1.27 -r1.28 pkgsrc/security/wolfssl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/wolfssl/Makefile
diff -u pkgsrc/security/wolfssl/Makefile:1.26 pkgsrc/security/wolfssl/Makefile:1.27
--- pkgsrc/security/wolfssl/Makefile:1.26       Thu Jan  2 12:24:47 2025
+++ pkgsrc/security/wolfssl/Makefile    Thu May  1 14:53:41 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2025/01/02 12:24:47 fox Exp $
+# $NetBSD: Makefile,v 1.27 2025/05/01 14:53:41 fox Exp $
 
-DISTNAME=      wolfssl-5.7.6
+DISTNAME=      wolfssl-5.8.0
 CATEGORIES=    security
 MASTER_SITES=  http://www.wolfssl.com/
 EXTRACT_SUFX=  .zip

Index: pkgsrc/security/wolfssl/PLIST
diff -u pkgsrc/security/wolfssl/PLIST:1.14 pkgsrc/security/wolfssl/PLIST:1.15
--- pkgsrc/security/wolfssl/PLIST:1.14  Mon Oct 28 22:47:51 2024
+++ pkgsrc/security/wolfssl/PLIST       Thu May  1 14:53:41 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2024/10/28 22:47:51 fox Exp $
+@comment $NetBSD: PLIST,v 1.15 2025/05/01 14:53:41 fox Exp $
 bin/wolfssl-config
 include/wolfssl/callbacks.h
 include/wolfssl/certs_test.h
@@ -72,6 +72,7 @@ include/wolfssl/test.h
 include/wolfssl/version.h
 include/wolfssl/wolfcrypt/aes.h
 include/wolfssl/wolfcrypt/arc4.h
+include/wolfssl/wolfcrypt/ascon.h
 include/wolfssl/wolfcrypt/asn.h
 include/wolfssl/wolfcrypt/asn_public.h
 include/wolfssl/wolfcrypt/blake2-impl.h
@@ -96,8 +97,8 @@ include/wolfssl/wolfcrypt/eccsi.h
 include/wolfssl/wolfcrypt/ed25519.h
 include/wolfssl/wolfcrypt/ed448.h
 include/wolfssl/wolfcrypt/error-crypt.h
-include/wolfssl/wolfcrypt/ext_kyber.h
 include/wolfssl/wolfcrypt/ext_lms.h
+include/wolfssl/wolfcrypt/ext_mlkem.h
 include/wolfssl/wolfcrypt/ext_xmss.h
 include/wolfssl/wolfcrypt/falcon.h
 include/wolfssl/wolfcrypt/fe_448.h
@@ -110,7 +111,6 @@ include/wolfssl/wolfcrypt/hmac.h
 include/wolfssl/wolfcrypt/hpke.h
 include/wolfssl/wolfcrypt/integer.h
 include/wolfssl/wolfcrypt/kdf.h
-include/wolfssl/wolfcrypt/kyber.h
 include/wolfssl/wolfcrypt/lms.h
 include/wolfssl/wolfcrypt/logging.h
 include/wolfssl/wolfcrypt/md2.h
@@ -119,6 +119,7 @@ include/wolfssl/wolfcrypt/md5.h
 include/wolfssl/wolfcrypt/mem_track.h
 include/wolfssl/wolfcrypt/memory.h
 include/wolfssl/wolfcrypt/misc.h
+include/wolfssl/wolfcrypt/mlkem.h
 include/wolfssl/wolfcrypt/mpi_class.h
 include/wolfssl/wolfcrypt/mpi_superclass.h
 include/wolfssl/wolfcrypt/pkcs12.h
@@ -147,8 +148,8 @@ include/wolfssl/wolfcrypt/tfm.h
 include/wolfssl/wolfcrypt/types.h
 include/wolfssl/wolfcrypt/visibility.h
 include/wolfssl/wolfcrypt/wc_encrypt.h
-include/wolfssl/wolfcrypt/wc_kyber.h
 include/wolfssl/wolfcrypt/wc_lms.h
+include/wolfssl/wolfcrypt/wc_mlkem.h
 include/wolfssl/wolfcrypt/wc_port.h
 include/wolfssl/wolfcrypt/wc_xmss.h
 include/wolfssl/wolfcrypt/wolfevent.h

Index: pkgsrc/security/wolfssl/distinfo
diff -u pkgsrc/security/wolfssl/distinfo:1.27 pkgsrc/security/wolfssl/distinfo:1.28
--- pkgsrc/security/wolfssl/distinfo:1.27       Thu Jan  2 12:24:47 2025
+++ pkgsrc/security/wolfssl/distinfo    Thu May  1 14:53:41 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2025/01/02 12:24:47 fox Exp $
+$NetBSD: distinfo,v 1.28 2025/05/01 14:53:41 fox Exp $
 
-BLAKE2s (wolfssl-5.7.6.zip) = 836b417111520433d4f3609ead03d00d8d19bf418ab05906924483072684b0e0
-SHA512 (wolfssl-5.7.6.zip) = 297c85d144473b48924e269c4ac4b44912812943a075cda44dccef438f4051cfaa6196eeabcef749446a98c535da55c5c42c892a6fd8c4c565753c02989eb21f
-Size (wolfssl-5.7.6.zip) = 26109443 bytes
+BLAKE2s (wolfssl-5.8.0.zip) = 83b30a8f5be80dafa668ee1678e30325a0ca15ecf30c546620c57474f2760d95
+SHA512 (wolfssl-5.8.0.zip) = 5c62331a2a8f7c7208e4ba4cbee1040d93de03c221fa213ac490c1eadee214239fdb13d5f7b13544ad82d9f75c77d254735248dbb96f9b1a6ecf1fe00f64c737
+Size (wolfssl-5.8.0.zip) = 26569473 bytes



Home | Main Index | Thread Index | Old Index