Personal patches
Go to file
Santhosh Raju 81ab986397 security/wolfssl: Updates to v4.6.0
Changes since v4.5.0:

wolfSSL Release 4.6.0 (December 22, 2020)

Release 4.6.0 of wolfSSL embedded TLS has bug fixes and new features including:

New Feature Additions

New Build Options

  * wolfSSL now enables linux kernel module support. Big news for Linux kernel
    module developers with crypto requirements! wolfCrypt and wolfSSL are now
    loadable as modules in the Linux kernel, providing the entire libwolfssl
    API natively to other kernel modules. For the first time on Linux, the
    entire TLS protocol stack can be loaded as a module, allowing fully
    kernel-resident TLS/DTLS endpoints with in-kernel handshaking.
    (--enable-linuxkm, --enable-linuxkm-defaults, --with-linux-source)
    (https://www.wolfssl.com/loading-wolfssl-into-the-linux-kernel/)
  * Build tests and updated instructions for use with Apple’s A12Z chipset
    (https://www.wolfssl.com/preliminary-cryptographic-benchmarks-on-new-apple-a12z-bionic-platform/)
  * Expansion of wolfSSL SP math implementation and addition of
    --enable-sp-math-all build option
  * Apache httpd w/TLS 1.3 support added
  * Sniffer support for TLS 1.3 and AES CCM
  * Support small memory footprint build with only TLS 1.3 and PSK without
    code for (EC)DHE and certificates

New Hardware Acceleration

  * Added support for NXP DCP (i.MX RT1060/1062) crypto co-processor
  * Add Silicon Labs hardware acceleration using SL SE Manager

New Algorithms

  * RC2 ECB/CBC added for use with PKCS#12 bundles
  * XChaCha and the XChaCha20-Poly1305 AEAD algorithm support added

Misc

  * Added support for 802.11Q VLAN frames to sniffer
  * Added OCSP function wolfSSL_get_ocsp_producedDate
  * Added API to set CPU ID flags cpuid_select_flags, cpuid_set_flag,
    cpuid_clear_flag
  * New DTLS/TLS non-blocking Secure Renegotiation example added to server.c
    and client.c

Fixes

Math Library

  * Fix mp_to_unsigned_bin_len out of bounds read with buffers longer than
    maximum MP
  * Fix for fp_read_radix_16 out of bounds read
  * Fix to add wrapper for new timing resistant wc_ecc_mulmod_ex2 function
    version in HW ECC acceleration
  * Handle an edge case with RSA-PSS encoding message to hash

Compatibility Layer Fixes

  * Fix for setting serial number wolfSSL_X509_set_serialNumber
  * Fix for setting ASN1 time not before / not after with WOLFSSL_X509
  * Fix for order of components in issuer name when using X509_sign
  * Fix for compatibility layer API DH_compute_key
  * EVP fix incorrect block size for GCM and buffer up AAD for
    encryption/decryption
  * EVP fix for AES-XTS key length return value and fix for string compare
    calls
  * Fix for mutex freeing during RNG failure case with EVP_KEY creation
  * Non blocking use with compatibility layer BIOs in TLS connections

Build Configuration

  * Fix for custom build with WOLFSSL_USER_MALLOC defined
  * ED448 compiler warning on Intel 32bit systems
  * CURVE448_SMALL build fix for 32bit systems with Curve448
  * Fix to build SP math with IAR
  * CMake fix to only set ranlib arguments for Mac, and for stray typo of
    , -> ;
  * Build with --enable-wpas=small fix
  * Fix for building fips ready using openssl extra
  * Fixes for building with Microchip (min/max and undef SHA_BLOCK_SIZE)
  * FIx for NO_FILESYSTEM build on Windows
  * Fixed SHA256 support for IMX-RT1060
  * Fix for ECC key gen with NO_TFM_64BIT

Sniffer

  * Fixes for sniffer when using static ECC keys. Adds back TLS v1.2 static
    ECC key fallback detection and fixes new ECC RNG requirement for timing
    resistance
  * Fix for sniffer with SNI enabled to properly handle WOLFSSL_SUCCESS error
    code in ProcessClientHello
  * Fix for sniffer using HAVE_MAX_FRAGMENT in "certificate" type message
  * Fix build error with unused "ret" when building with WOLFSSL_SNIFFER_WATCH.
  * Fix to not treat cert/key not found as error in myWatchCb and
    WOLFSSL_SNIFFER_WATCH.
  * Sniffer fixes for handling TCP out-of-range sequence number
  * Fixes SSLv3 use of ECDH in sniffer

PKCS

  * PKCS#11 fix to generate ECC key for decrypt/sign or derive
  * Fix for resetting internal variables when parsing a malformed PKCS#7
    bundle with PKCS7_VerifySignedData()
  * Verify the extracted public key in wc_PKCS7_InitWithCert
  * Fix for internal buffer size when using decompression with PKCS#7

Misc

  * Pin the C# verify callback function to keep from garbage collection
  * DH fixes for when public key is owned and free’d after a handshake
  * Fix for TLS 1.3 early data packets
  * Fix for STM32 issue with some Cube HAL versions and STM32 example timeout
  * Fix mmCAU and LTC hardware mutex locking to prevent double lock
  * Fix potential race condition with CRL monitor
  * Fix for possible malformed encrypted key with 3DES causing negative length
  * AES-CTR performance fixed with AES-NI

Improvements/Optimizations
SP and Math

  * mp_radix_size adjustment for leading 0
  * Resolve implicit cast warnings with SP build
  * Change mp_sqr to return an error if the result won't fit into the fixed
    length dp
  * ARM64 assembly with clang improvements, clang doesn't always handle use of
    x29 (FP or Frame Pointer) in inline assembly code correctly - reworked
    sp_2048_sqr_8 to not use x29
  * SP mod exp changed to support exponents of different lengths
  * TFM div: fix initial value of size in q so clamping doesn't OOB read
  * Numerous stack depth improvements with --enable-smallstack
  * Improve cache resistance with Base64 operations

TLS 1.3

  * TLS 1.3 wolfSSL_peek want read return addition
  * TLS 1.3: Fix P-521 algorithm matching

PKCS

  * Improvements and refactoring to PKCS#11 key look up
  * PKCS #11 changes for signing and loading RSA public key from private
  * check PKCS#7 SignedData private key is valid before using it
  * check PKCS#7 VerifySignedData content length against total bundle size
    to avoid large malloc

Compatibility Layer

  * EVP add block size for more ciphers in wolfSSL_EVP_CIPHER_block_size()
  * Return long names instead of short names in wolfSSL_OBJ_obj2txt()
  * Add additional OpenSSL compatibility functions to update the version of
    Apache httpd supported
  * add "CCM8" variants to cipher_names "CCM-8" ciphers, for OpenSSL compat

Builds

  * Cortex-M SP ASM support for IAR 6.70
  * STM Cube pack support (IDE/STM32Cube)
  * Build option --enable-aesgcm=4bit added for AES-GCM GMULT using 4 bit
    table
  * Xilinx IDE updates to allow XTIME override for Xilinx, spelling fixes in
    Xilinx README.md, and add Xilinx SDK printf support
  * Added ED448 to the "all" options and ED448 check key null argument sanity
    check
  * Added ARC4, 3DES, nullcipher, BLAKE2, BLAKE2s, XChaCha, MD2, and MD4 to
    the “all” options
  * Added an --enable-all-crypto option, to enable only the wolfCrypt features
    of --enable-all, combinable with --enable-cryptonly
  * Added the ability to selectively remove features from --enable-all and
    --enable-all-crypto using specific --disable- options
  * Use Intel intrinsics with Windows for RDSEED and RDRAND
    (thanks to dr-m from MariaDB)
  * Add option to build with WOLFSSL_NO_CLIENT_AUTH
  * Updated build requirements for wolfSSH use to be less restrictive
  * lighttpd support update for v1.4.56
  * Added batch file to copy files to ESP-IDF folders and resolved warnings
    when using v4.0 ESP-IDF
  * Added --enable-stacksize=verbose, showing at a glance the stack high water
    mark for each subtest in testwolfcrypt

ECC

  * Performance increase for ECC verify only, using non constant time SP modinv
  * During ECC verify add validation of r and s before any use
  * Always use safe add and dbl with ECC
  * Timing resistant scalar multiplication updated with use of Joye double-add
    ladder
  * Update mp_jacobi function to reduce stack and increase performance for
    base ECC build
  * Reduce heap memory use with wc_EccPrivateKeyDecode, Improvement to
    ECC wc_ecc_sig_to_rs and wc_ecc_rs_raw_to_sig to reduce memory use (avoid the mp_int)
  * Improve StoreECC_DSA_Sig bounds checking

OCSP

  * OCSP improvement to handle extensions in singleResponse
  * support for OCSP request/response for multiple certificates
  * OCSP Must Staple option added to require OCSP stapling response
  * Add support for id-pkix-ocsp-nocheck extension

Misc

  * Additional code coverage added for ECC and RSA, PKCS#7, 3DES, EVP and
    Blake2b operations
  * DTLS MTU: check MTU on write
  * Refactor hash sig selection and add the macros WOLFSSL_STRONGEST_HASH_SIG
    (picks the strongest hash) and WOLFSSL_ECDSA_MATCH_HASH (will pick the
     hash to match the ECC curve)
  * Strict certificate version allowed from client, TLS 1.2 / 1.3 can not
    accept client certificates lower than version 3
  * wolfSSL_get_ciphers_compat(), skip the fake indicator ciphers like the
    renegotiation indication and the quantum-safe hybrid
  * When parsing session ticket, check TLS version to see whether they are
    version compatible
  * Additional sanity check for invalid ASN1 padding on integer type
  * Adding in ChaCha20 streaming feature with Mac and Intel assembly build
  * Sniffer build with --enable-oldtls option on
2020-12-28 16:44:19 +00:00
accessibility Update KDE Applications to 20.12 2020-12-11 19:18:03 +00:00
arabic LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
archivers archivers/nfpm: Update 1.10.3 -> 2.0.0 2020-12-25 05:12:40 +00:00
astro - Update to r4589 2020-12-28 16:36:54 +00:00
audio Update to 0.11.1 2020-12-28 10:33:15 +00:00
base Don't disable LTO for aarch64-gcc[69]. 2020-07-23 19:25:07 +00:00
benchmarks benchmarks/vkmark: adjust DRM option description 2020-12-28 02:07:34 +00:00
biology Restrict to Java 8, since this doesn't compile with Java 11 2020-12-26 23:01:20 +00:00
cad update KiCad to 5.1.9 2020-12-28 14:57:42 +00:00
chinese Mark BROKEN 2020-12-25 09:06:44 +00:00
comms comms/uhd: fix build on GCC architectures 2020-12-27 18:39:07 +00:00
converters Update to 3.0.2 2020-12-27 17:22:02 +00:00
databases databases/phpmyadmin*: unbreak build with php80 2020-12-28 15:56:05 +00:00
deskutils Mark devel flavors BROKEN 2020-12-25 09:28:43 +00:00
devel new port: devel/R-cran-desc: Manipulate DESCRIPTION Files 2020-12-28 16:16:11 +00:00
dns dns/dnscontrol: Update to 3.5.1 2020-12-26 19:32:32 +00:00
editors Mark BROKEN 2020-12-25 09:19:30 +00:00
emulators Update to 1.0.2 2020-12-27 20:11:58 +00:00
finance Update gnucash and gnucash-docs to 4.3 2020-12-28 14:48:39 +00:00
french LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
ftp Relax hardcoded paths to fix build with Python 3.8.7 2020-12-24 13:46:01 +00:00
games games/endgame-singularity: revive and update 1.00 2020-12-28 06:45:18 +00:00
german devel/eric6: update to 20.12.1 release 2020-12-24 11:34:09 +00:00
graphics - Update to 1.5.13 2020-12-28 16:37:05 +00:00
hebrew LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
hungarian LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
irc - Remove stray file, committed by mistake. 2020-12-17 16:51:26 +00:00
japanese Explicitely deprecate more python 2.7 ports 2020-12-24 10:09:34 +00:00
java Restrict to Java 8, since this doesn't compile with Java 11 2020-12-27 19:00:14 +00:00
Keywords Remove the empty files during the post-deinstall procedure, to give a chance a deinstall 2020-10-22 12:46:48 +00:00
korean LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
lang lang/spidermonkey78: fix build on GCC architectures 2020-12-28 15:57:34 +00:00
mail mail/postfixadmin: unbreak build with php80 2020-12-28 15:52:44 +00:00
math - Set the license; 2020-12-28 16:09:52 +00:00
misc misc/broot: Update to 1.1.10 2020-12-28 10:42:30 +00:00
Mk Mk/Uses/python.mk: introduce PYTHON_EXT_SUFFIX variable 2020-12-24 13:14:02 +00:00
multimedia multimedia/iso2mkv: fix portlint(1) warnings 2020-12-28 13:02:11 +00:00
net - clean the CONFLICTS line; 2020-12-28 16:24:12 +00:00
net-im net-im/qTox: remove snorenotify dep 2020-12-27 20:51:18 +00:00
net-mgmt net-mgmt/pushgateway: Update to 1.3.1 2020-12-28 15:07:30 +00:00
net-p2p net-p2p/py-transmission-rpc: add new port 2020-12-28 14:29:05 +00:00
news Relax hardcoded paths to fix build with Python 3.8.7 2020-12-24 13:46:01 +00:00
polish LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
ports-mgmt ports-mgmt/pkg: Update WWW 2020-12-28 09:05:45 +00:00
portuguese Update to 20201212 2020-12-19 20:17:12 +00:00
print print/lilypond: update to 2.21.82 2020-12-28 13:39:55 +00:00
russian devel/eric6: update to 20.12.1 release 2020-12-24 11:34:09 +00:00
science science/afni: update to 20.3.04 2020-12-27 13:06:51 +00:00
security security/wolfssl: Updates to v4.6.0 2020-12-28 16:44:19 +00:00
shells Update to 5.1.4 2020-12-19 21:10:41 +00:00
sysutils Update xfce4-fsguard-plugin to 1.1.2 2020-12-28 15:21:03 +00:00
Templates Set configure variables to "yes" instead of "1". 2020-08-04 09:03:23 +00:00
textproc Updade to 38.1. 2020-12-28 11:42:52 +00:00
Tools bump_revision.pl: fix typo in help text. 2020-08-23 09:16:29 +00:00
ukrainian LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
vietnamese LibreOffice 7.0.4 is here, with over 110 bugfixes and compatibility improvements! 2020-12-18 11:09:27 +00:00
www www/moodle3*: unbreak build with php80 2020-12-28 15:49:02 +00:00
x11 Update xfce4-verve-plugin to 2.0.1 2020-12-28 15:21:53 +00:00
x11-clocks Update xfce4-datetime-plugin to 0.8.1 2020-12-24 21:21:00 +00:00
x11-drivers x11-drivers/xf86-video-intel: update to 2.99.917.914 (2020-12-15 snapshot) 2020-12-23 20:11:38 +00:00
x11-fm x11-fm/mucommander: Update to 0.9.5-1 2020-12-28 09:52:58 +00:00
x11-fonts x11-fonts/webfonts: make Comic Sans optional 2020-12-27 19:45:30 +00:00
x11-servers x11-servers/xwayland-devel: update to 1.20.0.800 2020-12-17 00:16:16 +00:00
x11-themes Remove MASTERSITE based at logri.net. It seems that it has been getting 2020-12-23 12:55:23 +00:00
x11-toolkits x11-toolkits/p5-Pango: drop maintainership 2020-12-27 20:08:33 +00:00
x11-wm x11-wm/river: update to s20201227 2020-12-27 00:56:15 +00:00
.arcconfig arcconfig: add callsign again 2020-11-23 04:40:33 +00:00
.gitattributes
.gitauthors .gitauthors: Add Juraj Lutter (otis) 2020-12-15 20:29:23 +00:00
.gitignore
.gitmessage
CHANGES Fix indentation 2020-12-02 13:10:47 +00:00
CONTRIBUTING.md
COPYRIGHT
GIDs net/gerbera: New port, UPnP/DLNA media server 2020-11-16 16:53:37 +00:00
LEGAL Remove expired ports: 2020-12-01 20:09:51 +00:00
Makefile
MOVED www/py-flexget: rename to flexget and clean up 2020-12-28 14:32:14 +00:00
README
UIDs net/gerbera: New port, UPnP/DLNA media server 2020-11-16 16:53:37 +00:00
UPDATING Cleanup whitespace 2020-12-28 15:35:47 +00:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	https://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):

	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.