RECENT BLOG NEWS
More Dual_EC_DRBG News
It was reported yesterday in The Guardian and elsewhere that the NSA paid RSA $10M to set Dual_EC_DRBG as their default PRNG. See the news here: http://www.theguardian.com/world/2013/dec/20/nsa-internet-security-rsa-secret-10m-encryption.
As we have previously stated, we never implemented Dual_EC_DRBG in any of our products, much less set it as default, because of its suspect nature. If you`re not familiar with Dual_EC_DRBG, the background on wikipedia is here: http://en.wikipedia.org/wiki/Dual_EC_DRBG.
For even more background, here`s a great Black Hat talk by Derek Soeder, Christopher Abad, and Gabriel Acevedo from Cylance on the subject of breaking Pseudorandom Algorithms.
SSL/TLS and Cryptography Benchmarks
Some of our users have been wondering if we were doing benchmarks of our SSL and cryptography performance. Here are the results we have gathered so far: wolfSSL / CTaoCrypt Benchmarking.
Let us know if we should do a different kind of benchmark at facts@wolfssl.com
Assembly Optimizations Available in wolfSSL for ARM Processors
wolfSSL, as a long standing partner to ARM, has always been well optimized for ARM environments. One of the ways CyaSSL can be optimized for ARM platforms includes assembly optimizations for Public Key operations with the CTaoCrypt fastmath option. This translates to a speed increase when using RSA, Diffie-Hellman, DSA, or ECC.
If you dive into our code, these optimizations can be found in the asm.c source file.
When using the ./configure system, fastmath is enabled by default on 64-bit platforms. On 32-bit platforms, it can be enabled by using the “–enable-fastmath” option. In environments not using the ./configure system to build CyaSSL, fastmath can be enabled by defining USE_FAST_MATH. Since stack usage can be high when using fastmath, we recommend defining TFM_TIMING_RESISTANT as well.
If you have any questions about using CyaSSL in an ARM environment, please contact us at facts@wolfssl.com.
More on we`re dumping SSL 3.0 support from wolfSSL
We`ve been encouraged by the feedback from the community on dropping SSL 3.0 support from wolfSSL, meaning that people think we should drop it as insecure and eliminate the legacy which goes back to 1996. Many thanks to Paul Kocher, Phil Karlton, Alan Freier, and the many shoulders they were standing on for designing the SSL 3.0 protocol, but after 17 years, it is time to evolve to a TLS only world.
Practically speaking, this means that we`ll deprecate SSL 3.0 code from our tree, and only apply critical security fixes. We will of course support existing customers and open source users that need SSL 3.0 for specific reasons that are private to them.
It might be fun to think about a name for our Q1 release of wolfSSL without SSL support. Here`s some ideas: SSL Minus, SSL Minas Tirith, CaTLS defend Minas Tirith. It can go on for a while. See http://en.wikipedia.org/wiki/Minas_Tirith for reference. Oh, here`s another idea, how about wolfTLS?
Send in your ideas for the new name to facts@wolfssl.com.
Dumping SSL v3 from wolfSSL
Hi! We`re considering the elimination of SSL 3.0 support from wolfSSL. There`s a lot of reasons to do it, including better security, cleaning up our code, and its time to move on and modernize. Anybody have an opinion? The code would still be available, but not mainline.
Using Truncated HMAC with wolfSSL
Are you fan of TLS Extensions? We are here today to present the addition of Truncated HMAC on wolfSSL!
Currently defined TLS cipher suites use the HMAC to authenticate record-layer communications. In TLS, the entire output of the hash function is used as the MAC tag. However, it may be desirable in constrained environments to save bandwidth by truncating the output of the hash function to 80 bits when forming MAC tags. To enable the usage of Truncated HMAC at wolfSSL you can simply do:
./configure –enable-truncatedhmac
Using Truncated HMAC on the client side requires an additional function call, which should be one of the following functions:
wolfSSL_CTX_UseTruncatedHMAC();
wolfSSL_UseTruncatedHMAC();
wolfSSL_CTX_UseTruncatedHMAC() is most recommended when the client would like to enable Truncated HMAC for all sessions. Setting the Truncated HMAC extension at context level will enable it in all SSL objects created from that same context from the moment of the call forward.
wolfSSL_UseTruncatedHMAC() will enable it for one SSL object only, so it`s recommended to use this function when there is no need for Truncated HMAC on all sessions.
On the server side no call is required. The server will automatically attend to the client`s request for Truncated HMAC.
All TLS extensions can also be enabled with:
./configure –enable-tlsx
If you have any questions about using TLS Extensions with wolfSSL please let us know at facts@wolfssl.com.
SSL Termination and SSL Inspection with wolfSSL SNI
If you`re working with SSL Termination and/or SSL Inspection we have good news for you! wolfSSL now has a new feature in its Server Name Indication API:
wolfSSL_SNI_GetFromBuffer()
This function is capable of retrieving the server name of a given type indicated by the client from the raw bytes of a ClientHello message. This way, it is possible to save both time and resources in order to get the information needed to make a decision, whether that be which path the connection should take or if it should be inspected.
The SNI extension can be enabled with either:
./configure –enable-sni
OR
./configure –enable-tlsx
Remember that the second option will enable all TLS extensions implemented in wolfSSL. If you`re planning on using more than one extension and still care for a smaller build, you should enable the extensions one by one.
If you have any questions about using SNI with TLS please let us know at facts@wolfssl.com.
Avoiding Fear Mongering as a Security Software Vendor and a Security Software Buyer
All too often, security software vendors resort to fear-mongering as a sales and marketing method. At wolfSSL, we consciously avoid this tactic. We recognize that our competitors use it. They tell customers to be afraid of open source. They tell customers to be afraid of breaches. Unfortunately, they use the fear mongering approach to their benefit. However tempting, we reject their approach as fundamentally wrong and immoral. We understand why they do it, but it is still unethical.
wolfSSL makes sales. We are an open source project and an open source company. To succeed at both, we need to generate revenue. More revenue means that we will produce more open source. More open source means that we can produce more revenue and subsequently even more open source, and so on.
An old colleague, Marten Mickos, originally characterized this as the “Beautiful Virtuous Cycle of Open Source” that drove the success of MySQL. He was right about the cycle, and we at wolfSSL are intent taking a page out of the database book and multi-master replicating it in the security software market. We believe our dual license strategy, which employs both commercial and GPLv2 licensing, is the best thing for both community and commercial users. This truth we hold to be self evident, when understood properly.
We know that open source licensing can be confusing, and we are happy to explain our licensing model. Please feel free to contact us at licensing (at) wolfssl.com if you have questions. Our only goal is to help you understand our approach, and help you make a rational decision. We are happy to help you avoid fear mongering! Don`t forget that fear is the mind killer!
And now, let us discuss fear-mongering in security. First of all, don`t believe the hype. Turn on your sensors. When the marketing organization of your vendor focuses on breaches rather than on informing you on how to defend against them, you are working with the wrong organization. A good security software company will strive to inform you and not strive to scare you! We suggest that you don`t work with an organization that uses the fear-mongering tactic to drive their sales. Turn on your sensors, don`t let fear be the mind killer, and do the right thing given your situation.
As always, we are here to create community and security. Please feel free to contact us with your thoughts at facts@wolfssl.com.
And, dear reader, this riddle for you, How Many Haiku`s Send a Message?
Team wolfSSL
Minimizing Resource Consumption on Devices with Embedded SSL using the Swapper
Hi! IoT engineers everywhere are battling with software resource usage. TCP/IP and SSL can be fairly consumptive of resources. One of the old school techniques for minimizing resource consumption is swapping one app for another on a device. Taking that concept to an extreme can be tricky, and the extreme we`ve been working with is swapping between TCP/IP and SSL while maintaining a live connection. The trick is keeping the connection going. To get there, we`ve implemented the Swapper!
If you think the Swapper might help you battle through your resource constraints, then contact us at facts@wolfssl.com.
Updated wolfSSL Porting Guide Available
As a large number of our users port wolfSSL to new platforms and environments, we’ve put some time into updating our wolfSSL Porting Guide and have made it available both online and in PDF version.
The updated guide covers areas in the wolfSSL code which typically need modification when porting wolfSSL to a new environment, including:
2.1 Data Types
2.2 Endianness
2.3 writev
2.4 Input / Output
2.5 Filesystem
2.6 Threading
2.7 Random Seed
2.8 Memory
2.9 Time
2.10 C Standard Library
2.11 Logging
2.12 Public Key Operations
2.13 Atomic Record Layer Processing
2.14 Features
You can find the updated guide here: wolfSSL Porting Guide.
If you have any questions about content in the Porting Guide, or about the wolfSSL lightweight SSL library in general, please reach out to us at facts@wolfssl.com.
Weekly updates
Archives
- March 2025 (6)
- February 2025 (21)
- January 2025 (23)
- December 2024 (22)
- November 2024 (29)
- October 2024 (18)
- September 2024 (21)
- 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)