diff --git a/ChangeLog.md b/ChangeLog.md index 90020c0e9..c0b2c02a1 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,7 +3,7 @@ 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) +* 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 diff --git a/README b/README index 5d9986221..e6bb60752 100644 --- a/README +++ b/README @@ -78,7 +78,7 @@ 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) +* 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 diff --git a/README.md b/README.md index b6d18104d..32e8f1fce 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ 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) +* 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 diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index d789e1005..12ada17af 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -4811,7 +4811,8 @@ static WC_INLINE void FreeTmpDsas(byte** tmps, void* heap) (void)heap; } -#if !defined(HAVE_SELFTEST) && defined(WOLFSSL_KEY_GEN) +#if !defined(HAVE_SELFTEST) && (defined(WOLFSSL_KEY_GEN) || \ + defined(WOLFSSL_CERT_GEN)) /* Write a public DSA key to output */ int wc_SetDsaPublicKey(byte* output, DsaKey* key, int outLen, int with_header) @@ -5000,7 +5001,7 @@ int wc_DsaKeyToPublicDer(DsaKey* key, byte* output, word32 inLen) { return wc_SetDsaPublicKey(output, key, inLen, 1); } -#endif /* !HAVE_SELFTEST && WOLFSSL_KEY_GEN */ +#endif /* !HAVE_SELFTEST && (WOLFSSL_KEY_GEN || WOLFSSL_CERT_GEN) */ /* Convert private DsaKey key to DER format, write to output (inLen), return bytes written */