Commit Graph

991 Commits

Author SHA1 Message Date
John Safranek a784142edf RSA Update
1. Added FIPS wrappers for MakeRsaKey(), CheckProbablePrime(), and RsaFlattenPublicKey().
2. Update the API test so that it used appropriate key and message sizes for the RSA testing.
3. Add function to get all parts of a flattened RSA key.
2018-01-10 11:29:01 -08:00
David Garske 54c663ed49 Added new API `wolfSSL_GetVersion` to get version as wolfSSL value which can be passed into `wolfSSL_SetVersion`. Fixed duplicate `CyaSSL_CTX_use_PrivateKey_buffer` define. Added TLS1.3 to `wolfSSL_SetVersion`. 2017-11-10 11:13:48 -08:00
David Garske 911b6f95f8 Release v3.12.2 (lib 14.0.0). Updated copywright. 2017-10-22 15:58:35 -07:00
Jacob Barthelmeh 3763b88397 rename the file io.h to wolfio.h 2017-09-20 10:53:11 -06: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
Nickolas Lapp 2ef4525d4d Changes to bring wolfssl up to date with stunnel 5.40 2017-02-22 11:15:59 -07:00
David Garske a2dc01413c For distro build don't install options.h (conflicts with multi-arch). Fix for BUILD_DISTRO excludes with indent. 2016-11-29 13:29:19 -08:00
Sean Parkinson 9e81261f1e Fixes 2016-11-11 16:11:16 +10:00
kaleb-himes 4214f52d77 addition to previous customer request 2016-09-19 16:01:24 -06: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
Jacob Barthelmeh 85a9c55048 fix c89 build on windows 2016-04-06 11:16:40 -06:00
Jacob Barthelmeh e99a5b0483 prepare for release v3.9.0 2016-03-17 16:02:13 -06: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
Chris Conlon b89354880f switch pragma once uses, causes warnings on some compilers 2015-12-17 13:19:17 -07:00
Jacob Barthelmeh f64f326ab3 work on cyassl -> wolfssl compatibility 2015-10-20 15:25:00 -06:00
Jacob Barthelmeh d2cc582939 fips related macros for configurations using AES direct and DES ECB 2015-10-14 10:51:39 -06:00
Ludovic FLAMENT d050c10581 add support for curve 25519 and Ed25519 in OpenSSH
refactor curve25519 and Ed25519 code
fix warning in PEM_xxx_mem_xxx functions
2015-08-06 08:51:41 -07:00
Chris Conlon 55677aa5ae fix BLAKE2b cyassl compat header includes 2015-07-15 11:56:14 -06:00
toddouska 1d663d3bff merge conflict 2015-07-01 12:24:11 -07:00
toddouska 1f8701540d change SESSION_STATS to PRINT_SESSION_STATS, will add WOLFSSL_SESSION_STATS 2015-04-14 12:35:24 -07:00
toddouska 7d213011c1 fix fips make dist for misc.c 2015-04-11 08:47:13 -07:00
John Safranek fe303c97c6 refactor CRL/OCSP lookup for peer cert. add option to allow checking all certs in peer cert chain. 2015-03-23 17:35:56 -07:00
John Safranek 9f2454fc78 Added a noop function wc_FreeRng() for when not using the HashDRBG to keep
the calls to InitRng and FreeRng simple and balanced.
2015-03-20 14:19:35 -07:00
John Safranek 33e767a1b4 sniffer should fail a session missing a RSA key 2015-03-16 18:13:51 -07:00
John Safranek 4d62389389 added Certificate Status handshake message to sniffer 2015-03-16 11:19:16 -07:00
kaleb-himes db8619cc76 compatibility layer psk updates 2015-02-23 09:45:22 -07:00
kaleb-himes 55d30ca277 new client-ecc-cert.pem/renewcerts updates/certs relavent name changes 2015-02-02 09:10:07 -07:00
lchristina26 29be69b92b change CYASSL_DEBUG to DEBUG_CYASSL for compatibility 2015-01-30 09:11:42 -07:00
toddouska 0e4c008247 add pic32mz header to distribution 2015-01-28 15:30:41 -08:00
kaleb-himes 14eaa69eae version git diff fix 2015-01-27 11:42:25 -07:00
toddouska 466d8a970c bump version 2015-01-26 14:02:57 -08:00
kaleb-himes 3393c3a4b4 CYASSL_DEBUG in compatibility layer 2015-01-23 11:06:01 -07:00
Jacob Barthelmeh 859c22f2c2 update to asn compatibility 2015-01-19 21:18:35 -07:00
kaleb-himes 780d01afc6 tirtos compatibility 2015-01-19 09:07:13 -07:00
Jacob Barthelmeh 03345f1024 catch cyassl_sniffer macro 2015-01-13 13:40:53 -07:00
kaleb-himes 288d9a039d legacy defines and updates 2015-01-13 13:27:01 -07:00
Jacob Barthelmeh 7f3184b0ed header file includes for compatibility and macros added to cyassl/ssl.h 2015-01-12 14:45:21 -07:00
kaleb-himes 6b1484ef2f sniffer underscore 2015-01-09 11:33:40 -07:00
kaleb-himes d6dcaab89e sniffer added to compatibility layer 2015-01-09 11:31:31 -07:00
kaleb-himes be35f0df47 3.3.3 2015-01-09 10:37:42 -07:00
kaleb-himes 819a303a79 version update 2015-01-09 10:08:43 -07:00
Jacob Barthelmeh f2dea4812a add includes to compatibility 2015-01-09 10:06:50 -07:00
Jacob Barthelmeh d366599285 adding comment to header and _fips to c files 2015-01-08 10:42:01 -07:00
kaleb-himes a389620a29 Copyright (C) updates 2015-01-08 09:39:04 -07:00
Jacob Barthelmeh e3826d26c5 refactor settings_comp to respective .h files 2015-01-07 15:03:54 -07:00
Jacob Barthelmeh bdb37d0da9 adjustment to compatibility in random.h file 2015-01-07 14:45:11 -07:00
Jacob Barthelmeh 252390a476 Merge branch 'master' of https://github.com/kaleb-himes/cyassl 2015-01-07 14:32:31 -07:00
Jacob Barthelmeh 455db9f84b adjust cyassl headders 2015-01-07 14:30:28 -07:00
kaleb-himes 8d98db7593 cyassl/options.h backwards compatibile 2015-01-07 14:30:02 -07:00
Jacob Barthelmeh f516bcf1ce old cyassl header files adjusted 2015-01-07 13:11:37 -07:00