Commit Graph

246 Commits (b413342be50a3d3b047ee63776da2e19d4baba80)

Author SHA1 Message Date
JacobBarthelmeh b413342be5
Merge pull request #19 from cconlon/augRelease
1.1.0 release prep
2020-08-26 16:56:20 -06:00
Chris Conlon 74317c53a3 fix unused warning for rng in jni_ecc.c 2020-08-26 15:48:16 -07:00
Chris Conlon d1b3f1245d update README for 1.1.0 release 2020-08-26 15:41:23 -07:00
JacobBarthelmeh 4604ac125d
Merge pull request #18 from cconlon/0826
nativeheaderdir, wc_ecc_set_rng, cleanup
2020-08-26 14:45:25 -06:00
Chris Conlon 33b2c8634b add new features to README.md to prep for next release 2020-08-26 10:44:23 -07:00
Chris Conlon 846bf78870 minor update to README_JCE.md 2020-08-26 10:28:00 -07:00
Chris Conlon 3cee7b1368 suppress finalize deprecation warnings 2020-08-26 10:25:49 -07:00
Chris Conlon 480078c27e update README.md with FIPS Ready instructions 2020-08-26 10:21:56 -07:00
Chris Conlon b6277811e1 call wc_ecc_set_rng() when needed 2020-08-26 10:09:14 -07:00
Chris Conlon b796d4b0d8 switch to hamcrest-all-1.3.jar to match wolfssljni for consistency 2020-08-26 09:43:43 -07:00
Chris Conlon 3657875f5f use nativeheaderdir on supported platforms instead of javah 2020-08-26 09:42:02 -07:00
JacobBarthelmeh a207478ee0
Merge pull request #17 from cconlon/blake2fix
remove BLAKE2b from HMAC, fix hash algo conditional compiles
2020-06-05 11:37:41 -06:00
Chris Conlon 72d4c8c25e increase junit version, junit-4.13.jar 2020-04-22 11:28:55 -06:00
Chris Conlon b6d982a7fc remove BLAKE2b, fix hash algo conditional compiles 2020-01-09 10:51:22 -07:00
Chris Conlon 38c4857d6e
Merge pull request #16 from danielinux/master
Fixes for chacha/Curve25519
2018-07-26 13:27:34 -06:00
Maxime Vincent e0821c5bce Fix bug in wc_Chacha_SetIV parameter usage (was wrongly using IV length as block offset) 2018-07-26 20:32:58 +02:00
Maxime Vincent 7e3b82b3b4 Fix pub/private export bug in Curve25519 2018-07-26 20:32:49 +02:00
Daniele Lacamera 27c5db90b1 Updated version to 1.0.0-SNAPSHOT in pom.xml 2018-07-26 20:32:35 +02:00
Chris Conlon b77ccff718
Merge pull request #4 from danielinux/chacha-ed25519-curve25519
Added wrappers for ed25519, curve25519, chacha.
2018-07-26 11:31:14 -06:00
Chris Conlon e7fd495ff8
Merge pull request #15 from aaronjense/fips-multiple-version-compatibility
Fips multiple version compatibility
2018-07-16 16:01:37 -06:00
Aaron Jense 79fec8325f return 0 if no FIPS, return 1 if v1, return HAVE_FIPS_VERSION for all other versions 2018-07-16 15:57:12 -06:00
Aaron Jense 0ac485039a Create getFipsVersion JNI method to allow for Java level access to HAVE_FIPS_VERSION 2018-07-12 14:00:35 -06:00
Aaron Jense 6e895a73c8 remove _fips if using FIPS v2 and above 2018-07-12 12:52:38 -06:00
Aaron Jense 2d2546d45b WC prefix for FIPS v2 2018-07-12 12:49:37 -06:00
Chris Conlon 390c5ad7ba
Merge pull request #14 from aaronjense/remove-WC_INLINE-redefine
Removed redefine of WC_INLINE if using FIPS.
2018-07-06 15:53:51 -06:00
Aaron Jense c42f321e81 Removed redefine of WC_INLINE if using FIPS. This was defined in wolfssl proper. 2018-07-05 11:25:17 -06:00
Chris Conlon 5a4240e157
Merge pull request #13 from aaronjense/update-error-codes
Updated Error Codes
2018-06-29 17:29:32 -06:00
Chris Conlon 8cdedfc591
Merge pull request #12 from aaronjense/dynamic-hash-codes-hmac
Dynamic hash codes hmac
2018-06-29 17:28:56 -06:00
Aaron Jense 3cd5f255a6 Updated Error Codes 2018-06-29 15:36:50 -06:00
Aaron Jense 44d872ad16 replace tab with 4 spaces 2018-06-29 15:33:30 -06:00
Aaron Jense b0839d524f Add WolfCrypt.FAILURE 2018-06-29 15:27:47 -06:00
Aaron Jense c5d78b2d58 <hash> to <hash>type and simplify getHashCode switch statement 2018-06-29 15:26:14 -06:00
Aaron Jense 9c65cae351 Add WC* to match wolfssl and wolfssl-fips 2018-06-29 14:32:43 -06:00
Aaron Jense 450141b8b2 Merge remote-tracking branch 'upstream/master' into dynamic-hash-codes-hmac 2018-06-29 13:40:52 -06:00
Aaron Jense f23dbb7fbe change <hash type> to WC_<hash type> 2018-06-29 13:33:39 -06:00
Chris Conlon d934d322e0
Merge pull request #11 from aaronjense/different-error-if-fips
wolfssl-fips throws a different error message. Change expected error message if fips.
2018-06-29 11:13:48 -06:00
Aaron Jense 02e8e3ec78 Change INLINE to WC_INLINE to match that of wolfssl. Fixes compile failure. 2018-06-29 10:49:30 -06:00
Aaron Jense 713d61f757 wolfssl-fips throws a different error message. Check if using fips and assertEquals on the proper expected error message. 2018-06-29 10:40:56 -06:00
Aaron Jense 64b8e3a418 Add dynamic defines for the different hash types depending on their enum code. This fixes the error where the unintended hash type is chosen when switching between different version of wolfssl where the enum codes are different 2018-06-29 10:29:22 -06:00
Chris Conlon 842fefdebc
Merge pull request #8 from aaronjense/add-override-for-makefile-flags
override allows for CC/LD flags to be given as command line arguement…
2018-06-27 09:31:43 -06:00
Chris Conlon c49a62d42f
Merge pull request #10 from aaronjense/fix-out-of-bounds-check
out of bounds check changed from using len(bytes to be hashes) to bufSz(size of array)
2018-06-26 15:54:55 -06:00
Chris Conlon 4214e72083
Merge pull request #7 from aaronjense/dont-trip-jenkins-warning-check
change "WARNING" to "NOTICE"
2018-06-26 15:50:07 -06:00
Aaron Jense 260f62939d This change allows for the amount of bytes to be hashed(len) to be greater than offset and still checks that offset won't go out of bounds of array. 2018-06-26 12:34:44 -06:00
Aaron Jense a737e93dce change warning to notice so that internal warning check isnt tripped while testing 2018-06-26 11:05:07 -06:00
Aaron Jense 7199986d01 override allows for CC/LD flags to be given as command line arguement. This was needed for Jenkins environment and to keep portability of makefile. 2018-06-26 11:01:25 -06:00
Daniele Lacamera c406ea2dc0 Added wrappers for ed25519, curve25519, chacha.
Added maven pom.xml build file.
2018-04-17 20:16:31 +02:00
JacobBarthelmeh b1866b3577 Merge pull request #1 from cconlon/master
Prep for wolfCrypt JNI 1.0.0 release
2017-07-12 09:12:44 -06:00
Chris Conlon 0fb775bb88 update README for 1.0.0 release 2017-07-10 15:08:08 -06:00
Chris Conlon 99a7b3095a add .gitignore 2017-07-06 11:42:33 -06:00
Chris Conlon 99d740243e add title, vendor, version info to JAR manifest 2017-07-06 11:42:23 -06:00