Skip to content

Conversation

@LinuxJedi
Copy link
Member

@LinuxJedi LinuxJedi commented Aug 1, 2025

The key information for an object is now allocated on demand, instead of allocated as part of the object creation regardless of whether it was used.

Also contains a fix for debug function visibility.

@LinuxJedi LinuxJedi force-pushed the object_heap branch 2 times, most recently from 3569b3e to 0168971 Compare August 1, 2025 06:08
dgarske and others added 3 commits August 1, 2025 07:46
@LinuxJedi LinuxJedi changed the title Object heap Fixes to reduce the size of heap use for PKCS11 objects. Aug 1, 2025
@LinuxJedi LinuxJedi marked this pull request as ready for review August 1, 2025 10:12
@LinuxJedi LinuxJedi requested a review from dgarske August 1, 2025 10:12
Copy link
Collaborator

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! ./tests/pkcs11test peak heap: 67712 -> 45056 bytes. For objects that are not keys the allocated memory for an object is greatly reduced.

@dgarske dgarske merged commit eb36a02 into wolfSSL:master Aug 1, 2025
51 checks passed
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