The TLS example now: 1. Shows example bucket configurations even when static memory is disabled 2. Better handles missing static memory functions 3. Improves error messages and instructions Co-Authored-By: jacob@wolfssl.com <jacob@wolfssl.com> |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
example_application | ||
example_application.c | ||
tls_example.c |
README.md
Memory Bucket Optimizer Examples
This directory contains examples demonstrating how to use optimized memory bucket configurations with wolfSSL's static memory feature.
Examples
example_application.c
: Basic example showing how to use static memory with optimized bucket configurationstls_example.c
: Example demonstrating optimized bucket configurations for TLS 1.2 and TLS 1.3
Building
make
Running
-
Basic Example:
./example_application
-
TLS Example:
./tls_example
Requirements
- wolfSSL built with
--enable-staticmemory
- GNU Make
- GCC
Notes
- The examples demonstrate different bucket configurations optimized for specific use cases
- Memory usage statistics are provided to show the effectiveness of the optimizations
- Both examples handle the case where static memory is not enabled in wolfSSL