Commit Graph

355 Commits (c19e3f0fa12f5f4bcefc4dbe9c439aaaefcbbeba)

Author SHA1 Message Date
Chris Conlon f98ae38819 skip test error for JDK versions ECKeyFactory that may not support all wolfCrypt curves 2022-08-17 16:37:41 -06:00
Chris Conlon 0cb31efe2c bump version to 1.4 in build.xml and WolfCryptProvider.java 2022-08-11 12:25:49 -06:00
Chris Conlon c51d6122a9 cleanup ChaCha native wrapper, fix double free of ChaCha pointer 2022-07-29 14:00:52 -06:00
Chris Conlon 311422057c replace non-ASCII apostrophes in Fips.java/README_JCE.md 2022-07-20 11:56:26 -06:00
Chris Conlon d6a9e66a84 update wolfJCE version to match 1.3 release 2022-05-17 15:09:54 -06:00
Chris Conlon 798c635c0b fix Javadoc warnings and missing default constructors 2022-05-03 16:56:32 -06:00
Chris Conlon d98babe74d add support for MessageDigestSpi.engineGetDigestLength() 2022-02-15 10:38:56 -07:00
Chris Conlon 0aff7b3e63 update copyright to 2022 2022-01-18 09:29:36 -07:00
Chris Conlon 1f5d20460e convert tabs to 4 spaces, remove trailing whitespace 2022-01-18 09:17:51 -07:00
Chris Conlon d21904f6db update missing Javadocs, fixes build warnings with newer JDKs 2022-01-18 08:45:34 -07:00
Chris Conlon 9c64fd108e run FIPS tests on ant test, wrap AES-GCM SetExtIV, fix Fips.RsaSSL_Sign() 2022-01-05 14:02:45 -07:00
Chris Conlon 4e477cdc1b update copyright to 2021, minor comment updates 2021-11-15 10:17:00 -07:00
Chris Conlon e11bc558a2 add FIPS 140-3 compatibility 2021-11-15 09:50:45 -07:00
Chris Conlon 3cee7b1368 suppress finalize deprecation warnings 2020-08-26 10:25:49 -07:00
Chris Conlon b6277811e1 call wc_ecc_set_rng() when needed 2020-08-26 10:09:14 -07:00
Chris Conlon b6d982a7fc remove BLAKE2b, fix hash algo conditional compiles 2020-01-09 10:51:22 -07:00
Maxime Vincent 7e3b82b3b4 Fix pub/private export bug in Curve25519 2018-07-26 20:32:49 +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
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
Chris Conlon 5a4240e157
Merge pull request #13 from aaronjense/update-error-codes
Updated Error Codes
2018-06-29 17:29:32 -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 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
Daniele Lacamera c406ea2dc0 Added wrappers for ed25519, curve25519, chacha.
Added maven pom.xml build file.
2018-04-17 20:16:31 +02:00
Chris Conlon 9615fe0d7c JCE: code review fixes, cleanup 2017-06-15 11:47:56 -06:00
Chris Conlon aed7a9d787 JCE: spacing and cleanup 2017-06-15 09:44:50 -06:00
Chris Conlon d8ae69a322 JCE: throw exception on bad IV length in Cipher class 2017-06-15 09:20:10 -06:00
Chris Conlon df6569090c JCE: Allow Signature object to be initialized multiple times before free 2017-06-15 09:20:10 -06:00
Chris Conlon 622b5ed1b6 JCE: reset state in Cipher on doFinal, add more Cipher tests 2017-06-15 09:20:10 -06:00
Chris Conlon 6c2ab6976a JCE: fix Cipher.update on multi block operations 2017-06-15 09:20:10 -06:00
Chris Conlon 1696c909f8 JCE: only release native structs when not null 2017-06-15 09:20:10 -06:00
Chris Conlon 69b42b64fb JCE: fix Cipher update with offset 2017-06-15 09:20:10 -06:00
Chris Conlon 2a38c5684b JCE: remove comments from WolfCryptDebug 2017-06-15 09:20:10 -06:00
Chris Conlon 7b489dd7b9 JCE: add debug logging with wolfjce.debug system property 2017-06-15 09:20:10 -06:00
Chris Conlon eccb8f512b JCE: remove getL() dependency from DH 2017-06-15 09:20:10 -06:00
Chris Conlon cb9dc47d61 JCE: remove unimplemented KeyFactory stub 2017-06-15 09:20:10 -06:00
Chris Conlon 90ed9f33d1 JCE: update Cipher.update to match expected return 2017-06-15 09:20:10 -06:00
Chris Conlon f4066c7ede JCE: set verified to false instead of throwing exception on error 2017-06-15 09:20:10 -06:00
Chris Conlon 9f765f70f4 JCE: KeyAgreement cleanup for importing ECC keys with correct curves 2017-06-15 09:20:10 -06:00
Chris Conlon 92d3556b56 JCE: restructure to match new JNI directory struct 2017-06-15 09:20:10 -06:00
Chris Conlon 844bbae6ec JNI: switch MessageDigest to use READY state 2017-06-14 14:58:59 -06:00
Chris Conlon efb90aaf9d JNI: reset state when BlockCipher and MessageDigest are released 2017-05-01 15:16:30 -06:00
Chris Conlon 3a306131a5 JNI: fix for DH state check when loading private/public keys 2017-04-27 16:39:36 -06:00
Chris Conlon 1132acbae9 Dh.makeKey() sets key size internally based on DH parameters 2017-04-17 10:51:59 -06:00
Chris Conlon 5ccd3bdc05 JNI: allow user to get curve name from ECParameterSpec 2017-04-05 16:42:10 -06:00
Chris Conlon a100d81c47 JNI: allow ECC private import with curve name 2017-04-05 16:02:04 -06:00
JacobBarthelmeh c461c1e8bd Merge pull request #51 from cconlon/jni_ecc
JNI: ECC key gen with curve, PKCS8 private key getter
2017-04-05 15:59:50 -06:00
Chris Conlon e3414c7e7c JNI: remove toUpperCase() in getCurveSizeFromName(), native handles case 2017-04-05 15:20:17 -06:00
Chris Conlon 1a491558d4 Merge pull request #55 from moisesguimaraes/adds-sign-sanitizers
sanitizes buffer access
2017-04-04 16:52:19 -06:00
Moisés Guimarães 08bcbf801c sanitizes buffer access 2017-04-03 19:31:10 -03:00
Chris Conlon 858d9c9c51 JNI: add Dh.getPrivateKey(), reset keys first in free() before changing state 2017-03-31 11:58:50 -06:00
Chris Conlon 9b2cc29783 JNI: ECC key gen with curve, PKCS8 private key getter 2017-03-31 11:54:33 -06:00
Chris Conlon db688226a1 JNI: put tests in own package, match Maven directory layout standard 2017-03-24 17:04:58 -06:00