Commit Graph

2456 Commits (59eb83c6e94d173f9a332c74e0e1a27c0dbac1a9)

Author SHA1 Message Date
Moisés Guimarães 82d2aca505 ssl: refactoring CyaSSL_CertManagerVerifyBuffer to reduce stack usage:
--- variable cert moved to the heap (sizeof(DecodedCert) saved)
2014-09-22 11:37:34 -03:00
Moisés Guimarães d264a8f890 ssl: refactoring ProcessBuffer to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)

ssl: refactoring CyaSSL_CertManagerVerifyBuffer to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)

ssl: refactoring CyaSSL_PemCertToDer to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)

ssl: refactoring CyaSSL_X509_load_certificate_file to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)

ssl: refactoring CyaSSL_cmp_peer_cert_to_file to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)
2014-09-22 11:37:34 -03:00
Moisés Guimarães 97548cc842 ssl: refactoring CyaSSL_CertPemToDer to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)

ssl: refactoring CyaSSL_KeyPemToDer to reduce stack usage:
--- variable info moved to the heap (sizeof(EncryptedInfo) saved)
2014-09-22 11:37:34 -03:00
Chris Conlon 27ad083dbf add CodeWarrior wolfCrypt benchmark project files 2014-09-19 11:25:08 -06:00
Chris Conlon d284225b7e add SHA-384 benchmark 2014-09-19 11:07:30 -06:00
Moisés Guimarães d61af5d9ae adds record_overflow alert used by max_fragment_length tls extension. 2014-09-18 21:53:10 -03:00
Chris Conlon 63a90d9cb6 fix CodeWarrior wolfCrypt test debug configuration 2014-09-18 15:53:13 -06:00
Chris Conlon 231bfd5b85 update MQX example project README 2014-09-17 16:59:10 -06:00
Chris Conlon cfa71e82cc update .gitignore for CodeWarrior files 2014-09-17 16:55:02 -06:00
Chris Conlon ecc6ef19d1 update cyassl_client CodeWarrior project files 2014-09-17 16:53:53 -06:00
Chris Conlon b4e58a4105 update wolfcrypt_test CodeWarrior project files 2014-09-17 16:50:45 -06:00
Chris Conlon 53b5d7d7f4 update util_lib CodeWarrior project files 2014-09-17 16:39:15 -06:00
Chris Conlon c1bfdeeb81 update cyassl CodeWarrior project files 2014-09-17 16:35:45 -06:00
toddouska 75657aad40 secure r extensions, sizes correct 2014-09-17 13:49:51 -07:00
toddouska 110a65d41a fix secure r extensions send/recv 2014-09-16 18:56:32 -07:00
toddouska a735a52608 switch to extensions secure r state 2014-09-16 17:26:57 -07:00
Moisés Guimarães d80e820654 Renames TLSX_Append to TLSX_Push, adding data param and making sure the list doesn't holds duplicate extensions.
Adds SecureRenegotiation functions
2014-09-16 20:33:17 -03:00
Moisés Guimarães 89b972d946 Renames TLSX_Append to TLSX_Push, adding data param and making sure the list doesn't holds duplicate extensions.
Adds SecureRenegotiation functions
2014-09-16 20:21:29 -03:00
Moisés Guimarães 32cea012d9 Adds secure renegotiation TLSX_Type, structure and enabler function. 2014-09-16 20:21:29 -03:00
toddouska 91e4545441 use new name under tlsx for secure r flags 2014-09-16 16:19:22 -07:00
Chris Conlon 496f1481ab fixes for Freescale MQX, CodeWarrior GCC 2014-09-16 15:43:51 -06:00
toddouska 4bb20612a1 move secure r inside of tls extensions 2014-09-16 12:42:13 -07:00
toddouska 9a90a0c113 save secure r verify data 2014-09-16 11:51:13 -07:00
toddouska 2e6b472ace init secure r state 2014-09-15 15:22:13 -07:00
toddouska 996418c383 add secure reneg state variables 2014-09-15 15:18:01 -07:00
toddouska f45ffe4a38 fix clang analyzer warning 2014-09-12 11:14:23 -07:00
Chris Conlon 7ed180a04b update README.md 2014-09-10 18:01:13 -06:00
Chris Conlon 7ea5d6c509 bump version to 3.2.0 2014-09-10 16:46:39 -06:00
Chris Conlon 0a96557102 update README 2014-09-10 16:43:37 -06:00
Chris Conlon c2c9922380 fix Visual Studio warning, scan-build issue 2014-09-10 16:17:13 -06:00
Chris Conlon 8d902637b2 add ctaocrypt_test() return value to fix err_sys() on IAR 2014-09-10 11:10:51 -06:00
John Safranek 91214ad5a6 Fixed issue with ECDH-ECDSA cipher suites rejecting certificates without
the DigitalSignature key usage.
2014-09-09 17:49:38 -07:00
John Safranek ddeb1bb9f7 Verify RSA type 1 padding. 2014-09-09 15:35:54 -07:00
toddouska 6175a2a20c cleanup fp cache on examples with thread local storage 2014-09-09 10:14:32 -07:00
toddouska 2c595139db fix tirtos merge 2014-09-08 19:40:03 -07:00
toddouska 3a0837ffd5 sanity size checks on ecc private key import 2014-09-08 12:14:58 -07:00
toddouska ca3f879907 Merge branch 'master' of github.com:cyassl/cyassl 2014-09-08 11:35:06 -07:00
toddouska 9e40e967a0 add ecc key to DER, make sure ctaocrypt test errors always caught at make check level 2014-09-08 11:33:06 -07:00
Moisés Guimarães d6b4f85d7c Makes TLS_EMPTY_RENEGOTIATION_INFO_SCSV suite optional if using SetCipherList() 2014-09-08 15:03:30 -03:00
Moisés Guimarães a905d3f877 add libpq-dev (bump dependency) 2014-09-08 14:29:55 -03:00
toddouska f8f9008c96 simplify hello_request padSz calc with cached value 2014-09-05 16:18:10 -07:00
toddouska c8d67670f3 fix hello_request processing w/ mac-verify at upper layer 2014-09-05 14:29:18 -07:00
Chris Conlon 422a2b8be8 change word type to cyassl_word to prevent conflicts with some toolchains 2014-09-05 10:17:24 -06:00
Moisés Guimarães 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:

ERROR - tests/api.c line 715 failed with:

    test:   server_args.return_code is true

    result: server_args.return_code => FALSE
2014-09-04 14:17:55 -03:00
John Safranek ce0df18c58 Merge branch 'master' of github.com:cyassl/cyassl 2014-09-03 23:10:53 -07:00
John Safranek 1a88e9fbdc Added function to flatten the RSA public key to a pair of byte arrays 2014-09-03 23:10:10 -07:00
toddouska 907670f89a fix github issue #127 2014-09-03 16:56:49 -07:00
Moisés Guimarães 8bb52380a8 TLS_EMPTY_RENEGOTIATION_INFO_SCSV added on SetCipherList.
Function InitSuitesHashSigAlgo() extracted from InitSuites and SetCipherList.
2014-09-01 18:35:30 -03:00
Moisés Guimarães 7f18a39b7a ignore .vagrant folder created by Vagrant 2014-09-01 13:53:45 -03:00
toddouska e30a06329b fix scan-build issues 2014-08-29 18:35:54 -07:00