README 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. *** Description ***
  2. The wolfSSL embedded SSL library (formerly CyaSSL) is a lightweight SSL/TLS
  3. library written in ANSI C and targeted for embedded, RTOS, and
  4. resource-constrained environments - primarily because of its small size, speed,
  5. and feature set. It is commonly used in standard operating environments as well
  6. because of its royalty-free pricing and excellent cross platform support.
  7. wolfSSL supports industry standards up to the current TLS 1.3 and DTLS 1.2
  8. levels, is up to 20 times smaller than OpenSSL, and offers progressive ciphers
  9. such as ChaCha20, Curve25519, NTRU, and Blake2b. User benchmarking and feedback
  10. reports dramatically better performance when using wolfSSL over OpenSSL.
  11. wolfSSL is powered by the wolfCrypt library. Two versions of the wolfCrypt
  12. cryptography library have been FIPS 140-2 validated (Certificate #2425 and
  13. certificate #3389). For additional information, visit the wolfCrypt FIPS FAQ
  14. (https://www.wolfssl.com/license/fips/) or contact fips@wolfssl.com
  15. *** Why choose wolfSSL? ***
  16. There are many reasons to choose wolfSSL as your embedded SSL solution. Some of
  17. the top reasons include size (typical footprint sizes range from 20-100 kB),
  18. support for the newest standards (SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3,
  19. DTLS 1.0, and DTLS 1.2), current and progressive cipher support (including
  20. stream ciphers), multi-platform, royalty free, and an OpenSSL compatibility API
  21. to ease porting into existing applications which have previously used the
  22. OpenSSL package. For a complete feature list, see chapter 4 of the wolfSSL
  23. manual. (https://www.wolfssl.com/docs/wolfssl-manual/ch4/)
  24. *** Notes, Please read ***
  25. Note 1)
  26. wolfSSL as of 3.6.6 no longer enables SSLv3 by default. wolfSSL also no longer
  27. supports static key cipher suites with PSK, RSA, or ECDH. This means if you
  28. plan to use TLS cipher suites you must enable DH (DH is on by default), or
  29. enable ECC (ECC is on by default), or you must enable static key cipher suites
  30. with
  31. WOLFSSL_STATIC_DH
  32. WOLFSSL_STATIC_RSA
  33. or
  34. WOLFSSL_STATIC_PSK
  35. though static key cipher suites are deprecated and will be removed from future
  36. versions of TLS. They also lower your security by removing PFS. Since current
  37. NTRU suites available do not use ephemeral keys, WOLFSSL_STATIC_RSA needs to be
  38. used in order to build with NTRU suites.
  39. When compiling ssl.c, wolfSSL will now issue a compiler error if no cipher
  40. suites are available. You can remove this error by defining
  41. WOLFSSL_ALLOW_NO_SUITES in the event that you desire that, i.e., you're not
  42. using TLS cipher suites.
  43. Note 2)
  44. wolfSSL takes a different approach to certificate verification than OpenSSL
  45. does. The default policy for the client is to verify the server, this means
  46. that if you don't load CAs to verify the server you'll get a connect error,
  47. no signer error to confirm failure (-188).
  48. If you want to mimic OpenSSL behavior of having SSL_connect succeed even if
  49. verifying the server fails and reducing security you can do this by calling:
  50. wolfSSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0);
  51. before calling wolfSSL_new();. Though it's not recommended.
  52. Note 3)
  53. The enum values SHA, SHA256, SHA384, SHA512 are no longer available when
  54. wolfSSL is built with --enable-opensslextra (OPENSSL_EXTRA) or with the macro
  55. NO_OLD_SHA_NAMES. These names get mapped to the OpenSSL API for a single call
  56. hash function. Instead the name WC_SHA, WC_SHA256, WC_SHA384 and WC_SHA512
  57. should be used for the enum name.
  58. *** end Notes ***
  59. # wolfSSL Release 4.4.0 (04/22/2020)
  60. If you have questions about this release, feel free to contact us on our
  61. info@ address.
  62. Release 4.4.0 of wolfSSL embedded TLS has bug fixes and new features including:
  63. ## New Feature Additions
  64. * Hexagon support.
  65. * DSP builds to offload ECC verify operations.
  66. * Certificate Manager callback support.
  67. * New APIs for running updates to ChaCha20/Poly1305 AEAD.
  68. * Support for use with Apache.
  69. * Add support for IBM s390x.
  70. * PKCS8 support for ED25519.
  71. * OpenVPN support.
  72. * Add P384 curve support to SP.
  73. * Add BIO and EVP API.
  74. * Add AES-OFB mode.
  75. * Add AES-CFB mode.
  76. * Add Curve448, X448, and Ed448.
  77. * Add Renesas Synergy S7G2 build and hardware acceleration.
  78. ## Fixes
  79. * Fix for RSA public encrypt / private sign with RSA key sizes over 2048-bit.
  80. * Correct misspellings.
  81. * Secure renegotiation fix.
  82. * Fix memory leak when using ATECC and non-SECP256R1 curves for sign, verify,
  83. or shared secret.
  84. * Fix for K64 MMCAU with `WOLFSSL_SMALL_STACK_CACHE`.
  85. * Fix the RSA verify only build.
  86. * Fix in SP C implementation for small stack.
  87. * Fix using the auth key id extension is set, hash might not be present.
  88. * Fix when flattening certificate structure to include the subject alt names.
  89. * Fixes for building with ECC sign/verify only.
  90. * Fix for ECC and no cache resistance.
  91. * Fix memory leak in DSA.
  92. * Fix build on minGW.
  93. * Fix `PemToDer()` call in `ProcessBuffer()` to set more than ECC.
  94. * Fix for using RSA without SHA-512.
  95. * Add some close tags to the echoserver HTTP example output.
  96. * Miscellaneous fixes and updates for static analysis reports.
  97. * Fixes for time structure support.
  98. * Fixes for VxWorks support.
  99. * Fixes for Async crypto support.
  100. * Fix cache resist compile to work with SP C code.
  101. * Fixes for Curve25519 x64 asm.
  102. * Fix for SP x64 div.
  103. * Fix for DTLS edge case where CCS and Finished come out of order and the
  104. retransmit pool gets flushed.
  105. * Fix for infinite loop in SHA-1 with small inputs. Thanks to Peter W.
  106. * Fix for FIPS Hmac where `wc_HmacInit()` isn't used. `wc_HmacSetKey()` needs
  107. to initialize the Hmac structure. Type is set to NONE, and checked against
  108. NONE, not 0.
  109. * Fixes for SP RSA private operations.
  110. * Fixes for Xilinx SDK and Zynq UltraScale+ MPSoC
  111. * Fix leak when building with HAVE_AESGCM and NO_AES_DECRYPT. Thanks G.G.
  112. * Fixes for building ECC without ASN.
  113. * Fix for async TLSv1.3 issues.
  114. * Fix `wc_KeyPemToDer()` with PKCS1 and empty key.
  115. * Omit `-fomit-frame-pointer` from CFLAGS in configure.ac.
  116. ## Improvements/Optimizations
  117. * Qt 5.12 and 5.13 support.
  118. * Added more digest types to Cryptocell RSA sign/verify.
  119. * Some memory usage improvements.
  120. * Speed improvements for mp_rand.
  121. * Improvements to CRL and OCSP support.
  122. * Refactor Poly1305 AEAD/MAC to reduce duplicate code.
  123. * Add blinding to RSA key gen.
  124. * Improvements to blinding.
  125. * Improvement and expansion of OpenSSL Compatibility Layer.
  126. * Improvements to ChaCha20.
  127. * Improvements to X.509 processing.
  128. * Improvements to ECC support.
  129. * Improvement in detecting 64-bit support.
  130. * Refactor to combine duplicate ECC parameter parsing code.
  131. * Improve keyFormat to be set by algId and let later key parsing produce fail.
  132. * Add test cases for 3072-bit and 4096-bit RSA keys.
  133. * Improve signature wrapper and DH test cases.
  134. * Improvements to the configure.ac script.
  135. * Added constant time RSA q modinv p.
  136. * Improve performance of SP Intel 64-bit asm.
  137. * Added a few more functions to the ABI list.
  138. * Improve TLS bidirectional shutdown behavior.
  139. * OpenSSH 8.1 support.
  140. * Improve performance of RSA/DH operations on x64.
  141. * Add support for PKCS7/CMS Enveloped data with fragmented encrypted content.
  142. * Example linker description for FIPS builds to enforce object ordering.
  143. * C# wrapper improvements. Added TLS client example and TLSv1.3 methods.
  144. * Allow setting MTU in DTLS.
  145. * Improve PKCS12 create for outputting encrypted bundles.
  146. * Constant time EC map to affine for private operations.
  147. * Improve performance of RSA public key ops with TFM.
  148. * Smaller table version of AES encrypt/decrypt.
  149. * Support IAR with position independent code (ROPI).
  150. * Improve speed of AArch64 assembly.
  151. * Support AES-CTR with AES-NI.
  152. * Support AES-CTR on esp32.
  153. * Add a no malloc option for small SP math.
  154. ## This release of wolfSSL includes fixes for 2 security vulnerabilities.
  155. * For fast math, use a constant time modular inverse when mapping to affine
  156. when operation involves a private key - keygen, calc shared secret, sign.
  157. Thank you to Alejandro Cabrera Aldaya, Cesar Pereida García and
  158. Billy Bob Brumley from the Network and Information Security Group (NISEC)
  159. at Tampere University for the report.
  160. * Change constant time and cache resistant ECC mulmod. Ensure points being
  161. operated on change to make constant time. Thank you to Pietro Borrello at
  162. Sapienza University of Rome.
  163. For additional vulnerability information visit the vulnerability page at
  164. https://www.wolfssl.com/docs/security-vulnerabilities/
  165. See INSTALL file for build instructions.
  166. More info can be found on-line at https://wolfssl.com/wolfSSL/Docs.html
  167. *** Resources ***
  168. [wolfSSL Website](https://www.wolfssl.com/)
  169. [wolfSSL Wiki](https://github.com/wolfSSL/wolfssl/wiki)
  170. [FIPS FAQ](https://wolfssl.com/license/fips)
  171. [wolfSSL Documents](https://wolfssl.com/wolfSSL/Docs.html)
  172. [wolfSSL Manual](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-toc.html)
  173. [wolfSSL API Reference]
  174. (https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-17-wolfssl-api-reference.html)
  175. [wolfCrypt API Reference]
  176. (https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-18-wolfcrypt-api-reference.html)
  177. [TLS 1.3](https://www.wolfssl.com/docs/tls13/)
  178. [wolfSSL Vulnerabilities]
  179. (https://www.wolfssl.com/docs/security-vulnerabilities/)