Commit Graph

  • 8be5409bc5 static method func / ocsp callbacks / heap test / alpn free func / remove timing resistant constraint Jacob Barthelmeh 2016-06-09 11:36:31 -06:00
  • 664d2190ba session ticket extension fix with static memory heap hint Jacob Barthelmeh 2016-06-08 10:50:20 -06:00
  • a2d7ba0dd9 add output size getter toddouska 2016-06-08 09:32:34 -07:00
  • e214086dce tlsx with static memory / account for session certs size Jacob Barthelmeh 2016-06-07 15:39:16 -06:00
  • c48db891d1 Merge pull request #433 from ejohnstown/aes-cmac toddouska 2016-06-07 16:48:46 -07:00
  • c1c1990247 Merge pull request #437 from tisb-vikram/master dgarske 2016-06-07 16:00:20 -07:00
  • 57675dc51d add ALT_ECC_SIZE for TI build to reduce memory usage Vikram Adiga 2016-06-07 14:05:35 -07:00
  • 738373038b clean up staticmemory with crl Jacob Barthelmeh 2016-06-06 17:50:54 -06:00
  • e1edadafe1 ocsp with static memory, remove unused function Jacob Barthelmeh 2016-06-06 16:19:33 -06:00
  • 9f7e8a6f4b Merge pull request #436 from JacobBarthelmeh/master toddouska 2016-06-06 14:52:20 -07:00
  • 4ba77a7059 add HAVE_SUPPORTED_CURVES to TI-RTOS wolfSSL configuration Vikram Adiga 2016-05-11 10:01:59 -07:00
  • db90594909 adjust pointer cast, ssl rng with fips and unused param Jacob Barthelmeh 2016-06-06 14:32:49 -06:00
  • e085be9485 fix index to check for sperator value Jacob Barthelmeh 2016-06-06 10:34:35 -06:00
  • a25df5b78e Merge pull request #434 from toddouska/crlbuffer dgarske 2016-06-06 09:01:25 -07:00
  • 38d5480256 Merge pull request #432 from JacobBarthelmeh/DTLS-MultiCore toddouska 2016-06-06 08:51:24 -07:00
  • 2feee8856e revise static memory and update heap hint Jacob Barthelmeh 2016-06-04 19:03:48 -06:00
  • 104ff12e76 add staticmemory feature Jacob Barthelmeh 2016-03-23 10:21:26 -06:00
  • 3f205d19f4 add wolfSSL and wolfSSL_CTX LoadCRLBuffer() toddouska 2016-06-03 15:13:16 -07:00
  • d05754f9db Merge pull request #404 from moisesguimaraes/wolfcrypt-py John Safranek 2016-06-03 08:24:12 -07:00
  • 7f71c526f6 adds python3 support Moisés Guimarães 2016-06-03 10:36:00 -03:00
  • 6736ffe10e adds links to wolfssl.com Moisés Guimarães 2016-06-02 22:08:57 -03:00
  • a76291c2e2 adds tox instructions Moisés Guimarães 2016-06-02 21:38:34 -03:00
  • 046b987324 callbacks for setting and getting peer ip/port/family Jacob Barthelmeh 2016-06-02 09:23:12 -06:00
  • 5be916e336 Merge pull request #403 from ejohnstown/dtls-fix Kaleb Himes 2016-05-30 17:26:25 -06:00
  • 73328ac4bc import / export of peer connection information Jacob Barthelmeh 2016-05-26 16:26:08 -06:00
  • a4fa4d5253 Merge pull request #431 from JacobBarthelmeh/master toddouska 2016-05-26 14:46:58 -07:00
  • 806a0bbaa7 Merge pull request #430 from toddouska/sesstick_type_typo dgarske 2016-05-26 11:35:46 -07:00
  • 61801e06df add benchmark for AES-CMAC John Safranek 2016-05-25 16:12:19 -07:00
  • 1b9b7f52c9 1. Reformat a couple of #ifdefs around if(dtls) checks. 2. Move fuzz update for DTLS GetRecordHeader to be like the TLS case. 3. DtlsCheckWindow only allows current epoch and last epoch. 4. ProcessReply only retransmits flight on a CCS out of sequence when still retaining the handshake data. John Safranek 2016-05-25 15:44:06 -07:00
  • 5e1f06ce52 sanity checks on wolfSSL_dtls_get_peer arguments Jacob Barthelmeh 2016-05-25 10:57:00 -06:00
  • 669cdfc357 fix dynamic type session ticket typos toddouska 2016-05-25 09:47:54 -07:00
  • ae093ded8f add standalone AES-CMAC generate and verify functions John Safranek 2016-05-25 09:22:39 -07:00
  • 5d67bb881e fix memory leaks Ludovic FLAMENT 2016-05-25 17:44:31 +02:00
  • bb754bb46a Fix Win32 warnings Ludovic FLAMENT 2016-05-25 13:49:06 +02:00
  • 9bf4598772 use constant for Cmac type John Safranek 2016-05-24 16:46:04 -07:00
  • dbfd5dffaf added parameter checks John Safranek 2016-05-24 11:21:06 -07:00
  • b3d068dc40 Merge pull request #418 from toddouska/dyntickets John Safranek 2016-05-24 11:00:14 -07:00
  • 1d675ed1e6 Fix va_copy error for Win32 build and AES-NI segfault Ludovic FLAMENT 2016-05-24 18:17:26 +02:00
  • c0cbc97b06 add AES-CMAC John Safranek 2016-05-23 17:50:36 -07:00
  • 07ce928bf3 adds installation testing with vagrant Moisés Guimarães 2016-05-23 21:10:44 -03:00
  • 04d5ca41df adds --enable-Sha512 to make sure it is always present Moisés Guimarães 2016-05-23 20:33:11 -03:00
  • 9ab5ec4a36 Merge pull request #428 from dgarske/eccmathfixes toddouska 2016-05-23 11:46:54 -07:00
  • 61f0af5cf3 Merge pull request #429 from dgarske/wolfcryptinit toddouska 2016-05-23 09:23:42 -07:00
  • ab1d6c91bf fix errors (win32, met leak) Ludovic FLAMENT 2016-05-23 13:46:26 +02:00
  • 99b5aa587f Fix errors (jenkins) Ludovic FLAMENT 2016-05-23 11:11:57 +02:00
  • 5eb7768d00 Added missing wolfCrypt_Init() to wolfCrypt tests. David Garske 2016-05-22 18:18:06 -07:00
  • 15cd06b7ca Fixed bug with "ecc_projective_add_point" that was not protecting the case where Q == R and using the R variable directly for the result. Now if Q == R then swap P and Q and using a local x,y,z, is only required when used with ALT_ECC_SIZE. David Garske 2016-05-22 17:31:36 -07:00
  • 7c93912f1d reject messages that are too far from the future John Safranek 2016-05-22 16:10:47 -07:00
  • eb6153f028 Merge pull request #425 from shihrer/master JacobBarthelmeh 2016-05-20 14:49:43 -06:00
  • f369f8a434 Merge pull request #426 from jrblixt/master JacobBarthelmeh 2016-05-20 14:48:04 -06:00
  • ed4f67058a Merge branch 'master' of https://github.com/wolfssl/wolfssl Ludovic FLAMENT 2016-05-20 21:51:13 +02:00
  • f1860d6263 Changes to date John Blixt 2016-05-20 09:48:03 -06:00
  • fa94f5ffe9 Replaced == with -eq to fix benchmark.test scripting error Michael Shihrer 2016-05-20 09:43:30 -06:00
  • fcc0eb7a6a fixes install instructions Moisés Guimarães 2016-05-20 03:55:57 -03:00
  • 217ccd8b6a updated MDK5 projects for 3.9.0. Eliminated files for older versions Takashi Kojo 2016-05-20 13:32:23 +09:00
  • 504081e602 Merge pull request #421 from ejohnstown/limit-country-code toddouska 2016-05-19 16:05:15 -07:00
  • 1bb5c48080 Merge pull request #423 from dgarske/bench-ecc-encrypt-decrypt toddouska 2016-05-19 14:47:03 -07:00
  • c1507957c4 Added a benchmark for ECC encrypt/decrypt when enabled via "HAVE_ECC_ENCRYPT" or "--enable-eccencrypt --enable-hkdf". David Garske 2016-05-19 11:42:00 -07:00
  • bae0fe9b63 MakeCertReq() was not checking return codes correctly for the SetFoo() functions. John Safranek 2016-05-18 15:14:23 -07:00
  • 5c8daa0ac6 1. SetName() should return error if country code isn't 2 bytes. 2. MakeCert() was not checking return codes correctly for the SetFoo() functions. 3. Added error code for invalid country code length. John Safranek 2016-05-18 15:04:40 -07:00
  • 03e6f7cca3 RFC 5280 Appendix A.1 states that the Country Name in a certificate shall have a size of 2 octets. Restrict country name length to 2 or 0. John Safranek 2016-05-18 10:39:18 -07:00
  • b8c0802e3c Merge pull request #414 from JacobBarthelmeh/DTLS-MultiCore toddouska 2016-05-17 17:39:18 -07:00
  • 47a1dd8cc4 fixes install steps Moisés Guimarães 2016-05-17 14:15:17 -03:00
  • 9fe6ca3130 remove XSNPRINTF add a full BIO client/server test Ludovic FLAMENT 2016-05-17 17:49:30 +02:00
  • 1b278edfd0 fix unused functions, make WOLFSSL first parameter, add comments Jacob Barthelmeh 2016-05-16 23:48:26 -06:00
  • a000ee4db3 remove empty dirs Moisés Guimarães 2016-05-16 22:17:09 -03:00
  • dc080694b4 reorder installation steps Moisés Guimarães 2016-05-16 21:55:31 -03:00
  • 2851f7d6a1 remove unnecessary dependency Moisés Guimarães 2016-05-16 20:37:42 -03:00
  • 2a0adc74a0 fixes wrapper path Moisés Guimarães 2016-05-16 20:13:26 -03:00
  • 347d80e879 removes folders from include.am Moisés Guimarães 2016-05-16 15:49:32 -03:00
  • 40cf30a13d adds .gitignore to include.am Moisés Guimarães 2016-05-16 15:31:51 -03:00
  • 4017e0f8dd fix BIO issues : - remove unrequited tests - fix compilations for lighty, stunned, openssh - wc_BioGetAcceptSocket IPv4 / IPv6 support - remove <stdio.h> from bio.h - add NO_STDIO_FILESYSTEM for BIO_printf - memset -> XMEMSET - strlen -> XSTRLEN Ludovic FLAMENT 2016-05-15 20:22:19 +02:00
  • d76d74d6c5 updates Linux deps on README Moisés Guimarães 2016-05-15 15:03:07 -03:00
  • c8576566cc add public wolfSSL_dtls_export and api tests Jacob Barthelmeh 2016-05-14 12:49:09 -06:00
  • 185e60ad19 based on pr#316; turns isDynamic ticket off on some failure cases, move an XFREE out of a Lock that isn't required toddouska 2016-05-13 14:11:46 -07:00
  • 1ea01a7ad8 Merge branch 'master' of https://github.com/NickolasLapp/wolfssl into dyntickets toddouska 2016-05-13 09:07:55 -07:00
  • 3897f78073 truncated hmac export and sanity checks Jacob Barthelmeh 2016-05-13 09:11:38 -06:00
  • 67ab30088b Merge pull request #416 from dgarske/mathmemleakfix toddouska 2016-05-12 15:23:19 -07:00
  • 2ad9d41641 Performance improvement for fast math mp_clear to use fp_zero (memset) instead of fp_clear(ForceZero). Added new mp_forcezero function for clearing/free'ing sensitive private key data. Changed ECC and RSA to use mp_forcezero to explicitly handle private key clearing. David Garske 2016-05-12 11:50:34 -07:00
  • 8d66ba2923 refactor export/import of cipher specs struct Jacob Barthelmeh 2016-05-11 14:48:53 -06:00
  • fbf39a761a refactor export/import of key struct Jacob Barthelmeh 2016-05-11 13:58:23 -06:00
  • f9ce2f2677 verify cipher suite is valid on import Jacob Barthelmeh 2016-05-11 11:18:08 -06:00
  • 39833768cf Merge pull request #417 from toddouska/stdio John Safranek 2016-05-11 14:55:05 -07:00
  • cc16a543dd make sure stdio.h can be swtiched off if not available toddouska 2016-05-11 10:11:25 -07:00
  • 440956f8d4 Fixed new issue with ecc_projective_add_point not free'ing the local x, y, z if fast math was disabled. Formatting cleanup in integer.c. David Garske 2016-05-11 08:47:30 -07:00
  • 3bff6f10e3 Merge pull request #411 from dgarske/mathfixes toddouska 2016-05-10 14:45:20 -07:00
  • 8c45cb1938 add DTLS session export option Jacob Barthelmeh 2016-05-10 13:27:45 -06:00
  • 2fb4506922 iFixes to FP_MAX_BITS_ECC calculation. Alignment check against digit_bits is based on max ecc bits times two. If alignment check fails we add a digit_bit to make sure we have enough room. David Garske 2016-05-10 12:20:39 -07:00
  • 9659505260 updates python docs Moisés Guimarães 2016-05-09 18:46:01 -03:00
  • d71d0f2cb4 Fix with fast math disabled so ecc_projective_add_point uses temp local variable for x,y,z result. David Garske 2016-05-09 13:29:25 -07:00
  • 412141198e drops 'import about' requirement Moisés Guimarães 2016-05-09 15:18:35 -03:00
  • 8f6352725a Fixed math for FP_MAX_BITS_ECC calculations. Error in alignment check. Altered non-aligned formula to be (max bits * 2) + digit, then 8-bit aligned. Cleanup of the example user_settings.h. David Garske 2016-05-09 10:34:37 -07:00
  • 8c9b8a596a Fixed calculation of max ECC bits with ALT_ECC_SIZE defined so it only allocates what is required. For 8-bit aligned curve sizes its double the max bits. For un-aligned curves sized, like ECC521, its 521 8-bit aligned, doubled, plus digit bit. David Garske 2016-05-09 09:50:51 -07:00
  • 44b1f98b39 Fixed issue with ALT_ECC_SIZE and default value for FP_MAX_BITS_ECC so its based on max enabled ECC curve bits. David Garske 2016-05-06 10:59:32 -07:00
  • 880b2e454b Refactor of the ecc_projective_add_point and ecc_projective_dbl_point functions to eliminate duplicate versions. Modified new single functions to work with normal, fast and alt_ecc_size math options. Careful use of mp_clear to retain original performance. David Garske 2016-05-05 19:00:50 -07:00
  • fe58db2a07 Fixed typo with new "eccshamir" configure option. David Garske 2016-05-05 12:24:08 -07:00
  • 1b602d783c Fast math correction of "sizeof" to use (). Updates to tfm and ecc comments. David Garske 2016-05-04 23:24:33 -07:00
  • 5cbc4bdf29 Added new "WOLFSSL_DEBUG_MATH", which enables use of "mp_dump" to display information about an mp_int. David Garske 2016-05-04 23:23:04 -07:00
  • a4782fcf01 Fix in fast math version of ecc_projective_dbl_point to use a local for x,y,z since ecc_point fp_int's are reduced size and cause math issues with ALT_ECC_SIZE enabled. Added local stack variable cleanups for ecc_projective_add_point. David Garske 2016-05-04 23:22:14 -07:00
  • 0ddbe0e60e Enhancement to RSA math function "_fp_exptmod" (non timing resistant version) to support WOLFSSL_SMALL_STACK, which moves the allocation of the 64 fp_int's from the stack to the heap. David Garske 2016-05-04 23:20:55 -07:00