diff --git a/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java b/src/main/java/com/wolfssl/wolfcrypt/AesCcm.java index 6d11b861..1eec67ab 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 * diff --git a/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java b/src/main/java/com/wolfssl/wolfcrypt/AesGcm.java index 3f3d1dc8..81669616 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 * diff --git a/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java b/src/main/java/com/wolfssl/wolfcrypt/FeatureDetect.java index 3150bc65..a3e624a3 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(); @@ -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(); @@ -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();