lwIP-CE

Contents

  • Getting Started
    • lwIP-CE Release Format
    • Developing with lwIP-CE
      • Set the BSSHEAP Constraint
      • Install lwIP-CE Headers and .lib File
      • Initialize the Dylib
    • Installing & Using lwIP-CE Application (as End User)
      • lwIP-CE Configuration Wizard
      • AppVars Created by lwIP-CE
    • Building from Source
  • Using the Network
    • Socket-Style v. PCB-Level API
    • Creating a Socket
      • lwip_socket_create()
      • lwip_socket_create_ex()
    • Using TLS
      • Algorithm support
        • lwip_set_tty()
        • lwip_socket_set_tls_cert()
        • lwip_socket_set_tls_psk()
    • Using Websockets
      • lwip_socket_set_ws_config()
    • Socket Reconfiguration
      • lwip_socket_set_timeout()
      • lwip_socket_resize_rx_max()
    • Requesting Services
      • lwip_request_services()
      • lwip_netif_request_services()
      • lwip_are_services_ready()
    • Socket as Client
      • lwip_socket_connect()
    • Socket as Server
      • lwip_socket_listen()
      • lwip_socket_accept()
    • Sending/Receiving Data Over a Socket
      • lwip_socket_available()
      • lwip_socket_read()
      • lwip_socket_write()
    • Closing/Destroying a Socket
      • lwip_socket_close()
      • lwip_socket_shutdown()
      • lwip_socket_abort()
      • lwip_socket_destroy()
    • Client/Server Examples
      • TCP Client
      • TCP Server (multi-connection)
    • Memory Safety & Usage
    • Debugging
  • Using Wi-Fi
    • Hardware
    • Setting Up
    • How the Link Behaves
    • Crypto Offload
    • Wi-Fi Control API
      • Example
    • The Wi-Fi Screen
  • Flashing the Bridge
    • Setting Up Wi-Fi
  • Parsing Responses
    • JSON
    • XML
    • URL Encoding
  • Using Cryptography
    • TRNG
      • tls_random_init_entropy()
      • tls_rng_healthcheck()
      • tls_random_bytes()
      • tls_random_bytes_ex()
      • tls_random_bytes_pr()
      • lwip_tls_rng_wait_for_ready()
      • tls_rng_status()
      • tls_rng_available_strength()
      • tls_rng_last_failure()
      • tls_random()
      • tls_request_random_bytes()
      • tls_rng_is_busy()
      • tls_rng_compute_stats()
    • Hashing and HMAC
      • Hashing
        • tls_hash_context_init()
        • tls_hash_update()
        • tls_hash_digest()
        • tls_hash_clear()
        • tls_mgf1()
      • HMAC
        • tls_hmac_context_init()
        • tls_hmac_update()
        • tls_hmac_digest()
        • tls_hmac_clear()
    • Key Derivation
      • HKDF
        • tls_hkdf_extract()
        • tls_hkdf_expand()
        • tls_hkdf_expand_label()
        • tls_derive_secret()
      • PBKDF2
        • tls_pbkdf2()
    • Key Operations
      • Allocating and Setting a Key
        • tls_key_type_t
        • tls_key
        • tls_key_import()
      • Encryption/Decryption over a Key
        • tls_cipher_encrypt()
        • tls_cipher_encrypt_aad()
        • tls_cipher_decrypt()
        • tls_cipher_decrypt_aad()
        • tls_cipher_blob_assemble()
      • Signing and Verifying
        • Result type
        • Functions
      • Freeing Keys
        • tls_key_free()
        • tls_cipher_blob_free()
    • Certificates
      • The Object
        • tls_x509_object
      • Importing and Freeing
        • tls_x509_import_certificate()
        • tls_x509_parse_certificate()
        • tls_x509_object_free()
      • Validation Helpers
        • tls_x509_hostname_matches()
        • tls_x509_time_in_validity()
        • tls_x509_time_to_unix()
      • Signature Verification
        • tls_x509_signature_verify()
        • tls_x509_signature_verify_digest()
    • Byte Operations
      • Secure Buffer Utilities
        • tls_bytes_compare()
        • tls_secure_memzero()
    • Common Cryptography Usages
      • File Integrity
      • Encrypt a File at Rest
      • Decrypt a File at Rest
  • Debugging
    • Packet Capture and Logging interface
    • Unified event callback
    • Traceback
  • Technical Details
    • LibLoad Environment
      • Bootstrapping
      • Heap Ownership
    • USB Device Mode and the Wi-Fi Bridge
      • Wi-Fi Control Frames
    • TLS Details
      • Algorithm Support
      • ClientHello Profile
      • Security Posture
    • CI And Test Harnesses
    • Whitepaper
  • TLS Specification Compliance
  • Credits & References
    • lwIP-CE Contributors
    • Upstream lwIP
    • Reference Implementations
    • RFCs And Standards
    • Books And Background
    • AI-Assisted Tooling
lwIP-CE
  • Search


© Copyright 2026, CagsCalcLabs.

Built with Sphinx using a theme provided by Read the Docs.