Hello,

We are using WolfSSL 4.7.0 package with JNI 1.1.0. We are interested in the WolfSSL library along with JNI wrapper.

All the libraries and Jar files are generated correctly as per build instruction.
libwolfssl.so.24.4.0
libwolfcryptjni.so
wolfcrypt-jni.jar

However when running the Fips testsuite - 2 tests are failing.

//---------------
$+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib $JAVA_HOME/bin/java -ea -cp lib/wolfcrypt-jni.jar:junit/junit-4.13.jar:junit/hamcrest-all-1.3.jar:build/test/ org.junit.runner.JUnitCore com.wolfssl.wolfcrypt.test.fips.WolfCryptFipsTestSuite
JUnit version 4.13
. .....{ skip this part intentionally }
...........E.E.......................................
Time: 0.074
There were 2 failures:
1) gcmEncrypShouldMatchUsingByteArray(com.wolfssl.wolfcrypt.test.fips.AesFipsTest)
java.lang.AssertionError: expected:<0> but was:<-173>
    at org.junit.Assert.fail(Assert.java:89)
    at org.junit.Assert.failNotEquals(Assert.java:835)
    at org.junit.Assert.assertEquals(Assert.java:647)
    at org.junit.Assert.assertEquals(Assert.java:633)
    at com.wolfssl.wolfcrypt.test.fips.AesFipsTest.gcmEncrypShouldMatchUsingByteArray(AesFipsTest.java:613)
2) gcmEncrypShouldMatchUsingByteByffer(com.wolfssl.wolfcrypt.test.fips.AesFipsTest)
java.lang.AssertionError: expected:<0> but was:<-173>
    at org.junit.Assert.fail(Assert.java:89)
    at org.junit.Assert.failNotEquals(Assert.java:835)
    at org.junit.Assert.assertEquals(Assert.java:647)
    at org.junit.Assert.assertEquals(Assert.java:633)
    at com.wolfssl.wolfcrypt.test.fips.AesFipsTest.gcmEncrypShouldMatchUsingByteByffer(AesFipsTest.java:478)

FAILURES!!!
Tests run: 52,  Failures: 2