Commit Graph

  • c322cb05ad uses most recent version of cyassl JacobBarthelmeh 2014-07-10 11:18:49 -06:00
  • 7c608af579 Merge branch 'master' into ti toddouska 2014-07-09 17:48:35 -07:00
  • 1c7eb61017 ntru keygen is indepedent of additional cyassl keygen, use cyassl types, correct ntru benchmark output toddouska 2014-07-09 16:18:55 -07:00
  • b134894eb8 Merge branch 'master' of https://github.com/ShaneIsrael/cyassl toddouska 2014-07-09 15:58:15 -07:00
  • 8462ed0653 fix issue #94, keygen w/ normal math toddouska 2014-07-09 15:47:37 -07:00
  • 0a2a56db57 fixed casting issue caught when using clang JacobBarthelmeh 2014-07-09 16:33:25 -06:00
  • 1f6dcd94ba Fixed NTRU param issue in asn.c and added an NTRU keygen benchmark Shane Israel 2014-07-09 16:10:10 -06:00
  • da0876c474 Merge branch 'cipher-suite' of https://github.com/JacobBarthelmeh/cyassl into cipher-suite JacobBarthelmeh 2014-07-09 15:49:29 -06:00
  • fb25db9c28 progress on suite JacobBarthelmeh 2014-07-09 15:48:40 -06:00
  • 9ffc44a01f ecc_free should be called only upon ecc_import_x963 success. Moisés Guimarães 2014-07-08 13:41:42 -03:00
  • d6f5f57452 remove unnecessary check on pubKey Moisés Guimarães 2014-07-08 13:03:12 -03:00
  • f8cf3bf853 remove stack reduction macros Moisés Guimarães 2014-07-07 22:56:13 -03:00
  • ff59078053 remove stack reduction macros from hash functions Moisés Guimarães 2014-07-07 22:30:22 -03:00
  • 4ed9b3fa33 Merge branch 'master' into ti toddouska 2014-07-07 10:32:52 -07:00
  • b7acbc090f asn: refactoring EccPrivateKeyDecode to reduce stack usage (199 bytes - pointer sizes saved): --- variable priv moved to the heap (66 bytes saved) --- variable pub moved to the heap (133 bytes saved) Moisés Guimarães 2014-07-04 12:03:56 -03:00
  • 2913aa89d4 asn: refactoring SetAltNamesFromCert to reduce stack usage: --- variable decoded moved to the heap (sizeof(DecodedCert) bytes saved) Moisés Guimarães 2014-07-04 11:35:11 -03:00
  • 85dcc8e5e2 asn: refactoring MakeAnyCert to reduce stack usage: --- variable der moved to the heap (sizeof(DerCert) bytes saved) Moisés Guimarães 2014-07-04 09:50:20 -03:00
  • 1739aea535 asn: refactoring SignCert to reduce stack usage: 512 bytes - pointers size moved to the heap. --- variable sig moved to the heap (1152 bytes saved) Moisés Guimarães 2014-07-04 10:15:39 -03:00
  • 30977adc84 asn: refactoring MakeSignature to reduce stack usage: --- variable encSig moved to the heap (98 bytes saved) --- variable md5 moved to util function (sizeof(Md5) bytes saved) --- variable sha moved to util function (sizeof(Sha) bytes saved) --- variable sha256 moved to util function (sizeof(Sha256) bytes saved) Moisés Guimarães 2014-07-04 09:33:53 -03:00
  • de14fac069 add hash utility functions to promote cleaner code, smaller footprint, centralized logs and error handling. Moisés Guimarães 2014-07-03 10:59:01 -03:00
  • a281c6bc6c asn: refactoring ConfirmSignature to reduce stack usage: --- variable digest moved to the heap (20..64 bytes saved) --- variable pubKey moved to the heap (sizeof(RsaKey) bytes saved) --- variable encodedSig moved to the heap (512 bytes saved) --- variable plain moved to the heap (512 bytes saved) --- variable pubKey moved to the heap (sizeof(ecc_key) bytes saved) --- variable md2 moved to the heap (sizeof(Md2) bytes saved) --- variable md5 moved to the heap (sizeof(Md5) bytes saved) --- variable sha moved to the heap (sizeof(Sha) bytes saved) --- variable sha256 moved to the heap (sizeof(Sha256) bytes saved) --- variable sha384 moved to the heap (sizeof(Sha384) bytes saved) --- variable sha512 moved to the heap (sizeof(Sha512) bytes saved) Moisés Guimarães 2014-07-01 16:53:28 -03:00
  • b875f6f631 add stack reduction macros Moisés Guimarães 2014-07-01 11:24:48 -03:00
  • 8dd4589650 asn: refactoring SetName to reduce stack usage: 1152 bytes - pointers size moved to the heap. --- variable names moved to the heap (1152 bytes saved) Moisés Guimarães 2014-06-27 15:55:45 -03:00
  • 1cd81c1bb6 asn: refactoring SetRsaPublicKey to reduce stack usage: 553 bytes - pointers size moved to the heap. --- variable n moved to the heap (517 bytes saved) --- variable e moved to the heap (16 bytes saved) --- variable algo moved to the heap (20 bytes saved) Moisés Guimarães 2014-06-27 11:58:18 -03:00
  • 4aab92c982 asn: refactoring SetEccPublicKey to reduce stack usage: 296 bytes - pointers size moved to the heap. --- variable algo moved to the heap (20 bytes saved) --- variable curve moved to the heap (20 bytes saved) --- variable pub moved to the heap (256 bytes saved) Moisés Guimarães 2014-06-27 11:31:25 -03:00
  • 171d7bf920 asn: refactoring DerToPem to reduce stack usage: 160 bytes - pointers size moved to the heap. --- variable header moved to the heap (80 bytes saved) --- variable footer moved to the heap (80 bytes saved) Moisés Guimarães 2014-06-27 11:14:35 -03:00
  • e077cd067b asn: refactoring GetKey to reduce stack usage: 610 bytes - pointers size moved to the heap. --- variable keyBlob moved to the heap (610 bytes saved) Moisés Guimarães 2014-06-27 10:19:52 -03:00
  • 8c1a4a4944 asn: refactoring ToTraditionalEnc to reduce stack usage: 128 bytes - pointers size moved to the heap. --- variable salt moved to the heap (64 bytes saved) --- variable cbcIv moved to the heap (64 bytes saved) Moisés Guimarães 2014-06-26 18:22:36 -03:00
  • 96aa460d03 asn: refactoring DecryptKey to reduce stack usage: 64 bytes - pointer size moved to the heap. --- variable key moved to the heap (64 bytes saved) Moisés Guimarães 2014-06-26 16:39:10 -03:00
  • 40ef0c8daa asn: refactoring GetCertHeader to reduce stack usage: ~ sizeof(mp_int) bytes moved to the heap. --- variable mpi moved to the heap (~ sizeof(mp_int) bytes saved) Moisés Guimarães 2014-06-25 15:10:36 -03:00
  • adf5ba96e6 tie in the client test script to check target John Safranek 2014-07-03 12:18:03 -07:00
  • 8a3b3b03d2 fix crl problem error out if verify peer disabled toddouska 2014-07-03 12:13:41 -07:00
  • 61e989ed99 Merge branch 'master' into ti toddouska 2014-07-03 11:34:15 -07:00
  • 2d63c559cc dh now disabled by default but can be enabled w/o opensslextra toddouska 2014-07-03 11:32:24 -07:00
  • cc74206f9c Merge branch 'master' into ti toddouska 2014-07-02 20:06:49 -07:00
  • cac799f683 add optional ecc ctx info toddouska 2014-07-02 16:59:45 -07:00
  • 6817e3cd2e Merge branch 'master' into ti toddouska 2014-07-02 16:31:55 -07:00
  • 18119610fb Update tls.c JacobBarthelmeh 2014-07-02 16:06:41 -06:00
  • b7baf024ab add expired-ca for testing as well toddouska 2014-07-02 12:21:52 -07:00
  • 0272d51ce4 remove C++ comments from cyassl proper toddouska 2014-07-02 12:11:01 -07:00
  • be402277e0 add override cert date example for bad clock testing toddouska 2014-07-02 12:07:25 -07:00
  • 0c30053f52 Merge branch 'cipher-suite' of https://github.com/JacobBarthelmeh/cyassl into cipher-suite JacobBarthelmeh 2014-07-02 12:53:59 -06:00
  • a1e8eb0802 progress on suite JacobBarthelmeh 2014-07-02 12:49:14 -06:00
  • 0950b19da8 Merge branch 'master' into ti toddouska 2014-07-02 10:49:22 -07:00
  • 4aac37bff9 move CipherRequires() to both client and server, VerifyClientSuite() to client only toddouska 2014-07-02 10:48:04 -07:00
  • 91af14544f Update poly1305.c JacobBarthelmeh 2014-07-01 16:14:57 -06:00
  • 53c63dd257 progress on suite JacobBarthelmeh 2014-07-01 16:08:52 -06:00
  • 6c366a1863 progress on suite JacobBarthelmeh 2014-07-01 15:19:55 -06:00
  • bcb31dcb4b progress on suite JacobBarthelmeh 2014-07-01 14:18:21 -06:00
  • 5bf411f345 progress on suite JacobBarthelmeh 2014-07-01 14:16:44 -06:00
  • 599da85d9e Merge branch 'master' into ti toddouska 2014-07-01 12:00:15 -07:00
  • e145e978e1 Merge branch 'master' into ti toddouska 2014-07-01 11:58:46 -07:00
  • 1122f2a399 master merge resolve toddouska 2014-07-01 11:58:33 -07:00
  • d875931a3f hook new DER files into include.am Chris Conlon 2014-07-01 11:20:39 -06:00
  • 4eebba8162 Merge branch 'master' of github.com:cyassl/cyassl toddouska 2014-07-01 09:28:40 -07:00
  • c957e9a909 make default I/O callbacks external for user to base/wrap if desired toddouska 2014-07-01 09:27:31 -07:00
  • ee0d989c24 add sizeof ints back to certs_test.h, fix cert buffer usage in benchmark.c Chris Conlon 2014-07-01 09:38:12 -06:00
  • 5e09ca669b update gencertbuf.pl to generate sizeof ints Chris Conlon 2014-07-01 09:36:27 -06:00
  • 3ea0f7b4ab add key/cert buffers for CA cert, server key/cert Chris Conlon 2014-07-01 08:58:47 -06:00
  • f2de04ae46 Merge branch 'master' into ti toddouska 2014-06-26 08:57:35 -06:00
  • 9339d7d5b1 add support to TLS extensions in DTLS Moisés Guimarães 2014-06-25 11:52:37 -03:00
  • 16d64104db Merge branch 'master' into ti toddouska 2014-06-25 09:32:27 -06:00
  • eb56afdbf6 remove spaces toddouska 2014-06-25 09:28:44 -06:00
  • e2a6d68abf fix - add missing FreeDecodeCert on success. Moisés Guimarães 2014-06-24 20:03:52 -03:00
  • f2c8826e16 fix missing FreeRsaKey on error. Moisés Guimarães 2014-06-23 15:28:57 -03:00
  • a6ea32461d Merge branch 'master' into ti toddouska 2014-06-20 14:48:53 -07:00
  • edb94557e9 pkcs7: refactoring PKCS7_EncodeEnvelopedData to reduce stack usage: ~ 1300 bytes moved to the heap. --- variable contentKeyEnc moved to the heap (512 bytes saved) --- variable recip moved to the heap (~800 bytes saved) Moisés Guimarães 2014-06-20 13:47:15 -03:00
  • 46d0f68097 pkcs7: refactoring PKCS7_DecodeEnvelopedData to reduce stack usage: ~ 9 * sizeof(mp_int) bytes + 512 bytes moved to the heap. --- variable privKey moved to the heap (more than 8 * sizeof(mp_int) bytes saved) --- variable encryptedKey moved to the heap (512 bytes saved) --- variable serialNum moved to the heap (sizeof(mp_int) bytes saved) Moisés Guimarães 2014-06-19 12:51:59 -03:00
  • 21982b50db pkcs7: refactoring CreateRecipientInfo to reduce stack usage: ~ 8 * sizeof(mp_int) bytes + ~935 bytes moved to the heap. --- variable pubKey moved to the heap (more than 8 * sizeof(mp_int) bytes saved) --- variable decoded moved to the heap (sizeof(DecodedCert) ~= 880 bytes saved) --- variable serial moved to the heap (35 bytes saved) --- variable keyAlgArray moved to the heap (20 bytes saved) Moisés Guimarães 2014-06-19 12:48:40 -03:00
  • 90e9696ad6 pkcs7: refactoring PKCS7_InitWithCert to reduce stack usage: ~ 880 bytes moved to the heap. --- variable dCert moved to the heap (sizeof(DecodedCert) ~= 880 bytes saved) Moisés Guimarães 2014-06-19 12:44:49 -03:00
  • eacff3ba83 pkcs7: refactoring PKCS7_VerifySignedData to reduce stack usage: ~ 50 bytes + 8 * sizeof(mp_int) bytes moved to the heap. --- variable key moved to the heap (more than 8 * sizeof(mp_int) bytes saved) --- variable digest moved to the heap (50 bytes saved) Moisés Guimarães 2014-06-13 15:39:18 -03:00
  • 60b2495f47 pkcs7: refactoring PKCS7_EncodeSignedData to reduce stack usage: ~1300 bytes + ~ 8 * sizeof(mp_int) bytes moved to the heap. --- variable esd moved to the heap (1264 bytes saved) --- variable digestInfo moved to the heap (50 bytes saved) --- variable privKey moved to the heap (more than 8 * sizeof(mp_int) bytes saved) Moisés Guimarães 2014-06-03 15:59:50 -03:00
  • e6d9151f47 add user cert chain functionality at SSL level instead of just CTX toddouska 2014-06-20 10:49:21 -07:00
  • a319354e92 Merge branch 'master' into ti toddouska 2014-06-20 09:24:11 -07:00
  • 0c12f7c9ac Merge branch 'master' of github.com:cyassl/cyassl toddouska 2014-06-20 09:23:30 -07:00
  • 6371b3c262 send ecdsa_sign for client cert request type is sig algo ecdsa toddouska 2014-06-20 09:22:40 -07:00
  • 544c86b8e4 update taoCerts.txt to use 1024 RSA by default, SHA1 instead of MD5 Chris Conlon 2014-06-20 10:16:07 -06:00
  • 4fe938cf3a Merge branch 'master' into ti toddouska 2014-06-19 16:01:35 -07:00
  • 9642902c07 fix disable rsa w/ opensslextra toddouska 2014-06-19 15:59:24 -07:00
  • ae073cb1f9 fix pkcs7 memory leaks and XMALLOC result verification. Moisés Guimarães 2014-06-18 14:32:20 -03:00
  • 00abb2d90e Merge branch 'master' into ti toddouska 2014-06-17 09:17:17 -07:00
  • 8eae068000 fix error codes checking to use enum value from error-ssl.h Moisés Guimarães 2014-06-16 17:39:11 -03:00
  • 59196df818 Merge branch 'master' into ti toddouska 2014-06-16 12:31:24 -07:00
  • 8350d91780 fix PemToDer encrypted key search start position for bundled files toddouska 2014-06-16 12:30:04 -07:00
  • 9a180b0ec8 Merge branch 'master' into ti toddouska 2014-06-16 11:05:20 -07:00
  • acb3b1afb2 fix bug with DTLS and IO Pools John Safranek 2014-06-15 17:26:18 -07:00
  • 33fb679334 fix small config bug between AES-GCM and AES-CCM John Safranek 2014-06-15 13:59:33 -07:00
  • a3687a200a fix tests based on Wolfcrypt error codes. Moisés Guimarães 2014-06-13 15:30:30 -03:00
  • 675f99294b Merge branch 'master' into ti toddouska 2014-06-12 16:02:37 -07:00
  • 0223708ac4 make crl monitor watch init -1 toddouska 2014-06-12 16:01:34 -07:00
  • 233d4f422b Merge branch 'master' into ti toddouska 2014-06-12 16:00:33 -07:00
  • b14bf25881 merge master toddouska 2014-06-12 16:00:25 -07:00
  • ceafd298f3 fix linux crl monitor newer gcc warning toddouska 2014-06-12 15:56:44 -07:00
  • e30e1c40f7 Merge branch 'master' into ti toddouska 2014-06-11 11:57:11 -07:00
  • ddf5924b3b add error code for hmac min key len in new error range toddouska 2014-06-11 11:56:17 -07:00
  • b3abbbb0ce make more room for wolfCrypt error range toddouska 2014-06-11 11:50:14 -07:00
  • aad204428f fips mode hmac min key length for 2014 requirements toddouska 2014-06-11 11:43:17 -07:00
  • 8237319d80 merge with master toddouska 2014-06-10 15:19:45 -07:00
  • 9c905b6519 fix on TLSX_SNI_GetFromBuffer - > should be >= so extensions of length 0 get inside the while. added test to cover case. Moisés Guimarães 2014-06-10 16:56:45 -03:00
  • ba36c24fc1 fix on TLSX_SNI_GetFromBuffer - undo last fix and return 0 when there is no SNI extension. Now the return is the same when there is no extensions at all. Moisés Guimarães 2014-06-10 15:25:49 -03:00