Commit Graph

1225 Commits (devin/1739556249-pem-hash-algorithm)

Author SHA1 Message Date
Nickolas Lapp 1e94868432 Add LINUX SGX Support for building of wolfSSL static library. See README
in IDE/LINUX-SGX/README.md.
2017-06-13 17:34:45 -07:00
toddouska 77dbf539c8 Merge pull request #934 from JacobBarthelmeh/mysql
some MYSQL updates for cmake and with sun 64 bit
2017-05-23 15:01:39 -07:00
David Garske a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 2017-05-19 11:15:46 -07:00
Jacob Barthelmeh 2086394a35 compatibility of get cipher list function and update cmake files 2017-05-18 14:36:34 -06:00
David Garske 30db8e95a7 Build fixes for KSDK NXP MMCAU / LTC after Hexiwear changes. 2017-05-18 11:52:20 -07:00
Chris Conlon c960faffeb fix VxWorks README formatting 2017-05-16 09:21:54 -06:00
David Garske ddcf11011e Added return code checking for `wolfCrypt_Init()`. Added `initRefCount` check on `wolfCrypt_Cleanup()`. Fix link for tenAsys INtime RTOS readme. 2017-05-02 10:20:31 -07:00
Chris Conlon 8d032081ae Merge pull request #767 from shihrer/hexiwear_pr
Hexiwear changes and KDS Project for Hexiwear platform
2017-05-02 07:31:41 -06:00
Michael Shihrer 9269298034 Merge branch 'hexiwear_pr' of https://github.com/shihrer/wolfssl into hexiwear_pr 2017-05-01 12:04:35 -06:00
Michael Shihrer abe5a318f2 Added hexiwear to include.am and removed dev environment specific variable 2017-05-01 10:44:09 -06:00
David Garske a4efaf5eaa Fix mutex to use single count for semaphore so behavior is like mutex. Fix typo with “received”. Fix for mp_clear with fast math to do null check on arg (noticed null with ecc make key benchmark with wc_ecc_free). 2017-04-27 13:09:11 -07:00
Kaleb Himes 14e37cdc4c Change variable name, add comment 2017-04-19 13:10:55 -06:00
kaleb-himes 32e83cb55d Update ARDUINO script per issue #859 from @pasko-zh 2017-04-19 11:53:58 -06:00
Michael b08e5f3b82 Merge branch 'master' into hexiwear_pr 2017-04-14 12:03:42 -06:00
Michael Shihrer 21d2becd6b Modified settings.h to allow building on KSDK 1.3, modified test.c and benchmark.c to work with KSDK, added KDS project for building wolfSSL for Hexiwear 2017-04-14 12:02:28 -06:00
David Garske c1640e8a3d Intel QuickAssist (QAT) support and async enhancements/fixes:
* Adds ./configure "--with-intelqa=../QAT1.6”, port files, memory management and README.md (see wolfcrypt/src/port/intel/).
* Added Intel QAT support for RSA public/private (CRT/non-CRT), AES CBC/GCM, ECDH/ECDSA, DH, DES3, SHA, SHA224, SHA256, SHA384, SHA512, MD5 and HMAC.
* wolfSSL async enabled all client and server: PKI, Encrypt/Decrypt, Hashing/HMAC and Certificate Sign/Verify.
* wolfSSL async support in functions: Encrypt, Decrypt, VerifyMAC, BuildMessage, ConfirmSignature, DoCertificate, ParseCertRelative, and MakeSignature.
* wolfCrypt test and benchmark async support added for all HW acceleration.
* wolfCrypt benchmark multi-threading support.
* Added QuickAssist memory overrides for XMALLOC, XFREE and XREALLOC. XREALLOC determines if existing pointer needs reallocated for NUMA.
* Refactor to make sure “heap” is available for async dev init.
* Added async support for all examples for connect, accept, read and write.
* Added new WC_BIGINT (in wolfmath.c) for async hardware support.
* Added async simulator tests for DES3 CBC, AES CBC/GCM.
* Added QAT standalone build for unit testing.
* Added int return code to SHA and MD5 functions.
* Refactor of the async stack variable handling, so async operations have generic args buffer area and cleanup function pointer.
* Combined duplicate code for async push/pop handling.
* Refactor internal.c to add AllocKey / FreeKey.
* Refactor of hash init/free in TLS to use InitHashes and FreeHashes.
* Refactor of the async event->context to use WOLF_EVENT_TYPE_ASYNC_WOLFSSL for WOLFSSL* and WOLF_EVENT_TYPE_ASYNC_WOLFCRYPT for WC_ASYNC_DEV*.
* Suppress error message for WC_PENDING_E.
* Implemented "wolfSSL_EVP_MD_CTX_init" to do memset.
* Cleanup of the openssl compat CTX sizes when async is enabled.
* Cleanup of AES, DES3, DH, SHA, MD5, DES3, DH, HMAC, MD5 for consistency and readability.
* Cleanup of the OPAQUE_LEN.
* Cleanup to use ENCRYPT_LEN instead of sizeof(ssl->arrays.preMasterSecret).
* Changed ssl->arrays.preMasterSecret to use XMALLOC (accelerates HW operations)
* Reduce verbosity with debug enabled for "GetMyVersion", "wolfSSL Using RSA OAEP padding" and "wolfSSL Using RSA PKCSV15 padding".
* Updated RSA un-padding error message so its different than one above it for better debugging.
* Added QAT async enables for each algorithm.
* Refactor of the async init to use _ex.
* Added WC_ASYNC_THRESH_NONE to allow bypass of the async thresholds for testing.
* Reformatted the benchmark results:
PKI: "RSA 2048 private HW 18522 ops took 1.003 sec, avg 0.054 ms, 18467.763 ops/sec"
Crypto/Hashing: SHA-256 SW 350 megs took 1.009 seconds, 346.946 MB/s Cycles per byte = 9.87
* Added min execution time for all benchmarks.
* Moved wc_*GetHash and wc_*RestorePos to appropriate files so use of isCopy flag is local.
* Fix for ECC sign status sometimes being invalid due to uninitialized ECC digest in benchmark.
* Added new DECLARE_VAR/FREE_VAR and DECLARE_ARRAY/FREE_ARRAY macros for helping setup test/benchmark variables to accelerate async.
* Added NO_SW_BENCH option to only run HW bench.
* Added support for PRNG to use hardware SHA256 if _wc devId provided.
* Fix to prevent curve tests from running against wrong curve sizes. Changed wc_ecc_set_curve to match on exact size.
* Added the wc_*GetHash calls to the wolfCrypt tests.
* Added async hardware start/stop to wolfSSL init/cleanup.
* Refactor to add wc_*Copy for hashing context (for async), which replaces wc_*RestorePos.
* Fixes for building with TI hashing (including: SHA224, missing new API’s and building with dummy build for non hw testing). Note: We need to add build test for this `./configure CFLAGS="-DWOLFSSL_TI_HASH -DTI_DUMMY_BUILD”`.
* Added arg checks on wc_*GetHash and wc_*Copy.
* Cleanup of the BuildMD5, BuildSHA, BuildMD5_CertVerify and BuildSHA_CertVerify functions.
* Added new ./configure --enable-asyncthreads, to allow enable/disable of the async threading support. If --enable-asynccrypt set this will be enabled by default if pthread is supported. Allows multi-threaded benchmarks with async simulator.
* Added checks for all hashing to verify valid ->buffLen.
* Fix for SHA512 scan-build warning about un-initialized “W_X”.
* Fix for valgrind un-initialized use of buffer in AllocDer (der->buffer) and BuildTlsFinished handshake_hash.
* Refactor of the benchmarking to use common function for start, check and finish of the stats.
* Fixed issue with ECC cache loading in multi-threading.
* Fix bug with AESNI not aligned code that assumes XMALLOC is 16-byte aligned.
* Added new WC_ASYNC_NO_… options to allow disabling of individual async algorithms. New defines are: WC_ASYNC_NO_CRYPT, WC_ASYNC_NO_PKI and WC_ASYNC_NO_HASH. Additionally each algorithm has a WC_ASYNC_NO_[ALGO] define.
* Added “wolfSSL_GetAllocators” API and fixed the wolfCrypt memcb_test so it restores callback pointers after test is complete (fixes issue with using custom allocators and test breaking it).
2017-04-10 14:45:05 -07:00
David Garske c532819659 Fixes for building with “CUSTOM_RAND_GENERATE_BLOCK”. Removed seed as backup RNG source. Fixed building on embedded system with time_t not defined (test.c should use long for asn_test). 2017-03-31 13:16:21 -07:00
David Garske 2fbce65975 Revert change in types.h for INTIME_RTOS. HAVE_THREAD_LS is not supported here, so don’t define out. Added note in INtime RTOS user_settings.h to indicate this. 2017-03-13 20:03:09 -07:00
David Garske 8a562c817c Fix build issues with DEBUG_WOLFSSL defined. Fix typo in user_settings.h for DEBUG_WOLFSSL. Fix issue with example client waiting on local server (shouldn’t be). Updated README.md with example output. 2017-03-13 12:22:44 -07:00
David Garske e98a0465ae tenAsys INtime RTOS port. Porting complete for mutex semaphores, threading, file, socket and RNG. Added projects for libwolfssl and wolfExamples. The wolfExamples project includes examples for wolfCrypt Test/Benchmark and wolfSSL TLS client/server. Provided reference user_settings.h with comments and enable/disable gates. Added README.md with overview and instructions. Fixed issue building master with NO_WOLFSSL_DIR defined. Added check if old TLS is enabled that SHA and MD5 are enabled. Cleanup of the wolfCrypt test use of USE_CERT_BUFFERS with file system enabled. 2017-03-13 09:48:55 -07:00
David Garske 4cbfec1c7d Implemented ksdk_port fixes to handle mp_ response codes. Added KSDK support for normal math. Regression testing against K82 hardware (MMCAU/LTC) and software with normal and fast math. 2017-02-21 14:03:21 -08:00
toddouska f25416d424 Merge pull request #689 from dgarske/fix_iar_arm
Fixes for compiler warnings with IAR EWARM 8
2017-01-03 15:46:12 -08:00
toddouska 0decefed11 Merge pull request #679 from dgarske/wolfmath
Combine generic math functions into new wolfmath.c/.h
2016-12-29 11:17:44 -08:00
David Garske 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).
2016-12-28 11:18:41 -08:00
Jacob Barthelmeh fb49dbd083 update Windows FIPS build 2016-12-27 10:34:13 -07:00
David Garske 338cc9e873 Added wolfevent.c and wolfmath.c to ltc project. 2016-12-21 14:09:19 -08:00
David Garske 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. 2016-12-21 13:39:33 -08:00
Jacob Barthelmeh 4d637146d7 fix make dist with SGX project 2016-12-19 14:03:07 -07:00
toddouska a9e7c4081f Merge pull request #660 from ejohnstown/win-renegotiation
Enable secure renegotiation by default for Windows library build.
2016-12-15 16:17:15 -08:00
Jacob Barthelmeh e16f2c0722 add Windows build for SGX 2016-12-14 10:41:52 -07:00
John Safranek 7fa825fde0 Enable secure renegotiation by default for Windows library build. 2016-12-09 13:39:00 -08:00
David Garske 08b8af5f83 Fix for forced software crypto build. 2016-12-05 09:01:59 -08:00
David Garske c35daa877e Fix to allow disabling MMCAU/LTC for software only test (moved preprocessor defines to Kinetis). Updated K82 software benchmark with actual values. 2016-12-05 09:01:59 -08:00
David Garske ae75842021 Fix build issues with rebase for ECC and RSA. Changed user_settings.h example when LTC is enabled to disable Shamir and ECC-521. Cleanup to add USE_NXP_MMCAU and USE_NXP_LTC for the example user_settings.h, so the project file can automatically configure. 2016-12-05 09:01:59 -08:00
David Garske a6b96b17ff Fixes to include path for NXP ksdk_port. Fixes for time USER/OVERRIDES so their #ifdef's are checked first. Fix to initialize LTC via new "ksdk_port_init" function. Cleanup of the ksdk_port.c for formatting, macros, statics and line length. Cleanup of the AES code for key size. Cleanup of the wolfCrypt sha.c for readability. Added support for the KSDK bare metal drivers to the IDE Rowley CrossWorks example. Updated the settings.h to allow for overrides in Freescale section. Updated README with info for using LTC. 2016-12-05 09:01:59 -08:00
Nickolas Lapp 1792eba1a2 Rename *Mutex Functions with wc_ prefix. Expose these functions for
Stunnel. Various other changes to enable stunnel compling
2016-10-03 16:36:05 -06:00
John Safranek ef0cd908ea Merge pull request #557 from kaleb-himes/arduino-updates
fix distribution issue
2016-09-16 10:55:48 -07:00
kaleb-himes 14a7065f6e fix distribution issue 2016-09-16 10:04:50 -06:00
dgarske 78c0f98ea9 Merge pull request #551 from kaleb-himes/arduino-updates
Updates to make building for ARDUINO more intuitive
2016-09-15 13:01:42 -07:00
kaleb-himes 9d49fae600 Updates to make building for ARDUINO more intuitive
NO_INLINE not necessary, update README
2016-09-14 17:01:35 -06:00
John Safranek c1136a30e9 1. Enabled the extended master secret in the Windows IDE user_settings.h
file by default.
2. Fixed scan-build warning about an assignment to a variable that isn't
used again in the function. Commented out the line.
2016-09-12 09:42:42 -07:00
David Garske 17a34c5899 Added asynchronous wolfCrypt RSA, TLS client and Cavium Nitrox V support. Asynchronous wolfSSL client support for "DoServerKeyExchange", "SendClientKeyExchange", "SendCertificateVerify" and "DoCertificateVerify". Fixes for async DTLS. Refactor of the wolf event and async handling for use in wolfCrypt. Refactor of the async device support so its hardware agnostic. Added Cavium Nitrox V support (Nitrox tested using SDK v0.2 CNN55XX-SDK with new configure "--with-cavium-v=/dir" option). Moved Nitrox specific functions to new port file "port/cavium/cavium_nitrox.c". RSA refactor to handle async with states. RSA optimization for using dpraw for private key decode. Use double linked list in wolf event for faster/cleaner code. Use typedef for wolf event flag. Cleanup of the async error codes. wolfCrypt test and benchmark support for async RSA. Asynchronous mode enabled using "./configure --enable-asynccrypt". If no async hardware is defined then the internal async simulator (WOLFSSL_ASYNC_CRYPT_TEST) is used. Note: Using async mode requires async.c/h files from wolfSSL. If interested in using asynchronous mode please send email to info@wolfssl.com. 2016-08-15 13:59:41 -06:00
Takashi Kojo 217ccd8b6a updated MDK5 projects for 3.9.0. Eliminated files for older versions 2016-05-20 13:32:23 +09:00
David Garske 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. 2016-05-09 10:34:37 -07:00
toddouska ee21d33794 Merge pull request #407 from wolfSSL/embOS-port
embOS port
2016-05-05 13:27:27 -07:00
kaleb-himes 4df12e1bd5 Add note for users about embOS directory 2016-05-05 12:29:20 -06:00
David Garske 726703e903 Added details on RTC oscillator startup delay and implemented a delay_us function. Added information about NO_INLINE and USE_SLOW_SHOW to example user_settings.h. Moved the USE_SLOW_SHA2 into the SHA512 area. 2016-05-05 09:43:11 -07:00
David Garske 5ee0659e1b Rowley Crossworks updates/fixes. Fixed issue with the RTC init for scenario where TIF is set. Added support for HW RNG only by providing reference custom_rand_generate_block. Updated kinetis_hw.c comments about serial ports on boards. Updated the stack/heap settings. Updated the user_settings.h with a well documented and configurable reference. 2016-05-04 23:11:08 -07:00
kaleb-himes ca2f0af2e4 Make suggested changes from first review
Add changes to the example user settings noted by david

missed .dep files, exclude these as well

.dep files are necessary

rebase
2016-05-04 17:28:19 -06:00
kaleb-himes 41d19b49ae Remove WOLFSSL_TRACK_MEMORY 2016-05-04 14:09:45 -06:00
kaleb-himes 6e26cac686 Reworking directories and simplify README 2016-05-04 13:03:05 -07:00
kaleb-himes d184f8b1aa wolfSSL embOS port Initialize
self-review complete

Removed autogenerated files
2016-05-03 17:09:55 -06:00
Jacob Barthelmeh f19541ffe5 update to MYSQL compatibility 2016-05-03 09:22:15 -06:00
lchristina26 8f8f4129fd VxWorks updates: add pthreads define 2016-04-26 09:36:01 -06:00
Jacob Barthelmeh 2437e97d70 if using inline do not compile misc.c in iOS XCode builds 2016-03-28 17:33:38 -06:00
JacobBarthelmeh 2733f0a7ca Merge pull request #309 from coletiv/add-tvos-target
Add tvos target to the xcode project
2016-03-28 17:29:32 -06:00
Jacob Barthelmeh e99a5b0483 prepare for release v3.9.0 2016-03-17 16:02:13 -06:00
Tiago Duarte 8f5cd98857 Added tvos target to the xcode project 2016-02-12 10:23:23 +01:00
David Garske 2e0d05f727 Fixes issues with new IDE/WIN/user_settings.h and FIPS. Fixed issue with using CYASSL_USER_SETTINGS in ctaocrypt/settings.h with FIPS by moving settings_comp.h to after user_settings.h. Fixed issue with non-existent ctaocrypt/signature.c file being included. Added the user_settings.h file to the FIPS project. 2016-02-08 12:22:20 -08:00
David Garske 97edaf88d4 Added the new IDE/WIN/user_settings.h to the include.am file. Changed the WOLFSSL library to use macro WOLFSSL_LIB for clarity. 2016-02-08 11:28:46 -08:00
David Garske ebd14a657d Added signature.c to Visual Studio project files. Added new "IDE/WIN/user_settings.h" which contains all the defines for the various Windows Visual Studio projects. Moved the settings into this new file and added the WOLFSSL_USER_SETTINGS and CYASSL_USER_SETTINGS macros and include path to IDE/WIN to all project files. This allows the settings (defines) to be adjusted in a single place for Win VS. 2016-01-29 14:29:31 -08:00
Leah c41b5ac3d2 Fix formatting to VxWorks README 2016-01-13 10:42:30 -07:00
Leah 86ddeeb110 Add steps for including wolfSSL as an Arduino library 2016-01-08 12:07:35 -07:00
lchristina26 ae92a41512 Update fork to upstream: Merge https://github.com/wolfSSL/wolfssl 2016-01-08 11:59:35 -07:00
lchristina26 f7baf9e392 settings for Arduino functionality 2016-01-08 11:54:46 -07:00
lchristina26 efae688120 add entropy steps for VxWorks 2016-01-08 11:43:05 -07:00
lchristina26 0718f4b9a3 formatting fixes for VxWorks README 2016-01-04 14:44:08 -07:00
lchristina26 9351f0d2e7 updates to VxWorks README 2016-01-04 14:41:31 -07:00
Chris Conlon b89354880f switch pragma once uses, causes warnings on some compilers 2015-12-17 13:19:17 -07:00
toddouska ed8a50ce69 Merge pull request #211 from lchristina26/master
GenerateSeed() Function for VxWorks compatibility
2015-12-15 15:59:20 -08:00
lchristina26 8b99cea5c8 update README with entropy instructions 2015-12-11 13:19:44 -07:00
toddouska 1626ae6287 Merge pull request #200 from lchristina26/master
Update VxWorks README to assume a filesystem, fix typos
2015-11-24 13:31:16 -08:00
lchristina26 76952d9ea9 updated README to leave out NO_FILESYSTEM 2015-11-24 12:21:01 -07:00
toddouska b9f0243528 Merge pull request #195 from dgarske/LPCXpresso
Adds LPCXpresso IDE support
2015-11-23 14:47:20 -08:00
David Garske 6abfaf6df4 Implemented Wolf version of LPC18XX startup code to eliminate NXP code from our repo. Cleanup of trailing spaces and convert tabs to spaces. 2015-11-19 19:06:40 -08:00
David Garske c898c582f9 Corrected filename in include.am and top of file. 2015-11-19 17:56:49 -08:00
David Garske 1894358bec Rowley IDE fix to exclude .asm and .s files. Cleanup to remove Rowley example code, leaving just stubs and Wolf code. 2015-11-19 14:32:45 -08:00
David Garske e51f99a5c3 Adds LPCXpresso IDE support. Tested with the OM13076 (LPCXpresso18S37) board. 2015-11-18 17:16:33 -08:00
David Garske 09793e3206 Added benchmark.h to expose the benchmark_test function. Updated a couple of projects to use the new benchmark header. 2015-11-17 08:52:12 -08:00
Leah 4a853b7318 Update README.md 2015-11-13 10:45:11 -07:00
Leah bcff81fd64 Update README.md 2015-11-13 10:38:58 -07:00
Leah 9007d4b655 Update README.md 2015-11-13 10:37:46 -07:00
Leah 0994491916 Update README.md 2015-11-13 10:36:36 -07:00
Leah e5707f0d49 Update README.md 2015-11-13 10:35:13 -07:00
toddouska 806a2748bf Merge pull request #189 from lchristina26/master
Updates for Wind River WORKBENCH/ VxWorks Compatibility
2015-11-12 13:33:27 -08:00
Leah 307413f11b Update README.md 2015-11-12 13:34:36 -07:00
Leah ba92b2db7b Update README.md 2015-11-12 10:47:38 -07:00
Leah 01e649210d Update README.md 2015-11-11 10:16:48 -07:00
Leah 6cdeebc4da Update README.md 2015-11-11 10:03:49 -07:00
Leah 27e523a85a Update README.md 2015-11-11 10:00:53 -07:00
Leah d34f2ebc35 Update README.md 2015-11-11 09:30:03 -07:00
Leah cdea03fdf3 Update README.md 2015-11-11 09:28:59 -07:00
Leah f9cd90872d Update README.md 2015-11-11 09:21:27 -07:00
Leah 4063fbc2b5 Update README.md 2015-11-11 09:18:00 -07:00
Leah 7d9356ae04 Update README.md 2015-11-11 09:13:04 -07:00
Leah 19ebc5b600 Update README.md 2015-11-11 09:12:10 -07:00
Leah c3540b2f6e Update README.md 2015-11-11 09:11:14 -07:00
toddouska 5823485f61 Merge pull request #182 from lchristina26/master
Update the README for VxWORKS
2015-11-10 12:36:59 -08:00
Leah 56e94cb3a9 Update README.md 2015-11-09 22:37:21 -07:00
Leah 9c43e94746 Update README.md 2015-11-09 22:36:00 -07:00
Leah ebd1e2b35d Update README.md 2015-11-09 22:35:16 -07:00
Leah a0f3fa1f1a Update README.md 2015-11-09 22:34:53 -07:00
lchristina26 54c5a3a10c update VxWorks readme 2015-11-09 17:23:25 -07:00
David Garske 099b6bc3df Updated the Rowley Crossworks example so it builds due to new user-crypto. Tested and verified new "CUSTOM_RAND_TYPE" using 8, 16 and 32 bit values. 2015-11-06 09:41:16 -08:00
David Garske 05f4c83b98 Optimizations to improve random number generation performance and provide additional ways to implement custom versions of custom random handlers. Added new "CUSTOM_RAND_TYPE" to define the datatype for the "CUSTOM_RAND_GENERATE" function. Added new "CUSTOM_RAND_GENERATE_SEED" option for anyone who wants to implement their own equivalent "wc_GenerateSeed()" function. Added generic FREESCALE_RNGA and FREESCALE_RNGB options. 2015-11-05 22:20:11 -08:00
lchristina26 5bcb7e98cb readme updates 2015-10-29 13:47:40 -06:00
lchristina26 1a96ff6766 readme updates 2015-10-29 13:45:58 -06:00
lchristina26 4061346f77 more readme updates 2015-10-29 13:44:22 -06:00
lchristina26 dd99948bcd Workbench readme update 2015-10-29 13:41:17 -06:00
lchristina26 723fc3761b Example client/server compatible with VxWorks 2015-10-29 13:39:02 -06:00
lchristina26 a914ca74f2 updates for VxWorks 2015-10-27 21:24:21 -06:00
David Garske 32171997e7 Updated Rowley CrossWorks README.md for enabling FREESCALE_MMCAU. Added sample benchmark output with MMCAU enabled. 2015-10-14 19:19:13 -07:00
toddouska 3a0e25637e Merge branch 'mdk5-update' 2015-10-12 09:33:10 -07:00
David Garske 6e61a095c7 Added new Xcode project for test suite. Added Xcode workspace file. Added library support for iOS and OS X targets. Updated project files to Xcode 7. Updated README. Added shared user_settings.h. Cleanup of the test.h "ChangeDirBack" function. Cleanup of duplicate ChangeDirBack() code in testsuite.c and adjusted for new Xcode build location. 2015-10-09 10:25:40 -07:00
Takashi Kojo 7e1d0ccb11 removed CyaSSL-Full project, replaced with wolfSSL-Full 2015-10-08 16:10:42 +09:00
Takashi Kojo e242d3eea3 Change project name cyassl to wolfssl 2015-10-07 14:55:34 +09:00
Takashi Kojo a80653f464 Eliminate local copies of examples/test/benchmark fro example projects 2015-10-07 14:52:18 +09:00
Takashi Kojo 504d3337de Catching up updated mMDK middleware packs 2015-10-07 14:46:11 +09:00
Takashi Kojo cc2460b4a0 refactor options in test.h, eliminate cyassl_MDK_ARM.[ch] coupler functions, cert_data.[ch] 2015-10-07 14:39:23 +09:00
David Garske adb9d27e9e Fixed release distribution of the Rowley IDE example. Added section in README for required library functions. 2015-10-06 16:11:28 -07:00
David Garske 16ba3138a1 Added support for the Rowley CrossWorks for ARM IDE. Added new "WOLFSSL_ROWLEY_ARM" setting define. Added a sample solution (wolfssl.hzp) for building the WolfSSL library and sample test/benchmark applications. The sample applications are written for the Freescale Kinetis K64, but easily be customized for any Kinetis or further extended to support other ARM micro-controllers. 2015-10-06 10:45:46 -07:00
toddouska 3d110516f4 fixup WORKBENCH autoconf 2015-09-29 11:57:52 -07:00
Leah 350fe922b9 Update README.md 2015-09-29 12:53:43 -06:00
Leah 914ed31ff2 Update README.md 2015-09-29 12:53:10 -06:00
Leah 389bbc94eb Update README.md 2015-09-29 12:51:03 -06:00
lchristina26 46cd3a915b VxWorks README 2015-09-29 12:49:24 -06:00
toddouska 09b2da799f Merge pull request #125 from kojo1/MDK4
MDK4 name change
2015-08-14 14:59:25 -07:00
toddouska b5ac17539e Merge pull request #127 from kaleb-himes/master
Dynamic Libraries for windows-fips project
2015-08-13 12:46:50 -07:00
unknown 6e2dcdbb73 reset to vs 2010 toolset in .sln file 2015-08-13 12:04:06 -06:00
unknown e9f63f0e17 Release-32 working 2015-08-13 12:03:42 -06:00
Takashi Kojo 2b35a8242e MKD file reference path 2015-08-12 19:49:30 +09:00
Takashi Kojo 3af082de39 Remove unused file 2015-08-12 17:58:49 +09:00
Takashi Kojo 9af596dfff add config files 2015-08-12 17:55:18 +09:00
Takashi Kojo 6b1e351d4d Merge branch 'master' into MDK4 2015-08-12 17:30:47 +09:00
Takashi Kojo 30f6bc1e27 MDK4, wolfSSL name change 2015-08-12 16:45:40 +09:00
unknown b0bc9e0f0d Remove hard tabs, update DLL-x64-Release 2015-08-11 15:14:19 -06:00
Jacob Barthelmeh 241e375b34 add wc_encrypt and hash to the MYSQL cmake 2015-08-10 13:30:57 -06:00
John Safranek d367f7ac93 Add wc_encrypt.c to the iOS Xcode project files. 2015-08-10 11:59:19 -07:00
unknown c4cbcff6e0 remove hard tabs 2015-08-10 10:27:24 -06:00
unknown 51b9d2bf9d DLL-Debug-x64 working 2015-08-10 10:25:00 -06:00
Takashi Kojo e16ff73273 Added wc_encrypt.c and other *.c files. 2015-08-08 10:12:05 +09:00
Chris Conlon 5d40c5f566 Rename RNG to WC_RNG for Freescale, add NO_OLD_RNGNAME define to completely remove RNG type usage 2015-08-07 11:53:19 -06:00
unknown 865d88ce3e rewind tool version 2015-08-05 15:55:05 -06:00
unknown 42a50d2caf Release x64 tested and working 2015-08-05 15:41:46 -06:00
unknown f45ef26977 DLL-x64 and Debug-x64 removed x86 constraint 2015-08-05 11:28:07 -06:00
unknown 92b725dfd7 DLL-Debug-32 tested and linking properly 2015-08-05 11:16:21 -06:00
John Safranek 03a50c128a update WIN IDE readme 2015-07-23 15:27:46 -07:00
John M. Schanck 53fb9188e7 Use ntru functions from stable libntruencrypt api
ntru_crypto_external_drbg_instantiate has been renamed
to ntru_crypto_drbg_external_instantiate in the 1.0.0
release of libntruencrypt. Made various other small changes
to build against libntruencrypt.
2015-07-16 15:43:50 -04:00
John Safranek 4b1e87f9d0 update the wolfSSL FIPS VS IDE project files and README 2015-07-14 21:17:20 -07:00
John Safranek 4b5cc6ebb3 add hash.c to the iOS project files 2015-06-22 13:21:35 -06:00
John Safranek 075370a39c update automake includes to limit which files are added from the IDE sub-directories 2015-06-20 14:57:31 -07:00
toddouska fa9d6428fc add hash.c to vcprojs 2015-06-18 10:14:55 -07:00
toddouska 55de33f493 Merge branch 'TI_hash' of https://github.com/kojo1/wolfssl into kojo-ti 2015-06-16 11:38:04 -07:00
John Safranek f2d9eb2994 1. Disable randomized base address on FIPS test project.
2. Fixed setting for disabling whole program optimization on file fips.c
in the windows project file.
2015-06-15 15:47:40 -07:00
John Safranek c98fde3d43 updated wolfssl fips project files so test harness will run. added a readme 2015-06-15 09:46:07 -07:00
Takashi Kojo d9ccc51f58 Fix TI driver API to ROM_xxx 2015-06-09 07:02:21 +09:00
Takashi Kojo 7433dcb95c Adding hash.c 2015-06-05 13:26:32 +09:00
Takashi Kojo 7584af3d36 Adding hash.c 2015-06-05 13:23:54 +09:00
Takashi Kojo fe3253e618 IAR/EWARM wolfSSL name change 2015-06-01 20:02:20 +09:00
John Safranek 50a80bbcd2 update Windows FIPS preprocessor flags in project file 2015-05-19 14:37:03 -07:00
John Safranek 48034b56c5 update the VS solution and project files for FIPS build 2015-05-13 13:10:03 -07:00
John Safranek b6e540b005 new VS solution and project files for FIPS build 2015-05-12 16:36:38 -07:00
John Safranek ea585e9b19 Updated iOS readme. Turned off unused wolfCrypt options in iOS FIPS build. 2015-04-07 16:00:12 -07:00
John Safranek 875ad2dc8e forced iphone os deployment version to 8.1 in FIPS project 2015-04-07 13:41:29 -07:00
John Safranek e17d452f9b Updated Xcode projects for missing headers 2015-04-06 16:12:50 -07:00
John Safranek aef879dc20 Updated iOS FIPS project, bump version 2015-04-06 15:06:56 -07:00
John Safranek 523775fcd6 updated the iOS readme 2015-04-03 09:54:15 -07:00
Jacob Barthelmeh 30cbadc38d changes for MYSQL port 2015-02-26 10:40:32 -07:00
John Safranek 0aa48498b9 1. Added new iOS IDE project
2. Added new iOS IDE project for FIPS
3. Added a readme for the iOS projects
4. Added error codes for FIPS local storage
2015-02-14 12:22:51 -08:00
kaleb-himes a389620a29 Copyright (C) updates 2015-01-08 09:39:04 -07:00
kaleb-himes 369a5f04a9 library wide licence update 2015-01-06 12:14:15 -07:00
Kaleb Himes 17c37ae208 moved cyassl -> wolfssl 2014-12-17 10:29:35 -07:00
toddouska 1f8d84553c add server_ready file to externally monitor example server for ready to accept, -r option 2014-11-26 12:13:47 -08:00
Takashi Kojo b2a1b08660 Eliminate license, manual file from mdk5 pack 2014-07-22 20:18:38 +09:00
Takashi Kojo bc3942e34f MDK5 software pack update for CyaSSL 3.1.0 2014-07-22 20:08:18 +09:00
Chris Conlon 7e13e414cb rename port.c/.h to wc_port.c/.h to prevent FreeRTOS conflicts 2014-05-28 10:28:01 -06:00
toddouska 7f938f3bdf Merge pull request #80 from kojo1/MDK5
MDK5 sw pack 3.0.0
2014-05-12 14:01:42 -07:00
Takashi Kojo 746ab39367 Remove license.txt 2014-05-12 08:58:09 +09:00
Takashi Kojo fe94cca3d5 Add settings.h to projects 2014-05-12 08:57:38 +09:00
Takashi Kojo 371d2efa2c remove SWO.ini files 2014-05-06 21:03:10 +09:00
Takashi Kojo cdf8ab295c current_time, generic to CortexM 2014-05-06 11:16:43 +09:00
Takashi Kojo cb09e266c3 CMSIS-core based current_time 2014-05-05 15:33:04 +09:00
Takashi Kojo 3063c7d663 Update component version in option files 2014-05-05 12:13:34 +09:00
Takashi Kojo 52144ee9ca Update component version in project files to 3.0.0 2014-05-05 11:34:36 +09:00
Takashi Kojo eeb2e28f54 Sync with 3.0.0 2014-05-05 09:45:25 +09:00
Takashi Kojo 238e7b9458 Remove files 2014-05-05 09:39:59 +09:00
Takashi Kojo b680e62832 set up Simulator 2014-05-02 09:31:22 +09:00
Takashi Kojo f225714e75 io.c, #include 2014-05-01 17:09:28 +09:00
Takashi Kojo fb00110b77 CyaSSL library project and README 2014-05-01 17:03:01 +09:00
Takashi Kojo 3448610f9d remove icf 2014-05-01 15:14:20 +09:00
Takashi Kojo 3de36b106e Merge remote-tracking branch 'CyaSSL-master/master' into IAR 2014-05-01 14:33:49 +09:00
Takashi Kojo 5217d9ca98 Remove unused file 2014-05-01 14:32:02 +09:00
Takashi Kojo 169c0eee20 IAR EWARM project: test, benchmark 2014-05-01 14:29:09 +09:00
Chris Conlon be65f5d518 update FSF address, wolfSSL copyright 2014-04-11 15:58:58 -06:00
Takashi Kojo b712380a60 Sync MDK5 Software Pack with 2.9.4 2014-04-11 16:20:12 +09:00
Chris Conlon b05dd361f8 fix MDK5 CyaSSL license file name 2014-04-09 14:59:04 -06:00
toddouska fb6d671629 resolve pull request merge conflict 2014-03-25 11:39:07 -07:00
Moisés Guimarães 5616450a4b fixed return codes
added protection for missing HAVE_TLS_EXTENSIONS
2014-01-31 16:52:15 -03:00
toddouska 0ee34c961e make sure passwd_cb called before load private key in server example 2013-12-23 11:19:21 -08:00
Takashi Kojo a492be99c1 MDK5, eliminated unused files 2013-11-28 09:25:54 +09:00
toddouska 7585e92fee allow cert signing w/o Cert object, buffer only 2013-11-19 16:56:49 -08:00
Takashi Kojo 16bda74536 For MDK5 Pack 2013-11-07 10:29:01 +09:00
kojo 7e609028bd add port.c to MDK projects 2013-09-11 12:55:15 +09:00
kojo 742f286827 add port.c to MDK projects 2013-09-11 12:16:30 +09:00
kojo bfc448b90c add port.c 2013-09-11 12:03:14 +09:00
kojo d04c915227 MKD-ARM proj name fixed 2013-07-18 09:39:20 +09:00
kojo e6c80f0725 RTX aware flag for MDK-ARM projects 2013-07-18 09:25:49 +09:00
kojo 37c5ba26bf MDK-ARM LCP43xx project fixed 2013-07-17 09:34:06 +09:00
kojo cf25dfb16e Config-BARE-METAL default 2013-05-26 14:02:58 +09:00
kojo 1680b47ac6 Release for STM/LPC 2013-05-26 12:17:06 +09:00
kojo e4a95342f1 Merging cyassl/master and STM.LPC 2013-05-26 10:05:35 +09:00
kojo 9382f74f2e Marging cyassl/master and STM.LPC 2013-05-26 09:47:51 +09:00
kojo 4b9c3d3512 Merge remote-tracking branch 'cyassl/master' into STM.LPC
Conflicts:
	IDE/MDK-ARM/MDK-ARM/CyaSSL/config-FS.h
	IDE/MDK-ARM/MDK-ARM/CyaSSL/config-RTX-TCP-FS.h
	IDE/MDK-ARM/MDK-ARM/CyaSSL/cyassl_MDK_ARM.c
	IDE/MDK-ARM/MDK-ARM/CyaSSL/cyassl_MDK_ARM.h
	IDE/MDK-ARM/MDK-ARM/CyaSSL/main.c
	IDE/MDK-ARM/MDK-ARM/CyaSSL/shell.c
	IDE/MDK-ARM/MDK-ARM/CyaSSL/ssl-dummy.c
	IDE/MDK-ARM/MDK-ARM/config/File_Config.c
	IDE/MDK-ARM/MDK-ARM/config/RTX_Conf_CM.c
	IDE/MDK-ARM/Projects/MDK-ARM-STM32F2xx.uvopt
	IDE/MDK-ARM/Projects/MDK-ARM-STM32F2xx.uvproj
	ctaocrypt/src/random.c
	src/internal.c
2013-05-26 09:27:06 +09:00
kojo a243281ca9 MDK-ARM for LPC/STM 2013-05-21 19:14:14 +09:00
kojo 4b3c3c92b3 MDK-ARM for LCP/STM 2013-05-21 19:02:34 +09:00
kojo ff68942ce4 MDK-ARM ready for LCP/STM 2013-05-21 18:47:54 +09:00
kojo 082f5643ed OK for LCP43xx project 2013-05-21 17:13:12 +09:00
kojo 7252b7ecd4 additional files for MDK-ARM/LPC43xx, STM32F2xx 2013-05-21 09:58:56 +09:00
toddouska fd5937b599 MDK-ARM updates 2013-05-20 17:56:27 -07:00
kojo da342ea079 initial attempt for MDK-ARM/LPC43xx: 2013-05-21 09:39:09 +09:00
takashikojo 04c6a447ab make up #3 for MDK-ARM 2013-05-19 10:56:42 +09:00
takashikojo d3ceb89fb0 make up #2 for MDK-ARM 2013-05-19 10:47:35 +09:00
takashikojo b430a14032 make up for MDK-ARM release 2013-05-19 10:33:32 +09:00
takashikojo 55763ef318 Commit 2.6.2 2013-05-19 10:02:13 +09:00
toddouska cfdfa7b2b3 pull in Kojo MDK-ARM projects, changes 2013-05-16 09:47:27 -07:00