Commit Graph

85 Commits (master)

Author SHA1 Message Date
Chris Conlon 4fa8642264 JNI: get ASN algo enum values dynamically in static class block, more flexible if native enum values change 2025-05-08 14:41:01 -06:00
Chris Conlon 53a40020f7 JNI: wrap native SHA-3 support in com.wolfssl.wolfcrypt.Hmac class 2025-03-05 15:21:23 -07:00
Chris Conlon 00f2b1c318 JNI: wrap native SHA-3 support in com.wolfssl.wolfcrypt.Sha3 class 2025-03-05 15:18:05 -07:00
Chris Conlon dcddf92aaf JCE: add HmacSHA224 support to Mac implementation 2025-03-05 09:16:32 -07:00
Chris Conlon bcbc411bb1 JNI: add SHA-224 to com.wolfssl.wolfcrypt.Sha224 class 2025-03-05 09:16:32 -07:00
Chris Conlon 6ccdf43175 JNI/JCE: update copyright to 2025 2025-01-20 15:15:14 -07:00
Chris Conlon fa4995b324 JNI: check and run FIPS CASTs if needed in com.wolfssl.wolfcrypt.Fips class methods 2024-12-13 11:58:37 -07:00
Chris Conlon acbad58f17 JNI/JCE: only run FIPS CASTs once up front, for JCE run once when WolfCryptProvider is created 2024-12-13 11:58:35 -07:00
Chris Conlon 2e8a380e3b JNI: fix warnings from Android gradle build, lots related to potential incomplete object initialization in constructors 2024-10-11 14:38:47 -06:00
Chris Conlon e4da66fb4a JNI/JSSE: account for native RSA_MIN_SIZE in JUnit tests, add Rsa.RSA_MIN_SIZE helper 2024-09-18 14:54:47 -06:00
Chris Conlon 8f254f67b3 JCE: add WolfSSLKeyStore (WKS) KeyStore implementation 2024-07-15 15:50:06 -06:00
Chris Conlon c6d4819d8a JCE: add SecretKeyFactory implementation for PBKDF2 2024-03-21 17:11:56 -06:00
Chris Conlon 627e5c1d70 JCE: add implementation of CertPathValidator (PKIX) 2024-02-21 13:37:44 -07:00
Chris Conlon 9bd93de973 JCE: add Cipher support for AES/GCM/NoPadding 2024-02-09 16:59:18 -07:00
Chris Conlon a5434c8c38 JNI: add JNI-level AES-GCM support in com.wolfssl.wolfcrypt.AesGcm 2024-02-09 15:37:24 -07:00
Chris Conlon 0e521059a6 update copyright to 2024 2024-01-16 15:41:15 -07:00
Chris Conlon d31cde3ad0 JCE: adjust feature detection for native HMAC to check for NO_HMAC 2023-10-27 15:56:08 -06:00
Chris Conlon e6f3a9e823 JCE: remove HMAC-MD5 from wolfJCE provider if not available in underlying FIPS library 2023-10-27 15:56:05 -06:00
Chris Conlon f6ffb7489e JNI: add synchronization around native ecc_key/RsaKey/DhKey pointer access in Ecc/Rsa/Dh class 2023-08-10 13:32:59 -06:00
Chris Conlon 8606e9e14e JNI/JCE: add synchronization around native BlockCipher pointer access 2023-08-07 11:24:50 -06:00
Chris Conlon 1fe2ad65fd JNI/JCE: add synchronization around native MessageDigest pointer access 2023-08-07 11:24:45 -06:00
Chris Conlon 9401c82d31 JCE: add RSA support in KeyPairGenerator, Rsa supporting methods, native cleanup 2023-06-05 10:43:09 -06:00
Chris Conlon 05091926cb fix build errors and warnings for Visual Studio on Windows 2023-05-03 10:06:41 -06:00
Chris Conlon 9a7b7263c3 add MessageDigest.clone() support and underlying wolfCrypt class object copy methods 2022-11-10 14:22:15 -07:00
Chris Conlon c51d6122a9 cleanup ChaCha native wrapper, fix double free of ChaCha pointer 2022-07-29 14:00:52 -06:00
Chris Conlon 0aff7b3e63 update copyright to 2022 2022-01-18 09:29:36 -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 1f2181e68b fix build with WOLFCRYPT_JNI_DEBUG_ON defined 2021-11-15 09:50:48 -07:00
Chris Conlon e11bc558a2 add FIPS 140-3 compatibility 2021-11-15 09:50:45 -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
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
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 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
Moisés Guimarães 08bcbf801c sanitizes buffer access 2017-04-03 19:31:10 -03:00
Chris Conlon 9b2cc29783 JNI: ECC key gen with curve, PKCS8 private key getter 2017-03-31 11:54:33 -06:00
Moisés Guimarães 25a65dcb15 Prioritizes lazy instantiation rather than throwing exceptions. 2017-03-24 17:13:05 -03:00
Moisés Guimarães 6b55b34ec6 adds wc_RsaSetRNG() and fixes Rng initialzation. 2017-03-24 17:13:04 -03:00
Moisés Guimarães e89f665b28 Merge pull request #43 from cconlon/jni_rsa
JNI: wrap additional RSA functions
2017-03-24 17:12:08 -03:00
Moisés Guimarães 2cd9592cf4 groups hash functions in a single java implementation 2017-03-20 08:28:56 -03:00
Moisés Guimarães 330dbc73f5 fixes aes jbyteArray access 2017-03-20 01:53:58 -03:00
Moisés Guimarães 4c6b2f1720 Merge pull request #40 from cconlon/jni_rng
JNI: non-FIPS wrapper for RNG
2017-03-18 02:51:47 -03:00
Moisés Guimarães f92e03d29b Merge pull request #39 from cconlon/jni_digest
JNI: non-FIPS wrappers for MD5 and SHA/256/384/512
2017-03-18 02:48:14 -03:00
Moisés Guimarães 077d307878 Merge pull request #41 from cconlon/jni_fipsenabled
JNI: add isFIPSEnabled() API
2017-03-17 22:09:44 -03:00
Chris Conlon f08a0869ca JNI: wrap additional RSA functions 2017-03-17 15:56:10 -06:00