Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- { name: cmake-mldsa-44off, os: ubuntu-latest, build: cmake, wolfssl: mldsa-44off }
- { name: cmake-mldsa-65off, os: ubuntu-latest, build: cmake, wolfssl: mldsa-65off }
- { name: cmake-mldsa-87off, os: ubuntu-latest, build: cmake, wolfssl: mldsa-87off }
# Platform pieces compiled out (transport/store gates)
- { name: cmake-no-builtin-transport, os: ubuntu-latest, build: cmake, wolfssl: full, cmake_extra: "-DWOLFCERT_ENABLE_BUILTIN_TRANSPORT=OFF -DWOLFCERT_ENABLE_POSIX_STORE=OFF -DWOLFCERT_ENABLE_CLI=OFF -DWOLFCERT_ENABLE_SERVER=OFF" }
# Platform pieces compiled out (transport gate)
- { name: cmake-no-builtin-transport, os: ubuntu-latest, build: cmake, wolfssl: full, cmake_extra: "-DWOLFCERT_ENABLE_BUILTIN_TRANSPORT=OFF -DWOLFCERT_ENABLE_CLI=OFF -DWOLFCERT_ENABLE_SERVER=OFF" }
# Constrained builds (unit tests only: single-thread / no-malloc)
- { name: cmake-static-mem, os: ubuntu-latest, build: cmake, wolfssl: static-mem, cmake_extra: -DWOLFCERT_ENABLE_SERVER=OFF, ctest_exclude: "http|tls|roundtrip" }
# No TLS and no test server over a static pool; stop_idle and get_cert
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
os: ubuntu-latest
build: cmake
wolfssl: mldsa-87off
# Platform pieces compiled out (the transport/store gates)
# Platform pieces compiled out (the transport gate)
- name: cmake-no-builtin-transport
os: ubuntu-latest
build: cmake
Expand All @@ -124,7 +124,6 @@ jobs:
# skip themselves.
cmake_extra: >-
-DWOLFCERT_ENABLE_BUILTIN_TRANSPORT=OFF
-DWOLFCERT_ENABLE_POSIX_STORE=OFF
-DWOLFCERT_ENABLE_CLI=OFF
-DWOLFCERT_ENABLE_SERVER=OFF
# Constrained builds (unit tests only: single-thread / no-malloc)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
# No roundtrips: wolfSSL's asm crypto gives false Memcheck reports
# without a suppression file.
rc=0
for bin in test_smoke test_keygen test_csr test_store test_parse_negative \
for bin in test_smoke test_keygen test_csr test_parse_negative \
test_scep_msg; do
path="build/tests/$bin"
[ -x "$path" ] || { echo "skip (not built): $bin"; continue; }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
"${{ github.workspace }}/scripts/ci/twister-assert-ran.py" \
"$HOME/twister-unit/twister.json" \
wolfcert.unit.smoke wolfcert.unit.keygen wolfcert.unit.csr \
wolfcert.unit.csr_attrs wolfcert.unit.store \
wolfcert.unit.csr_attrs \
wolfcert.unit.parse_negative wolfcert.unit.scep_msg

- name: Start the host EST server
Expand Down
8 changes: 3 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,11 @@ install provides the library, the public headers, a generated
| `WOLFCERT_ENABLE_SERVER` | `--enable-server` | on | Minimal EST/SCEP test server |
| `WOLFCERT_ENABLE_CLI` | `--enable-cli` | on | `wolfcert-client`, `wolfcert-server` |
| `WOLFCERT_ENABLE_BUILTIN_TRANSPORT` | `--enable-builtin-transport` | on | POSIX socket transport; turn off on targets with no sockets |
| `WOLFCERT_ENABLE_POSIX_STORE` | `--enable-posix-store` | on | File-based cert/key store |
| `WOLFCERT_BUILD_SHARED` | (libtool `--enable-shared`) | on | Shared vs static library |
| `WOLFCERT_USER_SETTINGS` | `--enable-user-settings` | off | Read features from `user_settings.h` instead of the generated `options.h` |

A device build usually turns off the server and CLI, and the built-in
transport and POSIX store where the target has no sockets or filesystem.
transport where the target has no sockets.

## Configuration model

Expand Down Expand Up @@ -185,9 +184,8 @@ wolfcert_cleanup();
| `wolfcert/wolfcert.h` | Umbrella header, `wolfcert_init` / `wolfcert_cleanup` |
| `wolfcert/client.h` | High-level `wolfcert_client_*` API |
| `wolfcert/est.h`, `wolfcert/scep.h` | Protocol one-shots, sessions, non-blocking `_nb` sessions |
| `wolfcert/types.h` | `WolfCertServerCfg`, `WolfCertKeyCfg`, `WolfCertCertMeta`, `WolfCertEncoding` (PEM or DER output), `WolfCertTransport`, `wolfcert_buffer_free` |
| `wolfcert/types.h` | `WolfCertServerCfg`, `WolfCertKeyCfg`, `WolfCertCertMeta`, `WolfCertEncoding` (PEM or DER output), `WolfCertTransport`, `wolfcert_buffer_free` / `_secure` |
| `wolfcert/keygen.h`, `wolfcert/csr.h` | Key generation, import / export, CSR building |
| `wolfcert/store.h` | `WolfCertStoreOps` storage vtable, POSIX and in-memory backends |
| `wolfcert/errors.h`, `wolfcert/status.h`, `wolfcert/log.h` | Error codes, last-error detail, log callback |
| `wolfcert/memory.h` | Default heap hint, allocation macros |
| `examples/` | `enroll_est.c`, `enroll_scep.c`, `enroll_cryptocb.c`, `user_settings.h.example` |
Expand All @@ -204,7 +202,7 @@ contract, alone or in a group comment.
|---|---|---|
| Static memory / custom heap | `wolfcert_init(heap)` sets the default heap hint; per-call `heap` fields override it, and the hint reaches every wolfSSL call | `wolfcert/memory.h`, README "Integrating with a wolfSSL static-memory pool" |
| Network stack without BSD sockets (lwIP, NetX, FreeRTOS+TCP, wolfIP) | Fill `WolfCertServerCfg.transport` (`WolfCertTransport`); TLS records go through it too | `wolfcert/types.h`, `docs/EMBEDDED.md` section 7 |
| Persistence in flash / NVM | Implement `WolfCertStoreOps` (`read` / `write` / `remove`) | `wolfcert/store.h` |
| Persistence in flash / NVM | Store the buffers from `wolfcert_key_to_pem` / `_to_der` and the enroll result; wolfCert does no storage | `wolfcert/keygen.h` |
| Keys in a TPM, HSM, PKCS#11 token or secure element | Register a backend with `wc_CryptoCb_RegisterDevice`, pass its id as `WolfCertKeyCfg.dev_id` | `docs/ARCHITECTURE.md` section 4.2, `examples/enroll_cryptocb.c` |
| Event loop / no blocking | `wolfcert_est_session_open` / `wolfcert_scep_session_open`, then the `_nb` calls until they stop returning `WOLFCERT_ERR_WANT_READ` / `_WANT_WRITE`; `*_session_fd` gives the descriptor to poll | `wolfcert/est.h`, `wolfcert/scep.h` |
| Logging | `wolfcert_set_log_cb` (e.g. to a UART) | `wolfcert/log.h` |
Expand Down
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ option(WOLFCERT_ENABLE_SERVER "Build the minimal EST/SCEP test server" ON)
option(WOLFCERT_ENABLE_CLI "Build wolfcert-client / wolfcert-server" ON)
option(WOLFCERT_ENABLE_TESTS "Build unit and integration tests" OFF)
option(WOLFCERT_ENABLE_EXAMPLES "Build example programs" OFF)
option(WOLFCERT_ENABLE_POSIX_STORE "Build the POSIX file storage backend" ON)
option(WOLFCERT_ENABLE_BUILTIN_TRANSPORT
"Build the built-in POSIX socket transport" ON)
option(WOLFCERT_WERROR "Treat warnings as errors" OFF)
Expand Down Expand Up @@ -312,8 +311,6 @@ if(NOT WOLFCERT_USER_SETTINGS)
_wc_opt(WOLFCERT_OPT_EST "${WOLFCERT_ENABLE_EST}" WOLFCERT_HAVE_EST)
_wc_opt(WOLFCERT_OPT_SCEP "${WOLFCERT_ENABLE_SCEP}" WOLFCERT_HAVE_SCEP)
_wc_opt(WOLFCERT_OPT_SERVER "${WOLFCERT_ENABLE_SERVER}" WOLFCERT_HAVE_SERVER)
_wc_plat(WOLFCERT_OPT_POSIX_STORE "${WOLFCERT_ENABLE_POSIX_STORE}"
WOLFCERT_HAVE_POSIX_STORE WOLFCERT_NO_POSIX_STORE)
_wc_plat(WOLFCERT_OPT_BUILTIN_TRANSPORT
"${WOLFCERT_ENABLE_BUILTIN_TRANSPORT}"
WOLFCERT_HAVE_BUILTIN_TRANSPORT WOLFCERT_NO_BUILTIN_TRANSPORT)
Expand All @@ -335,7 +332,6 @@ set(WOLFCERT_SOURCES
src/key_algs.c
src/keygen.c
src/csr.c
src/store.c
src/http.c
src/client.c)

Expand Down Expand Up @@ -641,6 +637,6 @@ endif()

message(STATUS "wolfCert ${PROJECT_VERSION}: EST=${WOLFCERT_ENABLE_EST}, "
"SCEP=${WOLFCERT_ENABLE_SCEP}, server=${WOLFCERT_ENABLE_SERVER}, "
"cli=${WOLFCERT_ENABLE_CLI}, posix_store=${WOLFCERT_ENABLE_POSIX_STORE}, "
"cli=${WOLFCERT_ENABLE_CLI}, "
"builtin_transport=${WOLFCERT_ENABLE_BUILTIN_TRANSPORT}, "
"user_settings=${WOLFCERT_USER_SETTINGS}")
14 changes: 5 additions & 9 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ libwolfcert_la_SOURCES = \
src/key_algs.h \
src/keygen.c \
src/csr.c \
src/store.c \
src/http.c \
src/client.c

Expand Down Expand Up @@ -68,7 +67,6 @@ wolfcertinclude_HEADERS = \
wolfcert/types.h \
wolfcert/keygen.h \
wolfcert/csr.h \
wolfcert/store.h \
wolfcert/http.h \
wolfcert/est.h \
wolfcert/scep.h \
Expand Down Expand Up @@ -106,7 +104,7 @@ endif

if WOLFCERT_BUILD_TESTS
check_PROGRAMS = \
test_smoke test_keygen test_csr test_store test_http test_transport \
test_smoke test_keygen test_csr test_http test_transport \
test_parse_negative test_tls_http
if WOLFCERT_HAVE_BUILTIN_TRANSPORT
check_PROGRAMS += test_net
Expand All @@ -119,8 +117,6 @@ test_keygen_LDADD = libwolfcert.la $(WOLFSSL_LIBS)
test_csr_SOURCES = tests/unit/test_csr.c
test_csr_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
test_csr_LDADD = libwolfcert.la $(WOLFSSL_LIBS)
test_store_SOURCES = tests/unit/test_store.c
test_store_LDADD = libwolfcert.la $(WOLFSSL_LIBS)
test_transport_SOURCES = tests/unit/test_transport.c
test_transport_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
test_transport_LDADD = libwolfcert.la $(WOLFSSL_LIBS)
Expand Down Expand Up @@ -201,13 +197,13 @@ endif

# Protocol-agnostic server tests.
if WOLFCERT_HAVE_SERVER
check_PROGRAMS += test_server_stop_idle test_server_ca_store
check_PROGRAMS += test_server_stop_idle test_server_ca
test_server_stop_idle_SOURCES = tests/integration/test_server_stop_idle.c
test_server_stop_idle_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
test_server_stop_idle_LDADD = libwolfcert.la $(WOLFSSL_LIBS) -lpthread
test_server_ca_store_SOURCES = tests/unit/test_server_ca_store.c
test_server_ca_store_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
test_server_ca_store_LDADD = libwolfcert.la $(WOLFSSL_LIBS) -lpthread
test_server_ca_SOURCES = tests/unit/test_server_ca.c
test_server_ca_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
test_server_ca_LDADD = libwolfcert.la $(WOLFSSL_LIBS) -lpthread
endif

TESTS = $(check_PROGRAMS)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ All `WolfCertBuffer` outputs remember which heap they came from, so the same
included, so a non-BSD-sockets stack (FreeRTOS+TCP, NetX, lwIP, wolfIP)
needs one small glue file and no wolfCert change; the POSIX transport is the
default instance and can be compiled out.
- **Storage:** file-based cert/key store with atomic writes and 0600 key-file
mode; pluggable via the `WolfCertStoreOps` vtable.
- **Storage is the application's:** keys export as PEM or DER
(`wolfcert_key_to_pem` / `_to_der`) and certificates come back as buffers,
to keep in a file, flash slot or secure element as the device requires.
- **Test servers + CLIs** for Linux/macOS (`wolfcert-server`,
`wolfcert-client`). The servers are for development and interop testing,
not production CA use.
Expand Down
9 changes: 0 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ cannot supply a custom one])])
round-trip tests drive the client over real sockets])])
])

# Only the POSIX backend inside store.c is gated, so no AM_CONDITIONAL.
AC_ARG_ENABLE([posix-store],
[AS_HELP_STRING([--disable-posix-store],
[do not build the POSIX file storage backend])],
[enable_posix_store=$enableval], [enable_posix_store=yes])

AC_ARG_ENABLE([tests],
[AS_HELP_STRING([--enable-tests], [build unit and integration tests])],
[enable_tests=$enableval], [enable_tests=no])
Expand Down Expand Up @@ -307,8 +301,6 @@ AS_IF([test "x$have_rsa" = "xno" && test "x$have_ecc" = "xno" \
WOLFCERT_OPT([WOLFCERT_OPT_EST], [$enable_est], [WOLFCERT_HAVE_EST])
WOLFCERT_OPT([WOLFCERT_OPT_SCEP], [$enable_scep], [WOLFCERT_HAVE_SCEP])
WOLFCERT_OPT([WOLFCERT_OPT_SERVER], [$enable_server], [WOLFCERT_HAVE_SERVER])
WOLFCERT_PLAT([WOLFCERT_OPT_POSIX_STORE], [$enable_posix_store],
[WOLFCERT_HAVE_POSIX_STORE], [WOLFCERT_NO_POSIX_STORE])
WOLFCERT_PLAT([WOLFCERT_OPT_BUILTIN_TRANSPORT], [$enable_builtin_transport],
[WOLFCERT_HAVE_BUILTIN_TRANSPORT], [WOLFCERT_NO_BUILTIN_TRANSPORT])
WOLFCERT_OPT([WOLFCERT_OPT_RSA], [$have_rsa], [WOLFCERT_HAVE_RSA])
Expand Down Expand Up @@ -363,7 +355,6 @@ AC_MSG_NOTICE([
Ed448=$have_ed448 ML-DSA=$have_mldsa
TLS 1.2/1.3 : $have_tls12 / $have_tls13
Test server : $enable_server
POSIX store : $enable_posix_store
Builtin transp: $enable_builtin_transport
User settings : $enable_user_settings
CLI tools : $enable_cli
Expand Down
46 changes: 15 additions & 31 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ A few constraints shape the whole library:
CryptoCb itself. The application registers its own (TPM, HSM, PKCS#11,
custom) and passes the resulting `devId` through `WolfCertKeyCfg.dev_id`;
wolfCert threads that into every wolfSSL crypto call on the key.
4. **Pluggable storage and protocol handling via vtables** (see
4. **Pluggable algorithms, transport and protocol handling via vtables** (see
[section 5](#5-extension-points)).
5. **Event-loop-friendly I/O.** Every keep-alive session (HTTP, EST, SCEP)
takes non-blocking `_nb` calls that surface `WOLFCERT_ERR_WANT_READ` /
Expand Down Expand Up @@ -80,7 +80,7 @@ wolfCert is organised in four layers, top to bottom:
+----------------------------------------------------------------------+
| public API headers (wolfcert/*.h) |
| wolfcert.h (umbrella) client.h est.h scep.h http.h |
| keygen.h csr.h store.h server.h memory.h errors.h status.h |
| keygen.h csr.h server.h memory.h errors.h status.h |
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
Expand All @@ -91,7 +91,7 @@ wolfCert is organised in four layers, top to bottom:
+----------------------------------------------------------------------+
| subsystem layer |
| keygen / key_algs csr http (TLS + keep-alive + async) |
| store pkcs7_util server + ca_issue memory / errors / logging |
| pkcs7_util server + ca_issue memory / errors / logging |
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
Expand Down Expand Up @@ -432,27 +432,16 @@ Key points:
its in-flight state; don't mutate the request/response between calls.
- **One in-flight request per session** — pipelining is not supported.

### 4.4 Pluggable storage for flash / NVM
### 4.4 Persisting keys and certificates

Populate a `WolfCertStoreOps` with your backend and hand it to the store
helpers:

```c
WolfCertStoreOps flash_ops = {
.read = flash_read,
.write = flash_write,
.remove = flash_remove,
.heap = my_heap,
.ctx = &my_flash_state,
};
wolfcert_store_write_cert(&flash_ops, "device.crt", cert.data, cert.len);
```

Keys are opaque strings — map them to flash slots, handles, or paths however
your storage layer prefers. `sensitive = 1` on a write tells you the blob is
private-key material; enforce whatever access-control or encryption policy the
device needs. `wolfcert_store_write_key` / `_read_key` round-trip a
`WolfCertKey` via PEM and always mark the write sensitive.
wolfCert does not store anything. An enroll returns the certificate in a
`WolfCertBuffer`, `wolfcert_key_to_pem` / `_to_der` export a software key, and
`wolfcert_key_from_pem` reads one back. Write them wherever the device keeps
credentials. A renewal replaces the certificate and, on a rekey, the key, so
keep the old pair until both new halves are written. Keep exported keys
readable only by the device's own process, and free their buffers with
`wolfcert_buffer_free_secure()`. A key that stays in a CryptoCb backend is not
exported; keep the reference the backend needs.

### 4.5 Logging & errors on targets without stdio

Expand Down Expand Up @@ -613,9 +602,8 @@ wolfcert_est_session_open(&srv, &s);
run_nb_loop(s); /* pattern from section 4.3 */
wolfcert_est_session_close(s);

/* 5. Persist to flash through our storage backend */
wolfcert_store_write_cert(&flash_ops, "device.crt", cert.data, cert.len);
/* key stays behind the CryptoCb; persist its label instead */
/* 5. Persist the certificate; the key stays behind the CryptoCb */
flash_write("device.crt", cert.data, cert.len);

/* 6. Shutdown */
wolfcert_key_free(key);
Expand All @@ -626,18 +614,14 @@ wolfcert_cleanup();

## 5. Extension points

Four small vtables carry all of wolfCert's pluggability. Each is a "fill in a
Three small vtables carry all of wolfCert's pluggability. Each is a "fill in a
struct, no library changes" extension:

- **`WolfCertKeyAlg`** (`src/key_algs.c`) — algorithm dispatch. Adding a key
algorithm is one struct literal pairing the `WolfCertKeyType` with its
wolfSSL constants and `alloc_init` / `make` / `priv_decode` / `priv_to_der`
/ `free_` callbacks, plus an optional `WOLFCERT_HAVE_<ALG>` compile guard. No
edits to `keygen.c`, `csr.c`, or `ca_issue.c`.
- **`WolfCertStoreOps`** (`wolfcert/store.h`) — storage backend. Supply
`read` / `write` / `remove` callbacks and a private `ctx`; keys are opaque
strings. Shipped backends: POSIX files (atomic write, 0600 key mode) and
in-memory. See [section 4.4](#44-pluggable-storage-for-flash--nvm).
- **`WolfCertTransport`** (`wolfcert/types.h`) — the bytes on the wire. Supply
`connect` / `read` / `write` / `disconnect` and a private `ctx` to run
wolfCert on a non-BSD-sockets stack; TLS rides the same callbacks through an
Expand Down
12 changes: 5 additions & 7 deletions docs/EMBEDDED.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,17 +303,17 @@ with ECC or a PQC algorithm, disabling SCEP avoids pulling in RSA.

## 7. Targets without BSD sockets or a filesystem

Two platform pieces can be compiled out entirely, so a target that has
neither a socket API nor a filesystem links neither.
The one platform piece, the socket transport, can be compiled out entirely,
so a target without a socket API does not link it. wolfCert never touches a
filesystem.

| Macro | Off means | Build flags | `user_settings.h` |
|---|---|---|---|
| `WOLFCERT_HAVE_BUILTIN_TRANSPORT` | `src/net_posix.c` is not compiled | `-DWOLFCERT_ENABLE_BUILTIN_TRANSPORT=OFF` / `--disable-builtin-transport` | `#define WOLFCERT_NO_BUILTIN_TRANSPORT` |
| `WOLFCERT_HAVE_POSIX_STORE` | the POSIX file store backend is stubbed out | `-DWOLFCERT_ENABLE_POSIX_STORE=OFF` / `--disable-posix-store` | `#define WOLFCERT_NO_POSIX_STORE` |

Each pair is mandatory-one-of: `check_config.h` fails the build when a
The pair is mandatory-one-of: `check_config.h` fails the build when a
config defines neither the `WOLFCERT_HAVE_*` nor the `WOLFCERT_NO_*` form,
so compiling a backend out is always an explicit decision. The configure
so compiling the transport out is always an explicit decision. The configure
builds emit the right macro automatically; only a `user_settings.h` build
writes it by hand.

Expand All @@ -322,8 +322,6 @@ leaving it NULL is `WOLFCERT_ERR_BAD_ARG`. Writing one is a small glue file
in your own tree - `connect` / `read` / `write` / `disconnect` over your
stack, no TLS code - described in
[`ARCHITECTURE.md` section 4.6](ARCHITECTURE.md#46-pluggable-transport).
With the store off, `wolfcert_store_posix_open()` returns NULL and the
in-memory backend or your own `WolfCertStoreOps` carries persistence.

The CLI tools and the built-in test server both need real sockets, so both
build systems reject enabling them alongside `--disable-builtin-transport`.
Expand Down
1 change: 0 additions & 1 deletion docs/MIGRATING-FROM-WOLFSCEP.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ Link against `libwolfcert` and include `<wolfcert/wolfcert.h>`, which pulls in t
- **EST (RFC 7030)** for the same lifecycle over TLS, with ECC, Ed25519, Ed448 and ML-DSA keys, none of which SCEP permits.
- **Keep-alive sessions with `_nb` calls**, so several operations share one connection and an event loop can drive them through `WOLFCERT_ERR_WANT_READ` and `WOLFCERT_ERR_WANT_WRITE`.
- **CryptoCb offload.** Register your TPM, HSM or PKCS#11 backend with wolfSSL and pass the resulting `dev_id` in `WolfCertKeyCfg`; the private key never has to be in memory.
- **Pluggable storage** through `WolfCertStoreOps` for flash and NVM targets.
- **Static memory.** Every allocation carries a heap hint, so wolfCert runs on a wolfSSL built `WOLFSSL_NO_MALLOC` with a static pool.
- **A tested interop matrix**, described in `INTEROP.md`.

Expand Down
Loading
Loading