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

add feature for write/read data reusing the buffer passed in #7754

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JacobBarthelmeh
Copy link
Contributor

Part of the PIC18f effort to reduce memory used. This avoids having the application allocate a plain text buffer to then pass to wolfSSL and have copied over to an internal 'send' buffer. And on the receiving side avoids having an internal 'recv' buffer in addition to the applications buffer for holding plain text data received. Helping to reduce the overall memory used.

i.e. Sending a 50 byte data message before would use 50 bytes in an application buffer created, plus 50 + record header + Mac output buffer in wolfSSL internally. Now it's one 50 + record header + Mac buffer created in the application and passed to wolfSSL that gets reused.

@JacobBarthelmeh JacobBarthelmeh self-assigned this Jul 16, 2024
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.

1 participant