cryptography.h and lwip/cryptography/
cryptography.h is the root-level umbrella for the lower-level
lwip/cryptography/*.h headers. These headers expose algorithmically-secure
primitives that can be used outside the network stack.
Header |
Purpose |
|---|---|
AES-GCM, AES-CCM, and AES-CBC support. |
|
DER/ASN.1 parsing support. |
|
Base64 encoding and decoding. |
|
Secure buffer comparison and secure erasure helpers. |
|
SHA-256 hashing support. |
|
HMAC-based key derivation. |
|
HMAC-SHA-256 support. |
|
Imported key object handling. |
|
PBKDF2 password-based key derivation. |
|
PKCS#8 and SEC1 key parsing/serialization. |
|
TRNG and secure random byte generation. |
|
RSA support for 1024-bit through 2048-bit keys. |
|
Certificate metadata and chain-verification helpers used by TLS. |
|
X25519 elliptic-curve scalar multiplication. |
|
X.509 certificate parsing. |