是什么 ? | : | mbedTLS (formerly known as PolarSSL) makes it trivially easy for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, facilitating this functionality with a minimal coding footprint. |
开发语言 | : | C |
开发公司 | : | ARM |
官方主页 | : | https://tls.mbed.org |
源码仓库 | : | https://github.com/ARMmbed/mbedtls |
mbedTLS
以前的名称是PolarSSL
,被ARM
收购后改名为mbedTLS
。
mbedTLS
设计为适合小型嵌入式设备,最小完整的TLS堆栈需要60KB的程序空间和64KB的RAM。
mbedTLS
是高度模块化的:每个组件,如加密函数,通常可以几乎不费力的从整个框架中独立出来,供我们使用。
mbedTLS
是OpenSSL的替代品,相对来说更容易使用,尤其是在移动端、嵌入式领域。
操作系统 | 包管理器 | 安装命令 |
---|---|---|
All | vcpkg | vcpkg install mbedtls vcpkg install mbedtls:x64-osx vcpkg install mbedtls:x64-linux vcpkg install mbedtls:x64-windows |
macOS | HomeBrew | brew install mbedtls |
GNU/Linux | HomeBrew | brew install mbedtls |
apt | sudo apt-get install -y mbedtls1g mbedtls1g-dev | |
CentOS | yum | sudo yum install -y mbedtls mbedtls-devel |
dnf | sudo dnf install -y mbedtls mbedtls-devel | |
openSUSE | zypper | sudo zypper install -y mbedtls mbedtls-devel |
Alpine Linux | apk | sudo apk add mbedtls |
pacman | sudo pacman -Syyu --noconfirm | |
Gentoo Linux | Portage | sudo emerge mbedtls |