Commit Graph

107 Commits (b1866b3577a2ca51409308c3d0e675976e817514)

Author SHA1 Message Date
Chris Conlon 38e7211f36 JNI: return JNI_FALSE on exception in RsaSetRNG 2017-05-03 17:34:51 -06:00
Chris Conlon 23c3a4d2db JNI: fix native exception handling in jni_fips.c 2017-05-01 15:05:54 -06:00
Chris Conlon f78689131d JNI: fix native exception handling in SHA 2017-04-28 18:12:37 -06:00
Chris Conlon bd1a23723e JNI: fix native exception handling in RSA 2017-04-28 18:11:58 -06:00
Chris Conlon 00ac535de3 JNI: fix native exception handling in RNG 2017-04-28 18:11:23 -06:00
Chris Conlon cef1ed5b78 JNI: fix native exception handling in MD5 2017-04-28 18:09:13 -06:00
Chris Conlon fc648e07fc JNI: fix native exception handling in HMAC 2017-04-28 18:08:30 -06:00
Chris Conlon 22b3a57393 JNI: fix native exception handling in jni_error.c 2017-04-28 18:07:52 -06:00
Chris Conlon 5b23624d87 JNI: fix native exception handling in ECC 2017-04-28 18:07:06 -06:00
Chris Conlon f227a09c75 JNI: fix native exception handling in DH 2017-04-28 18:04:53 -06:00
Chris Conlon a3adaef65b JNI: fix native exception handling in 3DES 2017-04-28 18:03:10 -06:00
Chris Conlon 609cfec607 JNI: fix native exception handling in AES 2017-04-28 18:01:52 -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 30212f5930 wc_EccPrivateKeyToDer requires WOLFSSL_KEY_GEN defined 2017-04-17 10:51:04 -06:00
Chris Conlon 2176f97d79 JNI: fix SHA update argument checks 2017-04-12 10:53:58 -06:00
Chris Conlon 5ccd3bdc05 JNI: allow user to get curve name from ECParameterSpec 2017-04-05 16:42:10 -06:00
Chris Conlon 216610fd6c JNI: error out when curve name not found but used 2017-04-05 16:02:04 -06:00
Chris Conlon a100d81c47 JNI: allow ECC private import with curve name 2017-04-05 16:02:04 -06:00
Chris Conlon 30f5d106f6 JNI: skip leading zero in wc_ecc_import_private_key() 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 5a574b0008 JNI: switch magic number to define for ECC DER key size 2017-04-05 15:24:15 -06:00
Chris Conlon a0e6314a63 JNI: sanitize null curve name before GetStringUTFChars 2017-04-05 15:19:36 -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 540dc92543 JNI: add leading zero when needed in DH keygen 2017-03-31 13:49:12 -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 f3cef3681f JNI: fix rngGenerateBlock native signature 2017-03-24 16:09:27 -06:00
Moisés Guimarães 539fc9b2e2 fixes ; 2017-03-24 18:05:18 -03:00
Moisés Guimarães b53aa67be6 apply standard to PR #44 2017-03-24 17:25:03 -03: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 9d1f94995c disable rsa log 2017-03-24 17:13:04 -03:00
Moisés Guimarães 762ae0a89e adds WOLFSSL_KEY_GEN ifdef 2017-03-24 17:13:04 -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 64ff584b89 adds WOLFSSL_* defines in #ifdefs 2017-03-24 17:13:04 -03:00
Moisés Guimarães a011b1eded adds #ifdef HAVE_FIPS 2017-03-24 17:13:04 -03:00
Moisés Guimarães 9eec7a6c8e fixes NO_DES3 ifdefs 2017-03-24 17:13:04 -03:00
Moisés Guimarães 19d68f49ca Merge pull request #46 from cconlon/jni_ecpriv
JNI: wc_ecc_import_private_key() may have null pub
2017-03-24 17:12:51 -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
Chris Conlon b52efbac74 JNI: wc_ecc_import_private_key() may have null pub 2017-03-24 12:43:23 -06: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 20deb4ba6d fixes rsa jbyteArray access 2017-03-20 03:38:55 -03:00
Moisés Guimarães 7239682fb2 fixes sha jbyteArray access 2017-03-20 03:28:01 -03:00
Moisés Guimarães 5c13c043f7 fixes rng jbyteArray access 2017-03-20 03:06:48 -03:00
Moisés Guimarães 4713668c9b fixes md5 jbyteArray access 2017-03-20 02:55:59 -03:00
Moisés Guimarães c0fa2f2a7f fixes hmac jbyteArray access 2017-03-20 02:52:45 -03:00
Moisés Guimarães 1a61f1cafe fixes ecc jbyteArray access 2017-03-20 02:46:11 -03:00
Moisés Guimarães 052b9dc2a5 fixes dh jbyteArray access 2017-03-20 02:31:16 -03:00
Moisés Guimarães 2419ff6069 fixes des3 jbyteArray access 2017-03-20 02:20:28 -03:00
Moisés Guimarães 79372435b2 adds LogHex() offset param 2017-03-20 02:14:28 -03:00
Moisés Guimarães 330dbc73f5 fixes aes jbyteArray access 2017-03-20 01:53:58 -03:00