Commit Graph

524 Commits (master)

Author SHA1 Message Date
Chris Conlon 1140503101 JCE: set PKIXParameters Signature provider to wolfJCE if null when using wolfCrypt FIPS 2024-03-11 13:47:15 -06:00
JacobBarthelmeh 699b60d025
Merge pull request #60 from cconlon/CertPathValidator
JCE: add implementation of CertPathValidator (PKIX)
2024-02-22 19:56:34 +07:00
Chris Conlon 627e5c1d70 JCE: add implementation of CertPathValidator (PKIX) 2024-02-21 13:37:44 -07:00
JacobBarthelmeh 0ed446d885
Merge pull request #65 from cconlon/github-actions
Add initial GitHub actions (Linux, Mac)
2024-02-15 20:58:25 +07:00
Chris Conlon 4dc657924f fix WolfCryptCipherTest for AES-GCM with --enable-all is used, GCM streaming API not yet supported 2024-02-14 12:50:37 -07:00
Chris Conlon e6252c40db bump build.xml Java compatible min version to 1.8 for build compatibility with newer JDKs (ex: 21) 2024-02-14 12:50:37 -07:00
Chris Conlon 8b16f616d8 add support to makefile.macosx for custom wolfSSL installation location and library prefix 2024-02-14 12:50:37 -07:00
Chris Conlon 1b87b2b44d add initial GitHub actions (Linux, Mac) 2024-02-14 12:50:35 -07:00
András Fekete 8bd4189e3a
Merge pull request #64 from cconlon/testactions
Add simple base GitHub action
2024-02-14 13:37:42 -05:00
Chris Conlon 0d522ab187 add simple test action 2024-02-14 11:16:29 -07:00
David Garske f256662464
Merge pull request #62 from cconlon/aesgcm
Add AES-GCM and Cipher AES/GCM/NoPadding Support
2024-02-13 13:26:55 -08:00
JacobBarthelmeh e1e1a818a3
Merge pull request #63 from cconlon/infer
Fix potential deadlock / thread safety issues reported by Infer
2024-02-14 04:00:45 +07:00
Daniel Pouzzner f14c85b6d1
Merge pull request #61 from cconlon/sha1alias
JCE: add "SHA1" alias for MessageDigest SHA-1, for interop with Sun
2024-02-10 02:19:59 -05:00
Chris Conlon 9bd93de973 JCE: add Cipher support for AES/GCM/NoPadding 2024-02-09 16:59:18 -07:00
Chris Conlon ac9b6f8a4c JNI: fix infer potential thread safety violation in NativeStruct/Rsa 2024-02-09 16:15:56 -07:00
Chris Conlon 15cbdc1fdf JNI/JCE: fix infer potential deadlock in WolfCryptKeyAgreement(DiffieHellman) 2024-02-09 16:12:44 -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 4f1f3b5630 JCE: add "SHA1" alias for MessageDigest SHA-1, for interop with Sun 2024-02-08 09:44:52 -07:00
JacobBarthelmeh 7898bb2531
Merge pull request #59 from cconlon/2024
Update copyright to 2024
2024-01-16 14:50:25 -08:00
Chris Conlon 0e521059a6 update copyright to 2024 2024-01-16 15:41:15 -07:00
Kaleb Himes db8b5b8d68
Merge pull request #58 from cconlon/privateKeyUnlock
Adjust native HMAC feature detection, account for no HMAC-MD5 in FIPS 140-3
2023-10-27 16:05:39 -06: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
Kaleb Himes e37699d2fa
Merge pull request #57 from cconlon/privateKeyUnlock
Call PRIVATE_KEY_LOCK/UNLOCK and FIPS_CAST_ECC_CDH for 140-3 compatibility
2023-10-27 14:35:33 -06:00
Chris Conlon adf00d6409 JNI/JSSE: add calls to PRIVATE_KEY_LOCK/UNLOCK and FIPS_CAST_ECC_CDH for wolfCrypt FIPS 140-3 compatibility 2023-10-27 14:17:13 -06:00
JacobBarthelmeh 34125ca403
Merge pull request #56 from cconlon/removeFIPSv1
Remove use of CyaSSL Headers and FIPSv1 from README.md
2023-10-17 14:50:14 -06:00
Chris Conlon a81fe465da Switch CyaSSL header includes to wolfSSL, remove FIPSv1 build instructions now that FIPS #2425 is historical and CyaSSL headers/sources have been removed from wolfSSL proper 2023-10-17 14:11:23 -06:00
JacobBarthelmeh acfb62444c
Merge pull request #55 from cconlon/mavenPom
Update Maven build support
2023-10-12 16:07:50 -06:00
Chris Conlon 5bfb136511 JNI/JCE: update Maven build pom.xml, add instructions to README.md 2023-10-12 15:21:54 -06:00
JacobBarthelmeh b7b951d876
Merge pull request #54 from cconlon/jniDylib
Standardize JNI library name on OSX to .dylib
2023-10-12 14:49:09 -06:00
Chris Conlon 55ac2e84bc JNI/JCE: standardize native JNI library artifact name on OSX to .dylib instead of .jnilib 2023-10-11 11:56:28 -06:00
JacobBarthelmeh 0c4ec4f6f6
Merge pull request #53 from cconlon/synchronization
Add synchronization around native pointers (Md5/Sha/Des3/Hmac/Aes/DhKey/RsaKey/ecc_key)
2023-08-10 14:10:43 -06:00
Chris Conlon b9003b5c7d JCE: reduce creation of new SecureRandom objects in WolfJCE test cases 2023-08-10 13:33:16 -06:00
Chris Conlon 79bed5d9d3 JNI: add synchronization around native Hmac pointer access in Hmac class 2023-08-10 13:33:16 -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 f63d9a1b0d JNI: cleanup XMALLOC usage, call XMEMSET where needed 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
JacobBarthelmeh dab1b7a127
Merge pull request #52 from cconlon/winExamples
Add Windows batch script to run ProviderTest example
2023-08-01 09:23:30 -06:00
Chris Conlon eee073afe0 Windows: add .bat scripts for running ProviderTest example 2023-07-28 16:56:30 -06:00
JacobBarthelmeh fbfa297cc4
Merge pull request #51 from cconlon/aesPkcs5Padding
JCE: add support for Cipher AES/CBC/PKCS5Padding, RSA
2023-07-10 09:38:20 -06:00
Chris Conlon a2e7643464 JNI: compile in 3DES FIPS APIs for FIPSv2 2023-07-07 16:06:05 -06:00
Chris Conlon 8788d42474 JCE: add Cipher support for RSA, same as RSA/ECB/PKCS1Padding 2023-06-15 10:58:33 -06:00
Chris Conlon 836223f7a3 JCE: add support for Cipher AES/CBC/PKCS5Padding support 2023-06-15 10:04:34 -06:00
JacobBarthelmeh 6281e438d8
Merge pull request #50 from cconlon/eccPkcs8Fix
Get ECC curve OID before calling wc_CreatePKCS8Key for size
2023-06-13 22:23:26 -06:00
Chris Conlon 6822bb5cb8 get ECC curve OID before calling wc_CreatePKCS8Key for size 2023-06-09 11:54:03 -06:00
JacobBarthelmeh ccd5d805d6
Merge pull request #49 from cconlon/rsaKeyPairGenerator
Add JCE KeyPairGenerator support for "RSA"
2023-06-06 16:58:37 -06:00
Chris Conlon 5e2a1eb364 JNI: native ECC code cleanup and typo fixes 2023-06-05 10:43:52 -06:00
Chris Conlon 9401c82d31 JCE: add RSA support in KeyPairGenerator, Rsa supporting methods, native cleanup 2023-06-05 10:43:09 -06:00
JacobBarthelmeh b964b59f02
Merge pull request #44 from cconlon/rngSynchronization
Add synchronization to wolfCrypt Rng Class
2023-05-17 16:00:44 -06:00