commit
2016cb2b48
13
README.md
13
README.md
|
@ -89,7 +89,7 @@ files to be on your `JUNIT_HOME` path.
|
||||||
|
|
||||||
To install and set up JUnit:
|
To install and set up JUnit:
|
||||||
|
|
||||||
a) Download "junit-4.13.jar" and "hamcrest-all-1.3.jar" from junit.org
|
a) Download "junit-4.13.2.jar" and "hamcrest-all-1.3.jar" from junit.org
|
||||||
|
|
||||||
b) Place these JAR files on your system and set `JUNIT_HOME` to point to
|
b) Place these JAR files on your system and set `JUNIT_HOME` to point to
|
||||||
that location:
|
that location:
|
||||||
|
@ -159,6 +159,17 @@ that requires JCE provider JAR's to be authenticated. Please see
|
||||||
### Revision History
|
### Revision History
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
#### wolfCrypt JNI Release 1.5.0 (11/14/2022)
|
||||||
|
|
||||||
|
Release 1.5.0 of wolfCrypt JNI has bug fixes and new features including:
|
||||||
|
|
||||||
|
- Add build compatibility for Java 7 (PR 38)
|
||||||
|
- Add support for "SHA" algorithm string in wolfJCE (PR 39)
|
||||||
|
- Add rpm package support (PR 40)
|
||||||
|
- Add wolfJCE MessageDigest.clone() support (PR 41)
|
||||||
|
- Improve error checking of native Md5 API calls (PR 41)
|
||||||
|
- Add unit tests for com.wolfssl.wolfcrypt.Md5 (PR 41)
|
||||||
|
|
||||||
#### wolfCrypt JNI Release 1.4.0 (08/11/2022)
|
#### wolfCrypt JNI Release 1.4.0 (08/11/2022)
|
||||||
|
|
||||||
Release 1.4.0 of wolfCrypt JNI has bug fixes and new features including:
|
Release 1.4.0 of wolfCrypt JNI has bug fixes and new features including:
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<!-- versioning/manifest properties -->
|
<!-- versioning/manifest properties -->
|
||||||
<property name="implementation.vendor" value="wolfSSL Inc." />
|
<property name="implementation.vendor" value="wolfSSL Inc." />
|
||||||
<property name="implementation.title" value="wolfCrypt JNI" />
|
<property name="implementation.title" value="wolfCrypt JNI" />
|
||||||
<property name="implementation.version" value="1.4" />
|
<property name="implementation.version" value="1.5" />
|
||||||
|
|
||||||
<!-- set properties for this build -->
|
<!-- set properties for this build -->
|
||||||
<property name="src.dir" value="src/main/java/" />
|
<property name="src.dir" value="src/main/java/" />
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#ifndef __ANDROID__
|
#ifndef __ANDROID__
|
||||||
#include <wolfssl/options.h>
|
#include <wolfssl/options.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -50,7 +51,7 @@ Java_com_wolfssl_wolfcrypt_Md5_mallocNativeStruct(
|
||||||
jlong ret = 0;
|
jlong ret = 0;
|
||||||
|
|
||||||
#ifndef NO_MD5
|
#ifndef NO_MD5
|
||||||
ret = (jlong) XMALLOC(sizeof(Md5), NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
ret = (jlong)(uintptr_t)XMALLOC(sizeof(Md5), NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
throwOutOfMemoryException(env, "Failed to allocate Md5 object");
|
throwOutOfMemoryException(env, "Failed to allocate Md5 object");
|
||||||
|
|
|
@ -34,7 +34,7 @@ public final class WolfCryptProvider extends Provider {
|
||||||
* Create new WolfCryptProvider object
|
* Create new WolfCryptProvider object
|
||||||
*/
|
*/
|
||||||
public WolfCryptProvider() {
|
public WolfCryptProvider() {
|
||||||
super("wolfJCE", 1.4, "wolfCrypt JCE Provider");
|
super("wolfJCE", 1.5, "wolfCrypt JCE Provider");
|
||||||
|
|
||||||
/* MessageDigest */
|
/* MessageDigest */
|
||||||
if (FeatureDetect.Md5Enabled()) {
|
if (FeatureDetect.Md5Enabled()) {
|
||||||
|
|
Loading…
Reference in New Issue