RECENT BLOG NEWS
What is the yaSSL community getting for Christmas?
Will it be a new release with awesome new embedded ssl features? What could those features possibly be? Will it be even faster and smaller? More portable? New ciphers? Do you think you know what the yaSSL community is getting for Christmas this year? Send us your guess to info@yassl.com!
Android Security Flaws
Here’s a nice article on Android’s security flaws and latent bugs from the CTO of Green Hills Software, Dave Kleidermacher : https://www.embedded.com/electronics-blogs/davek-security-blog/4211444/Angry-Bird-droppings.
Looks like there is some work to be done to help properly secure Android!
Adding Alternative Ciphers to the wolfSSL Embedded SSL Library
wolfSSL is modular. We’ve got two key modules: wolfSSL handles all SSL needs while CTaoCrypt handles all cryptographic needs including block ciphers, stream ciphers, message digests, hashing, public key cryptography, certificates, and various helper utilities. Our topic for this post is our crypto module CTaoCrypt.
CTaoCrypt is our implementation of cryptography components including various block and stream ciphers that can be used underneath the SSL protocol. A complete description of our ciphers is available here:
https://www.wolfssl.com/docs/wolfssl-manual/ch10/.
Not all ciphers are created equally. Some are better than others, depending on the task at hand. CTaoCrypt includes the traditional and most popular block ciphers, which are DES, 3DES, and AES, and the popular stream cipher ARC4. In recent years, the European Union funded the eStream project to identify next generation stream ciphers. The project concluded in 2008. A description of the eStream project is found here: http://en.wikipedia.org/wiki/ESTREAM. The eStream project was looking to identify ciphers that could handle high throughput requirements and/or operate well in resource constrained environments.
High throughput and resource constrained environments (like VoIP on devices) is where wolfSSL maintains a technology lead over the pack of SSL libraries, so it was natural for us to maintain a keen interest in the results from eStream. The net result is our implementation of the HC-128 and RABBIT ciphers in wolfSSL. If you’d like to see a comparison of cipher performance, see slide 16 of our OSCON presentation http://www.yassl.com/files/ToddOuska_SecuringMemcache.pdf, showing relative performance of the cipher suites in specific implementation of Secure Memcache.
Other ciphers can be added to CTaoCrypt for additional purposes, and we’re happy to do it if we see a need from our customers. Watch this space for further announcements!
More news on the Mobile Internet Tsunami – Plus thoughts on how the Tsunami drives some less visible markets
This article from Embedded Internet Design https://www.eetimes.com/author.asp?section_id=36&doc_id=1265936 gives excellent coverage on the recent and upcoming technologies in the Mobile Internet Tsunami. We’d like to extrapolate from the article and think about some of the less visible, less glamorous segments of the market that will change dramatically due to the innovation and investment brought about by the Tsunami.
Here’s our thinking:
1. We agree with the article. The waves in this Tsunami are just getting bigger and bigger.
2. The visible market driver is consumer adoption.
3. Chips, boards, and systems costs get driven down and horsepower goes up, really fast…of course. We’re all used to that.
4. The less visible segments of the market get driven along by the investment and innovation in the Tsunami.
5. This means dramatic changes in invisible computing, and of course the security for these invisible devices.
One of the less visible markets we’ve noticed changing fast is sensors in the industrial automation, physical security, and process driven industries. These users deploy a lot of chips, so they absolutely, positively have to be low cost designs. That means resource constraints, low memory usage, and tight code.
In the sensor space, 1.0 designs just did the sensing, collection and storage of data. 2.0 designs added wireless connectivity. The 3.0 designs we’ve been involved with add security and data transmission straight to the cloud! Not only do we think that’s cool, we think it is effective and efficient design.
Us mobile and embedded guys live in exciting times that are changing fast! Do you have thoughts on how the Tsunami affects the less visible parts of the embedded computing infrastructure? Let us know what you think at info@yassl.com.
A Comparison of TLS 1.1 and TLS 1.2
As stated in the TLS 1.1 and 1.2 protocol definitions (RFC 4346, RFC 5246), “The primary goal of the TLS protocol is to provide privacy and data integrity between two communicating applications.” TLS 1.2 is an improvement to the TLS 1.1 standard, but how exactly do they differ? What was changed in TLS 1.2 to warrant a new version of the protocol?
Listed below are the changes made to both version 1.1 and 1.2 of the TLS protocol. TLS 1.2 support is slowly making it’s way into existing projects. wolfSSL embedded SSL/TLS fully supports SSL 3.0, TLS 1.0, TLS 1.1, and TLS 1.2.
A. TLS 1.1
This protocol was defined in RFC 4346 in April of 2006, and is an update to TLS 1.0. The major changes are:
– The Implicit Initialization Vector (IV) is replaced with an explicit IV to protect against Cipher block chaining (CBC) attacks.
– Handling of padded errors is changed to use the bad_record_mac alert rather than the decryption_failed alert to protect against CBC attacks.
– IANA registries are defined for protocol parameters
– Premature closes no longer cause a session to be non-resumable.
RFC 4346: http://tools.ietf.org/html/rfc4346#section-1.1
B. TLS 1.2
This protocol was defined in RFC 5246 in August of 2008. Based on TLS 1.1, TLS 1.2 contains improved flexibility. One of the primary goals of the TLS 1.2 revision was to remove the protocol’s dependency on the MD5 and SHA-1 digest algorithms. The major differences include:
– The MD5/SHA-1 combination in the pseudorandom function (PRF) was replaced with cipher-suite-specified PRFs.
– The MD5/SHA-1 combination in the digitally-signed element was replaced with a single hash. Signed elements include a field explicitly specifying the hash algorithm used.
– There was substantial cleanup to the client`s and server`s ability to specify which hash and signature algorithms they will accept.
– Addition of support for authenticated encryption with additional data modes.
– TLS Extensions definition and AES Cipher Suites were merged in.
– Tighter checking of EncryptedPreMasterSecret version numbers.
– Many of the requirements were tightened
– Verify_data length depends on the cipher suite
– Description of Bleichenbacher/Dlima attack defenses cleaned up.
– Alerts must be sent in many cases
– After a certificate_request, if no certificates are available, clients now MUST send an empty certificate list.
– TLS_RSA_WITH_AES_128_CBC_SHA is now the mandatory to implement cipher suite.
– Added HMAC-SHA256 cipher suites.
– Removed IDEA and DES cipher suites. They are now deprecated.
RFC 5246: http://tools.ietf.org/html/rfc5246
C. Goals of the TLS Protocol
– Cryptographic security: TLS should be used to establish a secure connection between two parties.
– Interoperability: Independent programmers should be able to develop applications utilizing TLS that can successfully exchange cryptographic parameters without knowledge of one another`s code.
– Extensibility: TLS seeks to provide a framework into which new public key and bulk encryption methods can be incorporated as necessary. This will also accomplish two sub-goals: preventing the need to create a new protocol (and risking the introduction of possible new weaknesses) and avoiding the need to implement an entire new security library.
– Relative efficiency: Cryptographic operations tend to be highly CPU intensive, particularly public key operations. For this reason, the TLS protocol has incorporated an optional session caching scheme to reduce the number of connections that need to be established from scratch. Additionally, care has been taken to reduce network activity.
Resources:
If you would like to read more about SSL or TLS, here are several resources that might be helpful:
TLS – Wikipedia (http://en.wikipedia.org/wiki/Transport_Layer_Security)
SSL versus TLS – What`s the Difference? (http://luxsci.com/blog/ssl-versus-tls-whats-the-difference.html)
Cisco – SSL: Foundation for Web Security (http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_1-1/ssl.html)
As always, if you have any questions or would like to talk to the wolfSSL team about more information, please contact facts@wolfssl.com.
What comes next after smartphones?
As participants in securing the mobile internet tsunami, we’ve been keeping a keen eye on the future security needs of the next generation of devices. We view it from both project involvement and product management for our embedded SSL and embedded web server products. This article https://www.eetimes.com/author.asp?section_id=36&doc_id=1265933 at Embedded Internet Design gives a view of what’s coming next in smartphones.
If you’re also guy or a gal out there tinkering with this stuff and testing your ideas with an eye on security, take a look at the beagleboard, pandaboard, and mbed. wolfSSL and the yaSSL Embedded Web server will be there for you!
Book review on ?C/TCP-IP by Christian Legare
We’ve integrated wolfSSL with ?C/TCP-IP and can say it is an excellent implementation well designed for embedded systems. In fact, we can say that the integration process drove us to make some great improvements to our product. For example, our next release will not require the standard C library for even greater flexibility when implementing SSL. But more about that later! Here’s the link to the book review:
https://www.eetimes.com/author.asp?section_id=31&doc_id=1284762
Final excerpt from “Handbook of Digital Forensics and Investigation” now online at EmbeddedInternetDesign.com
This is a great article series. The link can be found here: http://www.embeddedinternetdesign.com/228600068;jsessionid=UJUQFSMN5QD15QE1GHRSKH4ATMY32JVN?pgno=1 (as of 26 March 2018 at 9:21am MDT, this link is broken and has no alternative).
Our SSL Programming Tutorial is Up
We have recently released an SSL programming tutorial which walks through the process of integrating wolfSSL into a simple application. The wolfSSL embedded SSL library is used, along with a simple echoserver and echoclient. The echoserver and echoclient examples have been taken from the popular book titled Unix Network Programming, Volume 1, 3rd Edition by Richard Stevens, Bill Fenner, and Andrew Rudoff.
Some of the topics covered in this SSL coding tutorial include:
– Required libraries
– What headers are needed
– Startup and Shutdown of wolfSSL
– Sending Data over an SSL connection
– Importing and using Certificates
The SSL tutorial can be found here: SSL Tutorial. All of the source code for the examples is available for download and is linked to from the SSL tutorial webpage.
If you have any questions, feel free to post to our support forums (www.yassl.com/forums), or contact us at info@yassl.com.
yaSSL Annual Report
yaSSL made dramatic progress this year on a number of fronts, notably in open source community usage, embedded systems adoption, and technology improvements! Here’s what we’ve done this year, with an outline of our plans for the year to come in a blog post to follow:
1. Participated in 4 industry events, including OSCON, Embedded Live, Embedded Systems Computing, and ARM TechCon.
1. We launched a new and improved web site including new product support forums.
3. We’ve made significant incremental improvements to our documentation.
4. New partners! We’ll announce two new resale partners next week!
5. New technology partners: Canonical, Red Hat, Novell, Freescale and Express Logic.
6. Added a new Competitive Upgrade Program for wolfSSL. More details can be found at our Consulting Services page, under “Rip and Replace Competitive Upgrade“
Our long list of technology improvements includes:
1. ThreadX port. wolfSSL now supports building and running on ThreadX “out of the box”.
2. GoAhead Web Server port. wolfSSL now builds and runs with the GoAhead Web Server through the wolfSSL OpenSSL compatibility layer.
3. Sniffer. wolfSSL now has the ability to sniff an SSL session with the server`s private key and decode the application data.
4. Swig. wolfSSL has a swig interface file to allow multiple language access.
5. Python. wolfSSL now has some python bindings for CTaoCrypt.
6. AES-NI. wolfSSL now has AES-NI assembly optimizations for supported Intel hardware “Westmere”.
7. ARM. wolfSSL now has assembly optimizations for fastmath Public Key operations.
8. Mongoose. wolfSSL now builds and runs with the Mongoose Web Server with the wolfSSL OpenSSL compatibility layer.
9. JSSE. wolfSSL can now be a plug-in for system Java SSL Providers on OS X and Linux.
10. Android. wolfSSL is now ported to Android.
11. SHA-512. wolfSSL now supports the SHA-512 hash on systems with support for 64 bit types.
12. RIPEMD-160. wolfSSL now supports RIPEMD-160 as a hashing algorithm.
13. Key generation. wolfSSL now supports key generation.
14. Certificate generation. wolfSSL now supports certificate generation.
15. yaSSL Embedded Web Server. Our “own” web server with wolfSSL for security.
16. Low static memory. wolfSSL went from a default of 48kB static memory per SSL session to 4kB. (alpha)
17. Low dynamic memory. wolfSSL decreased runtime dynamic memory use. (alpha)
18. Porting. Increased the portability/flexibility of using wolfSSL on non-standard build environments with an OS header with defines that control the build.
19. No stdlib. wolfSSL can now be built without any C standard library headers, developers can now use their own “standard” library plug-in. (alpha)
20. Secure memcache. wolfSSL can now be used to secure memcache network communication including client/patient sensitive data/health records from internal and external snoopers locally and in the cloud. (beta)
21. Mbed. wolfSSL can be built and run on the Mbed microcontroller. (alpha)
We’re happy with our progress this year, and look forward to making even more improvements next year! We’ll be going into 2011 with greater resources and plan to move this project and business forward at an even faster rate.
Weekly updates
Archives
- September 2024 (5)
- August 2024 (24)
- July 2024 (27)
- June 2024 (22)
- May 2024 (28)
- April 2024 (29)
- March 2024 (21)
- February 2024 (18)
- January 2024 (21)
- December 2023 (20)
- November 2023 (20)
- October 2023 (23)
- September 2023 (17)
- August 2023 (25)
- July 2023 (39)
- June 2023 (13)
- May 2023 (11)
- April 2023 (6)
- March 2023 (23)
- February 2023 (7)
- January 2023 (7)
- December 2022 (15)
- November 2022 (11)
- October 2022 (8)
- September 2022 (7)
- August 2022 (12)
- July 2022 (7)
- June 2022 (14)
- May 2022 (10)
- April 2022 (11)
- March 2022 (12)
- February 2022 (22)
- January 2022 (12)
- December 2021 (13)
- November 2021 (27)
- October 2021 (11)
- September 2021 (14)
- August 2021 (10)
- July 2021 (16)
- June 2021 (13)
- May 2021 (9)
- April 2021 (13)
- March 2021 (24)
- February 2021 (22)
- January 2021 (18)
- December 2020 (19)
- November 2020 (11)
- October 2020 (3)
- September 2020 (20)
- August 2020 (11)
- July 2020 (7)
- June 2020 (14)
- May 2020 (13)
- April 2020 (14)
- March 2020 (4)
- February 2020 (21)
- January 2020 (18)
- December 2019 (7)
- November 2019 (16)
- October 2019 (14)
- September 2019 (18)
- August 2019 (16)
- July 2019 (8)
- June 2019 (9)
- May 2019 (28)
- April 2019 (27)
- March 2019 (15)
- February 2019 (10)
- January 2019 (16)
- December 2018 (24)
- November 2018 (9)
- October 2018 (15)
- September 2018 (15)
- August 2018 (5)
- July 2018 (15)
- June 2018 (29)
- May 2018 (12)
- April 2018 (6)
- March 2018 (18)
- February 2018 (6)
- January 2018 (11)
- December 2017 (5)
- November 2017 (12)
- October 2017 (5)
- September 2017 (7)
- August 2017 (6)
- July 2017 (11)
- June 2017 (7)
- May 2017 (9)
- April 2017 (5)
- March 2017 (6)
- January 2017 (8)
- December 2016 (2)
- November 2016 (1)
- October 2016 (15)
- September 2016 (6)
- August 2016 (5)
- July 2016 (4)
- June 2016 (9)
- May 2016 (4)
- April 2016 (4)
- March 2016 (4)
- February 2016 (9)
- January 2016 (6)
- December 2015 (4)
- November 2015 (6)
- October 2015 (5)
- September 2015 (5)
- August 2015 (8)
- July 2015 (7)
- June 2015 (9)
- May 2015 (1)
- April 2015 (4)
- March 2015 (12)
- January 2015 (4)
- December 2014 (6)
- November 2014 (3)
- October 2014 (1)
- September 2014 (11)
- August 2014 (5)
- July 2014 (9)
- June 2014 (10)
- May 2014 (5)
- April 2014 (9)
- February 2014 (3)
- January 2014 (5)
- December 2013 (7)
- November 2013 (4)
- October 2013 (7)
- September 2013 (3)
- August 2013 (9)
- July 2013 (7)
- June 2013 (4)
- May 2013 (7)
- April 2013 (4)
- March 2013 (2)
- February 2013 (3)
- January 2013 (8)
- December 2012 (12)
- November 2012 (5)
- October 2012 (7)
- September 2012 (3)
- August 2012 (6)
- July 2012 (4)
- June 2012 (3)
- May 2012 (4)
- April 2012 (6)
- March 2012 (2)
- February 2012 (5)
- January 2012 (7)
- December 2011 (5)
- November 2011 (7)
- October 2011 (5)
- September 2011 (6)
- August 2011 (5)
- July 2011 (2)
- June 2011 (7)
- May 2011 (11)
- April 2011 (4)
- March 2011 (12)
- February 2011 (7)
- January 2011 (11)
- December 2010 (17)
- November 2010 (12)
- October 2010 (11)
- September 2010 (9)
- August 2010 (20)
- July 2010 (12)
- June 2010 (7)
- May 2010 (1)
- January 2010 (2)
- November 2009 (2)
- October 2009 (1)
- September 2009 (1)
- May 2009 (1)
- February 2009 (1)
- January 2009 (1)
- December 2008 (1)