From ec672f13ff9d3cffbe5268d019216baa5557d611 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 16 Oct 2026 11:07:39 -0600 Subject: [PATCH 1/5] F-15063: correct AesCcm mallocNativeStruct() Javadoc to say allocation happens on first use --- src/main/java/com/wolfssl/wolfcrypt/AesCcm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java b/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java index 6d11b8611..1eec67ab8 100644 --- a/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java +++ b/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java @@ -80,8 +80,8 @@ public AesCcm(byte[] key) { } /** - * Malloc native Aes structure via JNI. Called by NativeStruct - * constructor when this object is created. + * Malloc native Aes structure via JNI. Called by initNativeStruct() + * on first use of this object. * * @return native allocated pointer * From 10234fd83272f4fb88ba3ac1fd11e5f988149156 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 16 Oct 2026 11:10:55 -0600 Subject: [PATCH 2/5] F-15064: correct AesGcm mallocNativeStruct() Javadoc to say allocation happens on first use --- src/main/java/com/wolfssl/wolfcrypt/AesGcm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java b/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java index 3f3d1dc8c..81669616a 100644 --- a/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java +++ b/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java @@ -107,8 +107,8 @@ public AesGcm(byte[] key) { } /** - * Malloc native Aes structure via JNI. Called by NativeStruct - * constructor when this object is created. + * Malloc native Aes structure via JNI. Called by initNativeStruct() + * on first use of this object. * * @return native allocated pointer * From 022a1c6a5962ef2d99c4a1a4de9761256ab433d8 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 16 Oct 2026 11:14:25 -0600 Subject: [PATCH 3/5] F-15065: name WOLFSSL_HAVE_MLDSA alongside HAVE_DILITHIUM in FeatureDetect.MlDsaEnabled() Javadoc --- src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java index 3150bc65f..f7ff21617 100644 --- a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java +++ b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java @@ -523,8 +523,8 @@ public class FeatureDetect { * Tests if ML-DSA (FIPS 204, formerly Dilithium) is compiled into the * native wolfSSL library. * - * @return true if enabled (HAVE_DILITHIUM), otherwise false if not - * compiled in. + * @return true if enabled (HAVE_DILITHIUM or WOLFSSL_HAVE_MLDSA), + * otherwise false if not compiled in. */ public static native boolean MlDsaEnabled(); From 658f990605ebd90184f3d747b7ce700c32f8b610 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 16 Oct 2026 11:16:07 -0600 Subject: [PATCH 4/5] F-15066: document the wolfSSL 5.9.2 requirement in FeatureDetect.LmsEnabled() Javadoc --- src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java index f7ff21617..d65497ff9 100644 --- a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java +++ b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java @@ -578,8 +578,8 @@ public class FeatureDetect { * Tests if LMS/HSS (RFC 8554) is compiled into the native wolfSSL * library. * - * @return true if enabled (WOLFSSL_HAVE_LMS), otherwise false if not - * compiled in. + * @return true if enabled (WOLFSSL_HAVE_LMS with native wolfSSL 5.9.2 + * or later), otherwise false. */ public static native boolean LmsEnabled(); From 92fa11de54414842bb302fd622ece8b1e818b677 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 16 Oct 2026 11:17:23 -0600 Subject: [PATCH 5/5] F-15067: document the wolfSSL 5.9.2 requirement in FeatureDetect.XmssEnabled() Javadoc --- src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java index d65497ff9..a3e624a3c 100644 --- a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java +++ b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java @@ -587,8 +587,8 @@ public class FeatureDetect { * Tests if XMSS/XMSS^MT (RFC 8391) is compiled into the native wolfSSL * library. * - * @return true if enabled (WOLFSSL_HAVE_XMSS), otherwise false if not - * compiled in. + * @return true if enabled (WOLFSSL_HAVE_XMSS with native wolfSSL 5.9.2 + * or later), otherwise false. */ public static native boolean XmssEnabled();