From e12d9290e3511d4e5e07af499f9510915fde66bb Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 4 Jan 2021 22:03:25 +0800 Subject: wolfssl: upgrade 4.5.0 -> 4.6.0 0001-Make-ByteReverseWords-available-for-big-and-little-e.patch Removed since this is included in 4.6.0 Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- ...verseWords-available-for-big-and-little-e.patch | 32 ---------------------- .../recipes-connectivity/wolfssl/wolfssl_4.5.0.bb | 23 ---------------- .../recipes-connectivity/wolfssl/wolfssl_4.6.0.bb | 22 +++++++++++++++ 3 files changed, 22 insertions(+), 55 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/wolfssl/wolfssl/0001-Make-ByteReverseWords-available-for-big-and-little-e.patch delete mode 100644 meta-networking/recipes-connectivity/wolfssl/wolfssl_4.5.0.bb create mode 100644 meta-networking/recipes-connectivity/wolfssl/wolfssl_4.6.0.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl/0001-Make-ByteReverseWords-available-for-big-and-little-e.patch b/meta-networking/recipes-connectivity/wolfssl/wolfssl/0001-Make-ByteReverseWords-available-for-big-and-little-e.patch deleted file mode 100644 index 4676769a43..0000000000 --- a/meta-networking/recipes-connectivity/wolfssl/wolfssl/0001-Make-ByteReverseWords-available-for-big-and-little-e.patch +++ /dev/null @@ -1,32 +0,0 @@ -From b90acc91d0cd276befe7f08f87ba2dc5ee7122ff Mon Sep 17 00:00:00 2001 -From: Tesfa Mael -Date: Wed, 26 Aug 2020 10:13:06 -0700 -Subject: [PATCH] Make ByteReverseWords available for big and little endian - ---- - wolfcrypt/src/misc.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/wolfcrypt/src/misc.c b/wolfcrypt/src/misc.c -index fe66ee0a1..23bfa1adc 100644 ---- a/wolfcrypt/src/misc.c -+++ b/wolfcrypt/src/misc.c -@@ -120,7 +120,6 @@ WC_STATIC WC_INLINE word32 ByteReverseWord32(word32 value) - return rotlFixed(value, 16U); - #endif - } --#if defined(LITTLE_ENDIAN_ORDER) - /* This routine performs a byte swap of words array of a given count. */ - WC_STATIC WC_INLINE void ByteReverseWords(word32* out, const word32* in, - word32 byteCount) -@@ -131,7 +130,6 @@ WC_STATIC WC_INLINE void ByteReverseWords(word32* out, const word32* in, - out[i] = ByteReverseWord32(in[i]); - - } --#endif /* LITTLE_ENDIAN_ORDER */ - - #if defined(WORD64_AVAILABLE) && !defined(WOLFSSL_NO_WORD64_OPS) - --- -2.25.1 - diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.5.0.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.5.0.bb deleted file mode 100644 index 61cf1cc626..0000000000 --- a/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.5.0.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "wolfSSL Lightweight Embedded SSL/TLS Library" -DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written \ - in C and optimized for embedded and RTOS environments. It can \ - be up to 20 times smaller than OpenSSL while still supporting \ - a full TLS client and server, up to TLS 1.3" -HOMEPAGE = "https://www.wolfssl.com/products/wolfssl" -BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues" -SECTION = "libs" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -PROVIDES += "cyassl" -RPROVIDES_${PN} = "cyassl" - -SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https \ - file://0001-Make-ByteReverseWords-available-for-big-and-little-e.patch \ -" -SRCREV = "0fa5af9929ce2ee99e8789996a3048f41a99830e" -S = "${WORKDIR}/git" - -inherit autotools - -BBCLASSEXTEND += "native nativesdk" diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.6.0.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.6.0.bb new file mode 100644 index 0000000000..ad7e92341b --- /dev/null +++ b/meta-networking/recipes-connectivity/wolfssl/wolfssl_4.6.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "wolfSSL Lightweight Embedded SSL/TLS Library" +DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written \ + in C and optimized for embedded and RTOS environments. It can \ + be up to 20 times smaller than OpenSSL while still supporting \ + a full TLS client and server, up to TLS 1.3" +HOMEPAGE = "https://www.wolfssl.com/products/wolfssl" +BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues" +SECTION = "libs" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +PROVIDES += "cyassl" +RPROVIDES_${PN} = "cyassl" + +SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https \ +" +SRCREV = "9c87f979a7f1d3a6d786b260653d566c1d31a1c4" +S = "${WORKDIR}/git" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk" -- cgit 1.2.3-korg