Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapply patches to wolfssl sources #1

Merged
merged 1 commit into from
May 11, 2023

Conversation

llange
Copy link

@llange llange commented Apr 30, 2023

Author: Stephen Casner [email protected]
Date: Tue Mar 9 22:16:57 2021 -0800

Previously in commit openvehicles/Open-Vehicle-Monitoring-System-3@04fafb8:

To avoid a conflict between the definition of SHA_CTX in <openssl/ssl.h> and in esp-idf/include/esp32/rom/sha.h we add #define SHA_CTX DUMMY before reading the latter file to squelch its definition that we don't need.

Previously in commit openvehicles/Open-Vehicle-Monitoring-System-3@5144453:

We don't want to turn on WOLFSSL_SMALL_STACK globally because it slows down cyptography processing too much with allocations in PSRAM. Just define that macro around ProcessBuffer() to reduce stack allocations in that function.

Previously in commit 04fafb83a3cc5563a5feb70a4bb7922457d58893:

To avoid a conflict between the definition of SHA_CTX in <openssl/ssl.h>
and in esp-idf/include/esp32/rom/sha.h we add #define SHA_CTX DUMMY
before reading the latter file to squelch its definition that we don't
need.

Previously in commit 51444539047daef7bd2accb23ef40d1bc14fdb20:

We don't want to turn on WOLFSSL_SMALL_STACK globally because it slows
down cyptography processing too much with allocations in PSRAM.  Just
define that macro around ProcessBuffer() to reduce stack allocations
in that function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants