🍺 BREW Explorer

← all formulae

mbedtls

brew install mbedtls v4.1.0 Apache-2.0

C library implementing TLS/DTLS protocols, X.509 certificates, and cryptographic operations via PSA Crypto API.

Why you might care

Lightweight, modular alternative to OpenSSL for embedded systems and applications needing fine-grained control over TLS/crypto features. Pure C with minimal dependencies, easier to audit and customize than OpenSSL. Widely used in IoT, firmware, and resource-constrained environments.

Categories

Alternatives

OpenSSL LibreSSL GnuTLS wolfSSL
4.8k
30-day installs · #619
22.6k
90-day · #481
306.2k
365-day · #212

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "mbedtls@4"
  ],
  "alternatives": [
    "OpenSSL",
    "LibreSSL",
    "GnuTLS",
    "wolfSSL"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "crypto",
    "networking"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Cryptographic \u0026 SSL/TLS library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:59+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "mbedtls",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.trustedfirmware.org/projects/mbed-tls/",
  "homepage_og_description": "Mbed TLS implements TLS, DTLS protocols and X.509 certificate manipulation. TF-PSA-Crypto provides reference implementation of PSA Cryptography API Specification by supporting the cryptographic operations via. PSA Crypto APIs.",
  "homepage_og_image": "https://www.trustedfirmware.org/images/social-media-image.png",
  "homepage_title": "Mbed TLS, TF-PSA-Crypto",
  "installs_30d": 4796,
  "installs_365d": 306235,
  "installs_90d": 22613,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:45:57+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "mbedtls",
  "oldnames": [],
  "one_liner": "C library implementing TLS/DTLS protocols, X.509 certificates, and cryptographic operations via PSA Crypto API.",
  "optional_dependencies": [],
  "rank_30d": 619,
  "rank_365d": 212,
  "rank_90d": 481,
  "raw_hash": "154ef817c53277da",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/m/mbedtls.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "python": "build"
    }
  ],
  "version_head": "HEAD",
  "version_stable": "4.1.0",
  "versioned_formulae": [
    "mbedtls@3",
    "mbedtls@2"
  ],
  "why_use_this": "Lightweight, modular alternative to OpenSSL for embedded systems and applications needing fine-grained control over TLS/crypto features. Pure C with minimal dependencies, easier to audit and customize than OpenSSL. Widely used in IoT, firmware, and resource-constrained environments."
}