Commit Graph

  • 9dbc1d2d00 Parse the NewSessionTicket handshake message John Safranek 2014-10-01 16:28:01 -07:00
  • 2f5520d14c fix potential resource leaks with scr and normal math on key reuse toddouska 2014-10-01 11:15:36 -07:00
  • 8e96234513 Merge branch 'master' of github.com:cyassl/cyassl toddouska 2014-10-01 09:45:57 -07:00
  • 41647e441a preview scr toddouska 2014-10-01 09:44:24 -07:00
  • ee68797cf1 Adds a flag to tell the handshake framework to expect a session ticket. Moisés Guimarães 2014-09-30 18:49:38 -03:00
  • eb42494ddd check scr cipher suite for changes toddouska 2014-09-30 12:55:15 -07:00
  • 29d4148637 handle bunlded scr messages toddouska 2014-09-30 11:52:21 -07:00
  • a937040087 Adds Session Ticket TLS Extension handling. New Session Ticket Handshake Message handling is still needed for Session Tickets to work. Moisés Guimarães 2014-09-30 09:24:42 -03:00
  • 6a75c8d144 fix TURN_ON mask adds --enable-session-ticket configure option Moisés Guimarães 2014-09-29 16:43:28 -03:00
  • f81f22799a separate allow scr and force client scr in example client toddouska 2014-09-29 15:32:41 -07:00
  • dcde28db51 add server initiated scr toddouska 2014-09-29 14:48:49 -07:00
  • d3db4546ec allow client auth with scr toddouska 2014-09-29 13:38:56 -07:00
  • 369b7559c5 fix session ticket warnings toddouska 2014-09-26 16:16:11 -07:00
  • c340d78c93 adds SESSION_TICKET extension id. adds HAVE_TLS_EXTENSIONS as a dependency to HAVE_SECURE_RENEGOTIATION reduces tlsx semaphore from 16 to 8 bytes (128 flags to 64 flags). refactors ConvertExtType() to TLSX_ToSemaphore() for a better name and behavior. Now the overflowing flags are set backwards from the end of the flags to avoid collisions. Moisés Guimarães 2014-09-26 15:57:37 -03:00
  • 95585e93df scr session resumption example toddouska 2014-09-26 10:47:57 -07:00
  • a260171e23 add scr for ephemeral keys toddouska 2014-09-26 10:27:14 -07:00
  • f5a95a9f62 struct for one time authentication ciphers Jacob Barthelmeh 2014-09-25 16:19:50 -06:00
  • 0c20584ed3 add client side initiated secure r, same specs toddouska 2014-09-24 18:48:23 -07:00
  • 74c6f35766 new handShakeDone flag to allow app data during scr toddouska 2014-09-24 13:10:01 -07:00
  • 21f46373f3 delay SetKeys() with SetKeysSide() until last possible moment, needed for scr toddouska 2014-09-24 11:27:13 -07:00
  • ed1beafdfc allow SetKeys() to be called with encrypt or decrypt, or both toddouska 2014-09-24 10:12:22 -07:00
  • 596148840d adds braces requested by commit_tests.sh on linux Moisés Guimarães 2014-09-22 13:17:05 -03:00
  • 613337cf89 ssl: refactoring PemToDer to reduce stack usage: --- variable header moved to the heap (80 bytes saved) --- variable footer moved to the heap (80 bytes saved) --- variable password moved to the heap (80 bytes saved) Moisés Guimarães 2014-09-15 23:41:49 -03:00
  • d9472d65da ssl: refactoring ProcessBuffer to reduce stack usage: --- variable password moved to the heap (80 bytes saved) --- variable key moved to the heap (32 bytes saved) --- variable iv moved to the heap (16 bytes saved) --- variable Des moved to the heap (sizeof(Des) saved) --- variable Des3 moved to the heap (sizeof(Des3) saved) --- variable Aes moved to the heap (sizeof(Aes) saved) --- variable RsaKey moved to the heap (sizeof(RsaKey) saved) Moisés Guimarães 2014-09-15 20:57:52 -03:00
  • df3ea53494 replaces tabs with spaces. Moisés Guimarães 2014-09-15 20:32:00 -03:00
  • e9af29e3e3 ssl: refactoring CyaSSL_CTX_load_verify_locations to reduce stack usage: --- variable name moved to the heap (256 bytes saved) Moisés Guimarães 2014-09-15 17:34:47 -03:00
  • cb9dafca26 ssl: refactoring CyaSSL_SetTmpDH_buffer_wrapper to reduce stack usage: --- variable p moved to the heap (513 bytes saved) --- variable p moved to the heap (513 bytes saved) Moisés Guimarães 2014-09-15 17:22:41 -03:00
  • 3281e0dfcf ssl: refactoring CyaSSL_RAND_bytes to reduce stack usage: --- variable tmpRNG moved to the heap (sizeof(RNG) saved) Moisés Guimarães 2014-09-15 17:03:00 -03:00
  • 7cafb11791 ssl: refactoring CyaSSL_BN_rand to reduce stack usage: --- variable decoded moved to the heap (1024 bytes saved) --- variable tmpRNG moved to the heap (sizeof(RNG) saved) Moisés Guimarães 2014-09-15 16:57:34 -03:00
  • 68063874dc ssl: refactoring CyaSSL_BN_hex2bn to reduce stack usage: --- variable decoded moved to the heap (1024 bytes saved) Moisés Guimarães 2014-09-15 16:44:27 -03:00
  • 4b783b3d80 ssl: refactoring SetDhInternal to reduce stack usage: --- variable p moved to the heap (1024 bytes saved) --- variable g moved to the heap (1024 bytes saved) Moisés Guimarães 2014-09-12 14:24:11 -03:00
  • 5605a24e4f ssl: refactoring CyaSSL_DH_generate_key to reduce stack usage: --- variable tmpRNG moved to the heap (sizeof(RNG) saved) --- variable pub moved to the heap (1024 bytes saved) --- variable priv moved to the heap (1024 bytes saved) Moisés Guimarães 2014-09-12 14:05:33 -03:00
  • 6b7dbb9f2a ssl: refactoring CyaSSL_DH_compute_key to reduce stack usage: --- variable pub moved to the heap (1024 bytes saved) --- variable priv moved to the heap (1024 bytes saved) Moisés Guimarães 2014-09-12 13:50:01 -03:00
  • cab23472be ssl: refactoring CyaSSL_RSA_generate_key_ex to reduce stack usage: --- variable rng moved to the heap (sizeof(RNG) saved) Moisés Guimarães 2014-09-12 13:39:10 -03:00
  • c325504de7 ssl: refactoring CyaSSL_DSA_do_sign to reduce stack usage: --- variable tmpRNG moved to the heap (sizeof(RNG) saved) Moisés Guimarães 2014-09-12 13:28:15 -03:00
  • 3f459591c6 ssl: refactoring CyaSSL_RSA_sign to reduce stack usage: --- variable tmpRNG moved to the heap (sizeof(RNG) saved) --- variable encodedSig moved to the heap (512 bytes saved) Moisés Guimarães 2014-09-12 13:13:40 -03:00
  • 961bf710bc Removes unnecessary indentation. Since we use 80 characters line wrap, every space is important. Moisés Guimarães 2014-09-10 15:06:28 -03:00
  • 79dfb3a3c3 ssl: refactoring CyaSSL_HMAC to reduce stack usage: --- variable hmac moved to the heap (sizeof(Hmac) saved) Moisés Guimarães 2014-09-09 18:28:00 -03:00
  • 8eeadc01b9 ssl: refactoring HashSession to reduce stack usage: --- variable md5 moved to the heap (sizeof(Md5) saved) --- variable sha moved to the heap (sizeof(Sha) saved) --- variable sha256 moved to the heap (sizeof(Sha256) saved) Moisés Guimarães 2014-09-09 11:51:58 -03:00
  • 19516cf5fd ssl: refactoring AddCA to reduce stack usage: --- variable cert moved to the heap (sizeof(DecodedCert) saved) Moisés Guimarães 2014-09-09 11:20:19 -03:00
  • b2b5179392 fix indentation -- no code changed. Moisés Guimarães 2014-09-08 21:34:07 -03:00
  • b22e3abfff ssl: refactoring CyaSSL_PemCertToDer to have a single return point. Moisés Guimarães 2014-09-08 18:55:55 -03:00
  • 958ec5d578 ssl: refactoring ProcessBuffer to reduce stack usage: --- variable staticBuffer moved to the heap (1023 bytes saved) Moisés Guimarães 2014-08-27 18:45:11 -03:00
  • 82d2aca505 ssl: refactoring CyaSSL_CertManagerVerifyBuffer to reduce stack usage: --- variable cert moved to the heap (sizeof(DecodedCert) saved) Moisés Guimarães 2014-08-27 17:09:55 -03:00
  • d264a8f890 ssl: refactoring ProcessBuffer to reduce stack usage: --- variable info moved to the heap (sizeof(EncryptedInfo) saved) Moisés Guimarães 2014-08-23 14:14:47 -03:00
  • 97548cc842 ssl: refactoring CyaSSL_CertPemToDer to reduce stack usage: --- variable info moved to the heap (sizeof(EncryptedInfo) saved) Moisés Guimarães 2014-08-18 14:58:28 -03:00
  • 27ad083dbf add CodeWarrior wolfCrypt benchmark project files Chris Conlon 2014-09-19 11:25:08 -06:00
  • d284225b7e add SHA-384 benchmark Chris Conlon 2014-09-19 11:07:30 -06:00
  • d61af5d9ae adds record_overflow alert used by max_fragment_length tls extension. Moisés Guimarães 2014-09-18 21:21:26 -03:00
  • 63a90d9cb6 fix CodeWarrior wolfCrypt test debug configuration Chris Conlon 2014-09-18 15:53:13 -06:00
  • 231bfd5b85 update MQX example project README Chris Conlon 2014-09-17 16:59:10 -06:00
  • cfa71e82cc update .gitignore for CodeWarrior files Chris Conlon 2014-09-17 16:55:02 -06:00
  • ecc6ef19d1 update cyassl_client CodeWarrior project files Chris Conlon 2014-09-17 16:53:53 -06:00
  • b4e58a4105 update wolfcrypt_test CodeWarrior project files Chris Conlon 2014-09-17 16:50:45 -06:00
  • 53b5d7d7f4 update util_lib CodeWarrior project files Chris Conlon 2014-09-17 16:39:15 -06:00
  • c1bfdeeb81 update cyassl CodeWarrior project files Chris Conlon 2014-09-17 16:35:45 -06:00
  • 75657aad40 secure r extensions, sizes correct toddouska 2014-09-17 13:49:51 -07:00
  • 110a65d41a fix secure r extensions send/recv toddouska 2014-09-16 18:56:32 -07:00
  • a735a52608 switch to extensions secure r state toddouska 2014-09-16 17:26:57 -07:00
  • d80e820654 Renames TLSX_Append to TLSX_Push, adding data param and making sure the list doesn't holds duplicate extensions. Moisés Guimarães 2014-09-16 20:33:17 -03:00
  • 89b972d946 Renames TLSX_Append to TLSX_Push, adding data param and making sure the list doesn't holds duplicate extensions. Moisés Guimarães 2014-09-16 18:35:41 -03:00
  • 32cea012d9 Adds secure renegotiation TLSX_Type, structure and enabler function. Moisés Guimarães 2014-09-16 17:57:35 -03:00
  • 91e4545441 use new name under tlsx for secure r flags toddouska 2014-09-16 16:19:22 -07:00
  • 496f1481ab fixes for Freescale MQX, CodeWarrior GCC Chris Conlon 2014-09-16 15:43:51 -06:00
  • 4bb20612a1 move secure r inside of tls extensions toddouska 2014-09-16 12:42:13 -07:00
  • 9a90a0c113 save secure r verify data toddouska 2014-09-16 11:51:13 -07:00
  • 2e6b472ace init secure r state toddouska 2014-09-15 15:22:13 -07:00
  • 996418c383 add secure reneg state variables toddouska 2014-09-15 15:18:01 -07:00
  • f45ffe4a38 fix clang analyzer warning toddouska 2014-09-12 11:14:23 -07:00
  • 7ed180a04b update README.md Chris Conlon 2014-09-10 18:01:13 -06:00
  • 7ea5d6c509 bump version to 3.2.0 v3.2.0 Chris Conlon 2014-09-10 16:46:39 -06:00
  • 0a96557102 update README Chris Conlon 2014-09-10 16:43:37 -06:00
  • c2c9922380 fix Visual Studio warning, scan-build issue Chris Conlon 2014-09-10 16:17:13 -06:00
  • 8d902637b2 add ctaocrypt_test() return value to fix err_sys() on IAR Chris Conlon 2014-09-10 11:10:51 -06:00
  • 91214ad5a6 Fixed issue with ECDH-ECDSA cipher suites rejecting certificates without the DigitalSignature key usage. John Safranek 2014-09-09 17:49:38 -07:00
  • ddeb1bb9f7 Verify RSA type 1 padding. John Safranek 2014-09-09 15:35:54 -07:00
  • 6175a2a20c cleanup fp cache on examples with thread local storage toddouska 2014-09-09 10:14:32 -07:00
  • 2c595139db fix tirtos merge toddouska 2014-09-08 19:40:03 -07:00
  • 3a0837ffd5 sanity size checks on ecc private key import toddouska 2014-09-08 12:14:58 -07:00
  • ca3f879907 Merge branch 'master' of github.com:cyassl/cyassl toddouska 2014-09-08 11:35:06 -07:00
  • 9e40e967a0 add ecc key to DER, make sure ctaocrypt test errors always caught at make check level toddouska 2014-09-08 11:33:06 -07:00
  • d6b4f85d7c Makes TLS_EMPTY_RENEGOTIATION_INFO_SCSV suite optional if using SetCipherList() Moisés Guimarães 2014-09-08 15:03:30 -03:00
  • a905d3f877 add libpq-dev (bump dependency) Moisés Guimarães 2014-09-05 12:55:57 -03:00
  • f8f9008c96 simplify hello_request padSz calc with cached value toddouska 2014-09-05 16:18:10 -07:00
  • c8d67670f3 fix hello_request processing w/ mac-verify at upper layer toddouska 2014-09-05 14:29:18 -07:00
  • 422a2b8be8 change word type to cyassl_word to prevent conflicts with some toolchains Chris Conlon 2014-09-05 10:17:24 -06:00
  • ffd7dd3555 fix github issue #126 api tests refectory with ifdef and prototypes cleaning + use of asserts. Now, if the tests fails, it will point the line error and expected behavior like this: Moisés Guimarães 2014-09-04 14:17:55 -03:00
  • ce0df18c58 Merge branch 'master' of github.com:cyassl/cyassl John Safranek 2014-09-03 23:10:53 -07:00
  • 1a88e9fbdc Added function to flatten the RSA public key to a pair of byte arrays John Safranek 2014-09-03 23:10:10 -07:00
  • 907670f89a fix github issue #127 toddouska 2014-09-03 16:56:49 -07:00
  • 8bb52380a8 TLS_EMPTY_RENEGOTIATION_INFO_SCSV added on SetCipherList. Function InitSuitesHashSigAlgo() extracted from InitSuites and SetCipherList. Moisés Guimarães 2014-09-01 18:35:30 -03:00
  • 7f18a39b7a ignore .vagrant folder created by Vagrant Moisés Guimarães 2014-08-18 14:55:27 -03:00
  • e30a06329b fix scan-build issues toddouska 2014-08-29 18:35:54 -07:00
  • b02b648c4d fix mp_val non prime issue toddouska 2014-08-29 18:09:18 -07:00
  • 658f3ec073 fix memory leaks on todays pushes toddouska 2014-08-29 15:15:42 -07:00
  • 03800a9df4 Merge branch 'keycomp' toddouska 2014-08-29 14:34:44 -07:00
  • dbfe2aa242 fix raw import inits toddouska 2014-08-29 14:33:48 -07:00
  • 3072edb696 add compressed key support toddouska 2014-08-29 14:25:58 -07:00
  • 7e7cbdc715 add raw ECC key import functionality and tests Chris Conlon 2014-08-29 10:46:25 -06:00
  • 2362dfdfa8 Fixed minor typecasting bugs for OCSP John Safranek 2014-08-28 16:04:51 -07:00