Commit Graph

  • 1d0fc83d40 function to add X509 to cert chain Jacob Barthelmeh 2016-11-29 10:32:25 -07:00
  • 280f5cb542 fix int long type mismatch Takashi Kojo 2016-11-29 11:18:14 +09:00
  • 1704a8d683 expand compatibility layer with write bio function Jacob Barthelmeh 2016-11-28 15:17:13 -07:00
  • 778680116e HMAC_cleanup, MD5xxx for bsd Takashi Kojo 2016-11-28 10:13:30 +09:00
  • 570486b90c add SL_CTX_need/set_tmp_RSA Takashi Kojo 2016-11-27 09:05:09 +09:00
  • 4baf494ddd add EVP_CipherUpdate/Final Takashi Kojo 2016-11-26 17:56:40 +09:00
  • 869529642d Add #define EVP_DigestInit_ex Takashi Kojo 2016-11-22 10:37:44 +09:00
  • 781c7d0055 check for user RSA Jacob Barthelmeh 2016-11-21 10:52:22 -07:00
  • 7e91838d4a memory management and add to compatibility layer Jacob Barthelmeh 2016-11-18 17:42:37 -07:00
  • ff05c8a7a5 expanding compatibility layer Jacob Barthelmeh 2016-11-18 14:58:51 -07:00
  • 9d1cb18616 add function X509_get_ext_d2i Jacob Barthelmeh 2016-11-16 13:14:40 -07:00
  • 5f3fa171cd templates wolfSSL_ctrl and wolfSSL_CTX_ctrl Jacob Barthelmeh 2016-11-11 14:41:00 -07:00
  • 79472e11a1 add bio.c to dist and implement wolfSSL_check_private_key , wolfSSL_get_server_random Jacob Barthelmeh 2016-11-11 13:39:36 -07:00
  • fed4ed40a9 compatibility functions for X509 Jacob Barthelmeh 2016-11-11 11:15:12 -07:00
  • 0d7c259282 compatibility functions for ssl cert and private key Jacob Barthelmeh 2016-11-11 10:11:10 -07:00
  • d8d3cd5269 staub: SSL_get_server_random Takashi Kojo 2016-11-11 20:28:08 +09:00
  • 3946931320 stubs: SSL_get_server_random/verify_result/session/set_accept_state Takashi Kojo 2016-11-11 20:07:22 +09:00
  • a09a761d07 stubs: PEM_read_bio_DSAparams/X509_AUX/PrivateKey,SSL_CTX_get_default_passwd_cb/userdata Takashi Kojo 2016-11-11 17:56:43 +09:00
  • ee86325ae4 template: ERR_peek_last_error_line/print_errors_fp, EVP_add_digest Takashi Kojo 2016-11-11 13:48:37 +09:00
  • 63dcacb437 templates: ENGINE_cleanup, BN_mod_exp Takashi Kojo 2016-11-11 12:32:30 +09:00
  • f3435eefbd templates: ASN1_INTEGER_to_BN, BN_mod_exp, CONF_modules_free/unload, DSA_dup_DH Takashi Kojo 2016-11-11 12:24:31 +09:00
  • f2f52c3ec9 add more compatiblity functions Jacob Barthelmeh 2016-11-10 19:34:27 -07:00
  • 6520a77fac DES ECB prototypes Jacob Barthelmeh 2016-11-10 16:47:26 -07:00
  • 526b602ebd AESNI support with EVP AES Jacob Barthelmeh 2016-11-09 16:25:12 -07:00
  • 8554912d68 COMPAT. LAYER : jenkins warnings and build configurations Jacob Barthelmeh 2016-11-09 09:51:04 -07:00
  • 464543df26 COMPAT. LAYER : jenkins warnings and spacing around if statements Jacob Barthelmeh 2016-11-08 15:41:26 -07:00
  • 8844554fca Templates BIO/SSL/SSL_CTX_ctrl Takashi Kojo 2016-11-08 19:59:36 +09:00
  • 86014fb0d0 add BIO_ctrl and other BIO templates Takashi Kojo 2016-11-03 11:27:05 +09:00
  • 8ed0b83c21 Test on EVP_Cipher AES Counter Takashi Kojo 2016-10-14 19:43:53 +09:00
  • de91e7df03 add EVP_Cipher with AES Counter Takashi Kojo 2016-10-14 19:39:49 +09:00
  • aed9b2d3bb add EVP_CIPHER_CTX_block_size/mode/set_flags/set_padding Takashi Kojo 2016-10-14 12:10:59 +09:00
  • bb400789b8 add EVP_Cipher with EVP_aes_256_ecb() Takashi Kojo 2016-10-13 22:10:50 +09:00
  • 0fd50cd57a Added AES_set_encrypt/decrypt_key, AES_ecnrypt/decrypt Takashi Kojo 2016-10-10 13:05:03 +09:00
  • b57e576abd Fixes for compiler warnings with IAR EWARM 8. * Fix “wc_PKCS7_DecodeUnprotectedAttributes” return prior to free in GetSet error case. * Fix “wc_PKCS7_KariGenerateKEK” type mismatch for kdfType. * Fix aes.c roll_auth use of inSz over 24-bit. * Fix ecc “build_lut”, “accel_fp_mul” and “accel_fp_mul2add” use of err as unsigned. * Fix “wc_HKDF” use of un-initialized “myHmac” for heap. * Fix undefined reference to __REV for IAR due to missing intrinsics.h. * Fix build error for “wolfSSL_CTX_set_tmp_dh” if OPENSSL_EXTRA not defined and “HAVE_LIGHTY || HAVE_STUNNEL || WOLFSSL_MYSQL_COMPATIBLE”. * Cleanup of “wolfSSL_get_chain_X509” brace.. * Cleanup SSL_CtxResourceFree use of i and define comments. * Added “SIZEOF_LONG_LONG” to IAR-EWARM user_settings.h to support word64 (required for SHA512, etc). David Garske 2016-12-28 11:18:41 -08:00
  • a40a3cb142 Merge pull request #686 from jay/fix_poly1305_ADD_macros JacobBarthelmeh 2016-12-27 17:52:53 -07:00
  • 511f41b0e4 fix C++ compiler warnings for distro build Jacob Barthelmeh 2016-12-27 14:38:14 -07:00
  • fb49dbd083 update Windows FIPS build Jacob Barthelmeh 2016-12-27 10:34:13 -07:00
  • 3b6dac9751 poly1305: fix ADD macros for multi-line Jay Satiro 2016-12-24 02:46:35 -05:00
  • 2cf7785068 Merge pull request #682 from JacobBarthelmeh/Release v3.10.0-stable JacobBarthelmeh 2016-12-23 09:10:35 -07:00
  • c4af58b973 Refined the FIPS “min” logic. David Garske 2016-12-22 18:11:25 -08:00
  • fc16890641 Fix “min” with ctaocrypt FIPS. David Garske 2016-12-22 14:01:05 -08:00
  • 7752f9ad05 prepare for release 3.10.0 Jacob Barthelmeh 2016-12-22 10:59:44 -07:00
  • 784b24eebc Merge pull request #680 from ejohnstown/dtls-sctp-fix JacobBarthelmeh 2016-12-22 13:10:29 -07:00
  • 53d4c171c8 adds more client tests Moisés Guimarães 2016-12-22 17:58:13 -02:00
  • 35f03eb00a fixes docs. Moisés Guimarães 2016-12-22 16:59:50 -02:00
  • 1c9147a41e adds supported curves to context; fixes compatibility issues with py27 Moisés Guimarães 2016-12-13 13:57:24 -03:00
  • 9b58ab0211 renames exceptions file Moisés Guimarães 2016-12-13 12:07:57 -03:00
  • 4b75d11164 fixes socket calls Moisés Guimarães 2016-12-13 11:54:17 -03:00
  • f3c1522608 always treat native_object as a pointer Moisés Guimarães 2016-12-12 21:07:43 -03:00
  • b9934695fb pretest version of SSLSocket Moisés Guimarães 2016-12-09 15:15:51 -03:00
  • 567dfd76b3 adds initial code for SSLSocket Moisés Guimarães 2016-12-06 12:11:02 -03:00
  • 2cbdd45e8f adds negotiate() to ssl interface Moisés Guimarães 2016-12-06 12:09:19 -03:00
  • 07072ef266 moving SSLContext and SSLSocket to __init__ to avoid ciclic includes Moisés Guimarães 2016-12-06 01:14:41 -03:00
  • baeba53527 adds wrap_socket to the context Moisés Guimarães 2016-12-06 00:10:05 -03:00
  • 445e375daa adds ssl interface to ffi Moisés Guimarães 2016-12-05 20:47:02 -03:00
  • 52eb0becf0 adds set_ciphers to context Moisés Guimarães 2016-12-05 19:47:00 -03:00
  • 368f2baf88 adds verify_mode to context Moisés Guimarães 2016-12-05 19:15:08 -03:00
  • 8eec3cb874 adds initial code for SSLSocket Moisés Guimarães 2016-11-22 11:56:39 -03:00
  • 0ed0672b16 fixes pylint warnings Moisés Guimarães 2016-11-22 10:31:14 -03:00
  • c0b59a585b adds support for buffered ca certificates Moisés Guimarães 2016-11-21 22:16:01 -03:00
  • 015ffecbab fixes unicode quotes and adds load_cert_chain test. Moisés Guimarães 2016-11-15 14:53:42 -03:00
  • 760ddd14f5 fixes pylint warnings; adds more tests to load_verify_locations; fixes data type when calling C functions; fixes result verification when calling C functions. Moisés Guimarães 2016-11-15 12:56:35 -03:00
  • 7201435f2d adds initial context tests. Moisés Guimarães 2016-11-13 10:55:55 -03:00
  • bd14611879 adds load_verify_locations and load_cert_chain implementations. Moisés Guimarães 2016-11-13 10:34:49 -03:00
  • c8ae6abb43 adds context functions. Moisés Guimarães 2016-11-13 10:27:09 -03:00
  • e1c01378c7 fixes ssl version in test to maintain backward compatibility. Moisés Guimarães 2016-11-13 10:16:09 -03:00
  • 20cfbe399c fixes integer comparison and adds virtual env to ignored files. Moisés Guimarães 2016-11-13 10:01:45 -03:00
  • e06b17e170 adds methods and client tests; adds context creation; adds memory module; removes init and cleanup functions. Moisés Guimarães 2016-09-22 12:27:20 -03:00
  • 0df897d4b9 adds methods Moisés Guimarães 2016-09-13 00:55:05 -03:00
  • 7b884ad72a removes non-ASCII chars from docs. Moisés Guimarães 2016-09-06 00:31:59 -03:00
  • 8b0edafef3 adds build_ffI.py Moisés Guimarães 2016-09-04 19:05:48 -03:00
  • f4d6890b51 adds basic files and exception classes. Moisés Guimarães 2016-09-04 18:31:53 -03:00
  • d6a6226c8e Merge pull request #681 from JacobBarthelmeh/Testing toddouska 2016-12-22 08:43:55 -08:00
  • 93c87eb777 Merge pull request #677 from ejohnstown/dtls-prevseq toddouska 2016-12-22 08:42:56 -08:00
  • 1c17b8eed6 static analysis check of null dereference and memory management Jacob Barthelmeh 2016-12-21 16:20:18 -07:00
  • 40800d8065 DTLS-SCTP fix 1. Add the SCTP suite test file to the include.am. 2. Skip the sequence number increment for client_hello messages in DTLS, but do the increment for SCTP. John Safranek 2016-12-21 14:24:20 -08:00
  • 338cc9e873 Added wolfevent.c and wolfmath.c to ltc project. David Garske 2016-12-21 14:09:19 -08:00
  • 3bec816f97 Cleanup min(), TRUE, FALSE, ALIGN16 and ALIGN32. Replace only use of BYTE3_LEN with OPAQUE24_LEN. Replace “ “ with “\t” (saves bytes and is consistent). Fix align issue with “WOLFSSL_EVP_MD_CTX” hash. David Garske 2016-12-21 14:05:00 -08:00
  • d73338851d Combine generic math functions into new wolfmath.c/.h. Cleanup of the !ALT_ECC_SIZE code so fp_int always has size. This is in prep for async changes for new WC_BIGINT type for hardware crypto. David Garske 2016-12-21 13:39:33 -08:00
  • 6cc1fd293e Fixed issue with stack increase with curve cache disabled. Fixed issue with missing wc_ecc_curve_free() in wc_ecc_verify_hash_ex() causing mem leak. Changed ecc_curve_spec_cache to be allocated per curve. Added new wc_ecc_curve_cache_free() API to release all curve cache memory. Moved ecc_curve_spec struct and ecc_curve_load_mask enum to ecc.c. Add missing wc_ecc_fp_free() to wolfCrypt test. Added ecc.c comment for FP_ECC. David Garske 2016-12-21 12:31:02 -08:00
  • ac27d6d7ca DTLS Sequence Number update 1. Set the prevSeq to nextSeq on CCS. 2. Fully clear nextSeq on CCS. John Safranek 2016-12-20 09:30:46 -08:00
  • 1a5c5d0011 Merge pull request #676 from cconlon/fortify toddouska 2016-12-19 20:03:24 -08:00
  • 07e7521f34 Merge pull request #674 from JacobBarthelmeh/Testing toddouska 2016-12-19 18:31:04 -08:00
  • 125cfcacc3 Merge pull request #675 from JacobBarthelmeh/SGX Kaleb Himes 2016-12-19 17:06:14 -07:00
  • 46f3b2a367 address fortify high issues Chris Conlon 2016-12-19 15:50:11 -07:00
  • 345df93978 Bug fix for cache attack Jacob Barthelmeh 2016-12-19 14:51:42 -07:00
  • 6cefca6a49 Merge pull request #672 from cconlon/pkcs7fix toddouska 2016-12-19 13:46:35 -08:00
  • dca57bf2f0 Merge pull request #673 from cconlon/fortify toddouska 2016-12-19 13:42:11 -08:00
  • 4d637146d7 fix make dist with SGX project Jacob Barthelmeh 2016-12-19 14:03:07 -07:00
  • 060ff5e5ef address fortify critical issues Chris Conlon 2016-12-19 11:53:14 -07:00
  • 168203ff9d Merge pull request #649 from dgarske/distro toddouska 2016-12-16 16:03:16 -08:00
  • c313d97579 Merge pull request #622 from SparkiDev/sha384 toddouska 2016-12-16 15:57:40 -08:00
  • 50cf1df8da Merge pull request #669 from SparkiDev/scrypt toddouska 2016-12-16 15:53:48 -08:00
  • c73ddf3f8a Merge pull request #670 from dgarske/executebit toddouska 2016-12-16 15:52:26 -08:00
  • c5fbf96557 PKCS#7: fixes for building with AES disabled, smallstack Chris Conlon 2016-12-16 15:58:18 -07:00
  • 57571cb45e Fix merge issues with ECC HAVE_COMP_KEY after rebase. David Garske 2016-12-16 14:20:00 -08:00
  • f990775451 Fix issue with ECC_SHAMIR disabled due to curve->b remnant from async branch. David Garske 2016-12-16 11:53:33 -08:00
  • cbc3cc6e91 Removed the execute bit on the new port files. David Garske 2016-12-16 11:35:40 -08:00
  • f1ead30987 New ECC curve cache feature to improve performance. Disabled by default and enabled using ./configure CFALGS="-DECC_CACHE_CURVE" or #define ECC_CACHE_CURVE. Added internal ECC states. Combined wc_ecc_mulmod_ex versions for timing rest / not. Tested with all math, timing, FP variants and NXP LTC and ECC508A hardware. Pulled in from latest async branch. Added new ECC_MAX_SIG_SIZE enum to help with sizing the sign buffer. David Garske 2016-12-16 11:32:59 -08:00
  • a9e7c4081f Merge pull request #660 from ejohnstown/win-renegotiation toddouska 2016-12-15 16:17:15 -08:00