Commit Graph

  • 4ea76b8ac8 Fixes for warnings found using MinGW. Fixes for WOLFSSL_SOCKET_IS_INVALID and WOLFSSL_SOCKET_INVALID to use the SOCKET_T. David Garske 2016-02-08 15:44:22 -08:00
  • 53162d5fc4 addjust size according to offset length and add PMS size comment Jacob Barthelmeh 2016-02-08 15:22:49 -07:00
  • f6bebc1cf4 Merge pull request #297 from dgarske/RemoveExeBitOnCFiles JacobBarthelmeh 2016-02-08 14:22:05 -07:00
  • 2e0d05f727 Fixes issues with new IDE/WIN/user_settings.h and FIPS. Fixed issue with using CYASSL_USER_SETTINGS in ctaocrypt/settings.h with FIPS by moving settings_comp.h to after user_settings.h. Fixed issue with non-existent ctaocrypt/signature.c file being included. Added the user_settings.h file to the FIPS project. David Garske 2016-02-08 12:22:20 -08:00
  • 09615c01cc Updated the naming for the new encoding DER signature enum and function. David Garske 2016-02-08 12:04:38 -08:00
  • 97edaf88d4 Added the new IDE/WIN/user_settings.h to the include.am file. Changed the WOLFSSL library to use macro WOLFSSL_LIB for clarity. David Garske 2016-02-08 11:28:46 -08:00
  • cb3a9cc348 Removed the execute bit on all .c, .h, and .cs files. David Garske 2016-02-08 09:45:31 -08:00
  • a607c5dcc4 Merge pull request #296 from cconlon/freescale-fix dgarske 2016-02-08 09:36:53 -08:00
  • c920e6dd30 Avoid unnecessary assignments in client example kaleb-himes 2016-02-07 08:27:01 -07:00
  • d5f410523a Fixed possible memory leak on signature wrapper ASN encode and corrected the maximum header size. Added new MAX_ENCODED_HEADER_SZ which is the maximum encoded ASN header size and update asn.c to use it. Added comment about key size sanity check. Renamed wc_SignatureRsaEncode to wc_SignatureAsnEncode. David Garske 2016-02-05 16:01:42 -08:00
  • e031d2fa06 Removed the execute bit on all .c files. These were inadvertently set in PR #293 due to editing files through Windows VMWare shared folder. David Garske 2016-02-05 14:25:43 -08:00
  • fa4da43655 Freescale: remove USER_TIME after recent time fixes, enable ECC and AES-GCM by default Chris Conlon 2016-02-05 14:09:43 -07:00
  • a4f1138e5b Merge pull request #293 from dgarske/WinWarnFixes JacobBarthelmeh 2016-02-05 13:20:22 -07:00
  • 244bea18b9 Merge pull request #292 from dgarske/WolfRootFindFix Kaleb Joseph Himes 2016-02-05 11:28:39 -08:00
  • 25959bfb62 Merge pull request #279 from dgarske/CustRandGenSeed_OSArg JacobBarthelmeh 2016-02-05 11:18:18 -07:00
  • 3dc2e01180 warning from windows build with ECDHE-PSK and fix potential memory leak Jacob Barthelmeh 2016-02-04 16:36:56 -07:00
  • be99fcff43 Fixed typo in wc_SignatureGetSize causing error. David Garske 2016-02-05 07:32:47 -08:00
  • ee4b8b2f10 Merge pull request #291 from kaleb-himes/master dgarske 2016-02-04 17:06:59 -08:00
  • ae19b7a272 Merge pull request #290 from dgarske/PemPubKey_CertExt_Fixes toddouska 2016-02-04 15:19:15 -08:00
  • 60668be1c0 Merge pull request #285 from ejohnstown/dtls-hello JacobBarthelmeh 2016-02-04 14:27:03 -07:00
  • faf590eb22 Fix for "warning: Value stored to 'ret' is never read". Now explicitly set SIG_TYPE_E in each case. Fixed wc_SignatureGetSize so it will return SIG_TYPE_E for unsupported type scenario. David Garske 2016-02-04 12:49:39 -08:00
  • bc059e12c2 Cleanup to remove trailing whitespace and convert tabs to spaces. David Garske 2016-02-04 12:31:08 -08:00
  • be4c400d16 Fixes for disabling the crypt test and benchmark. Added new "./configure --disable-crypttests" option. Also made sure use of both NO_CRYPT_BENCHMARK and NO_CRYPT_TEST in "./configure CFLAGS=-D" scenario work correctly. David Garske 2016-02-04 12:06:24 -08:00
  • 2257c1dcef Fixes several warnings that were seeing building with Visual Studio 2015. Also noticed issue with "struct Options" in internal.h for the bit flags that was causing split due to type difference (byte vs. word16). David Garske 2016-02-04 11:30:48 -08:00
  • e63989dcfd Fixed bug with "ChangeToWolfRoot" that was incorrectly seeking previous directories where depth 2 was using ..\..\ and skipping one. This bug applied to both Win and Lin*. For example running ./server from inside examples/server would not find the wolf root. David Garske 2016-02-04 11:26:33 -08:00
  • 2db6246abc Fixed typo with testsuite preprocessor. Added missing chacha.c, chacha20_poly1305.c, pkcs7.c and poly1305.c. Also added the IDE/WIN/user_settings.h to the project so its easy to find. David Garske 2016-02-04 11:19:51 -08:00
  • bf1af39027 benchmark needs a main if NO_CRYPT_BENCHMARK defined kaleb-himes 2016-02-04 12:07:39 -07:00
  • 7936c7a72e Merge pull request #286 from dgarske/DisableBench Kaleb Joseph Himes 2016-02-04 10:59:55 -08:00
  • d39c6a6e13 Merge pull request #287 from JacobBarthelmeh/fast-rsa toddouska 2016-02-04 10:59:21 -08:00
  • 42219a327a refactor ForceZero of memory to gain performance Jacob Barthelmeh 2016-02-04 10:31:05 -07:00
  • 3ce64da44c ChaCha20-Poly1305 PSK cipher suites Jacob Barthelmeh 2016-02-04 09:50:29 -07:00
  • 5a9175a758 add cipher suite ECDHE-PSK-AES128-SHA256 and adjustments to ECDHE-PSK Jacob Barthelmeh 2016-02-03 15:25:34 -07:00
  • f3399b6578 Fixes/improvements to the signature and hash wrappers: Fixed output buffer to wc_RsaSSL_Verify so its min size is the key size (needed for inline operations). Fixed the signature wrapper return codes when using RSA so 0 indicates success. Fixed signature wrappers use of wc_HashGetDigestSize to return the error code result. Changed enum wc_HashType and enum wc_SignatureType so all values always exist. Added new "wc_HashGetOID" which returns the OID for an enum wc_HashType. Added new "WC_SIGNATURE_TYPE_RSA_W_ENC", that adds the encoded ASN header to the digest using wc_EncodeSignature for RSA signatures. Added new SIG_TYPE_E and HASH_TYPE_E error types for explicit reporting of sig/hash type not available. David Garske 2016-02-03 15:07:56 -08:00
  • a6b7c00c9c Fix so WOLFSSL_CERT_EXT can be defined without WOLFSSL_CERT_GEN. Added new WOLFSSL_PUB_PEM_TO_DER to allow the public key PEM to DER functions to be available without CERT_GEN or CERT_EXT. Fix to add NO_FILESYSTEM check around wolfSSL_PemPubKeyToDer in ssl.h. Cleanup in coding.h for the #if check. David Garske 2016-02-03 14:58:46 -08:00
  • d04a7e802a add ECDHE-PSK and cipher suite ECDHE-PSK-NULL-SHA256 Jacob Barthelmeh 2016-02-03 13:44:13 -07:00
  • d26ca17efd Merge pull request #288 from moisesguimaraes/add_python_pbkdf2_tests John Safranek 2016-02-03 11:09:28 -08:00
  • 1ad497177a adds pbkdf_pcscs12 tests Moisés Guimarães 2016-02-02 15:43:48 -03:00
  • dc316d13bf Merge pull request #250 from ikudriavtsev/master Moisés Guimarães 2016-02-02 15:40:50 -03:00
  • 8edf38632b Merge pull request #284 from JacobBarthelmeh/DH toddouska 2016-02-02 08:31:30 -08:00
  • cad6a08f10 comment for clarifying table of DH sizes Jacob Barthelmeh 2016-02-01 17:11:01 -07:00
  • f84c0742ad fix clang warning about potentially unset value Jacob Barthelmeh 2016-02-01 15:23:24 -07:00
  • 93c54c07ea cipher suite ECDHE-ECDSA-NULL-SHA Jacob Barthelmeh 2016-02-01 14:43:17 -07:00
  • dda0de4baa Added optional define "NO_CRYPT_BENCHMARK" to allow disabling benchmark code. David Garske 2016-02-01 13:04:30 -08:00
  • 7fe73c7cbd DTLS server should be able to receive multiple client hellos without advancing state John Safranek 2016-01-28 14:42:21 -08:00
  • d0f8132cdc forcing sensitive memory to be all zeros when done with it Jacob Barthelmeh 2016-02-01 10:45:09 -07:00
  • b6017c59ba Merge pull request #275 from dgarske/WolfErrorTypo John Safranek 2016-02-01 09:00:10 -08:00
  • 6fd5579130 Merge pull request #281 from toddouska/math-rsa-fix John Safranek 2016-01-29 16:59:36 -08:00
  • f8876854f4 Spelling fixes in comments and error strings (ALGO_ID_E, ASN_TIME_E and WOLFSSL_ERROR function). David Garske 2016-01-29 16:13:09 -08:00
  • 41f7cb0482 Forgot to change the testsuite and sslSniffer projects. Now these also use the IDE/WIN/user_settings.h. David Garske 2016-01-29 15:07:03 -08:00
  • ebd14a657d Added signature.c to Visual Studio project files. Added new "IDE/WIN/user_settings.h" which contains all the defines for the various Windows Visual Studio projects. Moved the settings into this new file and added the WOLFSSL_USER_SETTINGS and CYASSL_USER_SETTINGS macros and include path to IDE/WIN to all project files. This allows the settings (defines) to be adjusted in a single place for Win VS. David Garske 2016-01-29 14:29:31 -08:00
  • 3f87d28190 Merge pull request #280 from JacobBarthelmeh/master toddouska 2016-01-29 14:12:53 -08:00
  • fa25e5d09d fix normal math off by one loop error in fast_s_mp_mul_high_digs toddouska 2016-01-29 13:54:41 -08:00
  • 9a5ad356a6 fixed point DH operations Jacob Barthelmeh 2016-01-29 10:31:49 -07:00
  • 611e37b3e8 naming for AEAD macros and TLSX with chacha-poly Jacob Barthelmeh 2016-01-29 09:38:13 -07:00
  • 6856e5bbe6 Merge pull request #261 from dgarske/AsnIoCleanup toddouska 2016-01-28 13:25:21 -08:00
  • 2bc0ae05b5 Added new CUSTOM_RAND_GENERATE_SEED_OS macro to allow custom random generation, which includes the OS_Seed. Opted to create new macro instead of modifying existing CUSTOM_RAND_GENERATE_SEED. David Garske 2016-01-28 09:31:36 -08:00
  • fa64abd83e Fix for deleted USER_TIME gmtime forward declaration. Fix to make sure XGMTIME maps to gmtime just as previous code did. David Garske 2016-01-27 13:20:06 -08:00
  • 7d71d756f3 update ChaCha20-Poly1305 to most recent RFCs Jacob Barthelmeh 2016-01-27 14:03:05 -07:00
  • fadd97de3a Moved the forward declarations until after the struct tm and time_t have been defined. David Garske 2016-01-27 11:17:54 -08:00
  • 3b6f2b0330 Merge pull request #274 from JacobBarthelmeh/master dgarske 2016-01-27 09:28:56 -08:00
  • 18f1faa13d check error strings and update comment Jacob Barthelmeh 2016-01-27 09:50:20 -07:00
  • 71fcc1e478 comment for adding new wolfCrypt error id strings Jacob Barthelmeh 2016-01-26 17:12:31 -07:00
  • 5c4a3462ee Cleanup of the time macros in asn.c to allow expanded use of wolf "struct tm", "time_t" and "gmtime". Cleanup of the io.c socket includes for clarity. Cleanup trailing spaces in io.c and asn.c. David Garske 2016-01-26 13:47:01 -08:00
  • 02397623be Merge pull request #273 from toddouska/bump-version John Safranek 2016-01-26 13:18:11 -08:00
  • ee512cac4a bump dev version toddouska 2016-01-25 13:12:45 -08:00
  • 18c25b5d04 Merge pull request #272 from cconlon/ksdk-fixes dgarske 2016-01-25 12:24:01 -08:00
  • 0801eeac8d update support for Freescale KSDK 1.3.0 Chris Conlon 2016-01-15 14:32:20 -07:00
  • 993ae48502 Merge pull request #271 from JacobBarthelmeh/mysql Nickolas Lapp 2016-01-25 09:39:18 -07:00
  • 5df55e053d function needed for MYSQL compatibility Jacob Barthelmeh 2016-01-22 16:33:54 -07:00
  • e1abf5f623 Merge pull request #270 from JacobBarthelmeh/OAEP dgarske 2016-01-21 08:50:00 -08:00
  • 63d1f81fb1 cast XMALLOC to byte pointer Jacob Barthelmeh 2016-01-21 09:05:19 -07:00
  • 197f25f135 use type enum wc_HashType rather than int Jacob Barthelmeh 2016-01-20 15:31:08 -07:00
  • 3098e09f42 Merge pull request #269 from cconlon/coverity-fix JacobBarthelmeh 2016-01-20 09:01:09 -07:00
  • 122a67139d fix recursive include in wc_port.h Chris Conlon 2016-01-19 14:23:47 -07:00
  • f84722bbac Merge pull request #267 from moisesguimaraes/fix_ocspstapling_dtls_typo JacobBarthelmeh 2016-01-19 10:34:15 -07:00
  • 04a1bf0086 Merge pull request #265 from toddouska/cov-tfm Chris Conlon 2016-01-19 10:30:09 -07:00
  • a7bac3ae9b Merge pull request #266 from JacobBarthelmeh/master toddouska 2016-01-18 17:55:02 -08:00
  • a6a2214306 removes 'end of line' spaces; Moisés Guimarães 2016-01-18 20:48:12 -03:00
  • 08c67e5cdc fixes typo; Moisés Guimarães 2016-01-18 20:46:52 -03:00
  • 33a71fb456 Merge pull request #264 from JacobBarthelmeh/OAEP toddouska 2016-01-18 15:31:18 -08:00
  • 3a65f55bd3 check not CHACHA_BYTE before considering normal suite Jacob Barthelmeh 2016-01-18 15:33:32 -07:00
  • 04b8df09e3 Merge pull request #260 from kaleb-himes/master toddouska 2016-01-18 13:55:35 -08:00
  • 8e97145682 fix coverity report for fp_mont reduce where m is half max size, not currently called that big but let's allow toddouska 2016-01-18 13:53:01 -08:00
  • 93e454f09a Merge pull request #259 from dgarske/UnusedParamError John Safranek 2016-01-18 09:40:30 -08:00
  • 268515018d help out clang static analyzer Jacob Barthelmeh 2016-01-18 10:22:12 -07:00
  • 1ab9f19541 Merge pull request #256 from JacobBarthelmeh/fast-rsa toddouska 2016-01-15 15:47:57 -08:00
  • 71741847d3 system read return size_t, cast to int kaleb-himes 2016-01-15 16:00:27 -07:00
  • 014b849af4 Merge pull request #258 from toddouska/no-sha384 John Safranek 2016-01-15 13:29:06 -08:00
  • 81d26b83c3 Merge pull request #246 from JacobBarthelmeh/OAEP toddouska 2016-01-15 11:34:37 -08:00
  • 476355b5bf fix potential memory leak on fail Jacob Barthelmeh 2016-01-14 23:58:30 -07:00
  • 07c79f9dc3 Fixes unused argument build error seen on CrossWorks (Issue #255). David Garske 2016-01-14 21:09:01 -08:00
  • 1d473ab7b5 resolve issue #255, no sha284 with wolfssl cert chain and external test toddouska 2016-01-14 20:25:50 -08:00
  • d20b8880f0 Merge pull request #254 from lchristina26/master toddouska 2016-01-14 16:49:13 -08:00
  • dec13db1e7 Merge pull request #252 from moisesguimaraes/fix_srp_build John Safranek 2016-01-14 15:48:39 -08:00
  • 3347bea0d5 fix for size of buffer when reading fast-rsa BN data Jacob Barthelmeh 2016-01-14 15:00:59 -07:00
  • 008612ec70 OAEP w/ smallstack and fixs Jacob Barthelmeh 2016-01-14 14:26:17 -07:00
  • df0d2e8c3a Merge pull request #248 from JacobBarthelmeh/CSharp dgarske 2016-01-14 08:46:18 -08:00
  • c41b5ac3d2 Fix formatting to VxWorks README Leah 2016-01-13 10:42:30 -07:00
  • 10df002ec5 fixes srp build without sha512 Moisés Guimarães 2016-01-12 15:42:58 -03:00
  • 037f4c60ab Merge pull request #251 from ejohnstown/dtls-handshake John Safranek 2016-01-11 11:29:25 -08:00