Commit Graph

524 Commits (master)

Author SHA1 Message Date
JacobBarthelmeh ddddfc604d
Merge pull request #79 from cconlon/androidProject
Sample Android project, Android Gradle GitHub Action, and gradle build fixes
2024-10-11 15:30:58 -06:00
Chris Conlon 14301a1dfb Add GitHub Action for testing Android Gradle build 2024-10-11 14:38:47 -06: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 4b96ee8b84 JCE: clean up WolfCryptDebug log() methods across classes 2024-10-11 14:38:47 -06:00
Chris Conlon dbe0df7e44 JNI/JSSE: add sample Android Studio project for build tests 2024-10-11 14:38:45 -06:00
JacobBarthelmeh ce4a5b97f7
Merge pull request #78 from cconlon/systemCacertsJavaHome
Set keytool path correctly in system-cacerts-to-wks.sh
2024-10-10 10:26:03 -06:00
Chris Conlon 7baff0abb3 Set keytool path correctly in system-cacerts-to-wks.sh 2024-10-09 11:40:50 -06:00
JacobBarthelmeh bd9c895806
Merge pull request #77 from cconlon/minRsaSize
JNI/JSSE: detect RSA_MIN_SIZE in tests, add Rsa.RSA_MIN_SIZE helper
2024-09-24 14:37:36 -06:00
Chris Conlon 80463633da JNI/JSSE: add GitHub Action for RSA_MIN_SIZE=1024 build test 2024-09-23 16:27:03 -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
David Garske 9ebc287ece
Merge pull request #76 from cconlon/longValue
JCE: KeyPairGenerator: remove use of longValueExact()
2024-08-01 11:23:31 -07:00
Chris Conlon 2d7f778839 JCE: KeyPairGenerator: remove use of longValueExact(), not available on some platforms 2024-07-26 15:09:13 -06:00
JacobBarthelmeh 5ce2d0ea9a
Merge pull request #67 from cconlon/KeyStore
JCE: add WolfSSLKeyStore (WKS) KeyStore implementation
2024-07-15 16:12:57 -06:00
Chris Conlon 14e2b53b5d JNI/JCE: update example certs, JKS, and WKS files. Add method names to
ant test. Update example KeyStore password to longer one for FIPS
compatibility.
2024-07-15 15:50:09 -06:00
Chris Conlon 8f254f67b3 JCE: add WolfSSLKeyStore (WKS) KeyStore implementation 2024-07-15 15:50:06 -06:00
Daniel Pouzzner a5f62b3893
Merge pull request #75 from cconlon/ghActionTemurin8
GitHub Actions: remove Temurin JDK 8
2024-05-09 01:35:36 -04:00
Chris Conlon 9b3aae46a9 GitHub Actions: remove Temurin JDK 8, not available on macos 2024-05-06 15:17:21 -06:00
JacobBarthelmeh 01dcf07020
Merge pull request #74 from cconlon/inferActions
Run Facebook Infer on PRs with GitHub Actions
2024-04-24 16:43:09 -06:00
Chris Conlon 3e08fd8558 Run Facebook Infer on PRs with GitHub Actions 2024-04-22 16:20:12 -06:00
JacobBarthelmeh e25d43d0b7
Merge pull request #73 from cconlon/release16
Prep for 1.6 Release
2024-04-17 12:07:44 -06:00
Chris Conlon 30a1916233 JNI: synchronize wc_ecc_sign_hash() on rngLock, add sanity check for wc_ecc_sig_size() 2024-04-16 17:53:40 -06:00
Chris Conlon 3198d3e8da JNI: refactor DH threaded test to use AtomicIntegerArray 2024-04-16 17:53:40 -06:00
Chris Conlon 8242964c3f JNI/JCE: skip testing disallowed RSA/ECC key lengths with 3389 and FIPS 140-3 pilot 2024-04-16 17:53:40 -06:00
Chris Conlon ac4f1bfdc2 JNI: call wc_RunAllCast_fips() when used with FIPS 140-3 pilot 2024-04-16 17:53:40 -06:00
Chris Conlon aa0b597157 JCE: refactor KeyAgreement threaded test to use AtomicIntegerArray 2024-04-16 17:53:40 -06:00
Chris Conlon 5f382e244d JCE: move rng.init() into initialize() methods of WolfCryptKeyPairGenerator 2024-04-16 17:53:40 -06:00
Chris Conlon 947db4345a JNI/JCE: reduce extra WolfCryptRng object creation between Signature and KeyPairGenerator classes 2024-04-16 17:53:40 -06:00
Chris Conlon 5f094107a0 JNI: correctly return JNI_TRUE/FALSE from native wc_ecc_verify_hash() wrapper instead of int 2024-04-16 17:53:40 -06:00
Chris Conlon 6478c261dd JCE: move RNG used for sign operations to class variable, only init once per class 2024-04-16 17:53:40 -06:00
Chris Conlon 8557571864 Update ChangeLog for 1.6 release, move to separate file from README.md 2024-04-16 17:53:37 -06:00
Chris Conlon 85148e3305 JCE: add synchronization to public methods of WolfCryptKeyPairGenerator 2024-04-15 12:32:44 -06:00
Chris Conlon 431ff685de JCE: refactor Signature threaded test to use AtomicIntegerArray 2024-04-15 12:32:41 -06:00
Chris Conlon 10331b7556 Adjust build instructions to recommend --enable-jni for maximum JCE/JSSE compatibility 2024-04-09 16:34:34 -06:00
Chris Conlon 9aa93663cc JCE: only run CertPathValidator(PKIX) CRL test if native CRL has been compiled in 2024-04-09 16:34:11 -06:00
Chris Conlon ee8a0b7819 JCE: fix Infer thread safety violation warning in WolfCryptSignature 2024-04-09 16:19:57 -06:00
Chris Conlon a9a3bc9b64 Bump version to 1.6 2024-04-09 15:27:19 -06:00
Chris Conlon 68c0acff19 JCE: check for native PBKDF2 support before adding support for SecretKeyFactory 2024-04-09 15:15:27 -06:00
Chris Conlon bd85cba527 JNI: fix feature detect for HMAC-SHA224 2024-04-09 15:15:12 -06:00
Chris Conlon c66164ccdf Update Windows Visual Studio project file 2024-04-09 15:14:50 -06:00
lealem47 3158aa8c70
Merge pull request #72 from cconlon/SecureRandomDEFAULT
JCE: add support for SecureRandom.getInstance("DEFAULT")
2024-04-05 10:38:24 -06:00
Chris Conlon 45deb2802f JCE: add support for SecureRandom.getInstance("DEFAULT"), maps to HashDRBG 2024-04-05 10:04:29 -06:00
Daniel Pouzzner 430b8b7503
Merge pull request #71 from cconlon/javaDocFixes
JNI/JCE: fix Javadoc warnings with newer Java versions
2024-03-30 02:57:42 -04:00
Daniel Pouzzner 9f1c54231a
Merge pull request #68 from cconlon/signatureSynchronize
JCE: add synchronization to protected methods in WolfCryptSignature
2024-03-30 02:57:05 -04:00
Daniel Pouzzner 4ac446e7ec
Merge pull request #69 from cconlon/keyAgreementSecretPadding
JCE: prepend zero byte to DH shared secret if less than prime length
2024-03-30 02:56:40 -04:00
Daniel Pouzzner f3bf4131a2
Merge pull request #70 from cconlon/SecretKeyFactory
JCE: add SecretKeyFactory implementation (PBKDF2)
2024-03-30 02:55:28 -04:00
Chris Conlon 73c23524de JNI/JCE: fix Javadoc warnings with newer Java versions 2024-03-22 14:37:28 -06:00
Chris Conlon c6d4819d8a JCE: add SecretKeyFactory implementation for PBKDF2 2024-03-21 17:11:56 -06:00
Chris Conlon 05b4c9852a JCE: prepend zero byte to DH shared secret if less than prime length 2024-03-19 14:55:20 -06:00
Chris Conlon d03ebc739c JCE: add synchronization to protected methods in WolfCryptSignature 2024-03-15 12:01:58 -06:00
András Fekete 0497ee767c
Merge pull request #66 from cconlon/certPathValidatorFIPSFix
CertPathValidator: set PKIXParameters Signature provider if null with wolfCrypt FIPS
2024-03-11 16:29:57 -04:00