Mbed-TLS wrapper in Nim
Go to file
Ludovic Chenut 740fb2f469
fix: typo in mb_ssl_set_verify template
2024-08-09 17:56:44 +02:00
mbedtls fix: typo in mb_ssl_set_verify template 2024-08-09 17:56:44 +02:00
.gitmodules Mbed-TLS wrapper 2023-05-22 15:20:01 +02:00
LICENSE Initial commit 2023-05-22 11:16:53 +02:00
README.md chore: remove TODO from README 2024-08-09 17:33:39 +02:00
install_prerequisites.py Fix: remove run_command and only use subprocess.check_call 2024-06-10 15:37:22 +02:00
mbedtls.nim Added Readme & mbedtls.nim 2023-05-30 13:52:31 +02:00
mbedtls.nimble Fix: psa_crypto_driver_wrappers.c pre-requisites installation 2024-05-31 13:28:25 +02:00

README.md

Mbed-TLS

Stability: experimental License: MIT License: Apache

An Mbed-TLS wrapper for Nim, fully integrated with the Nim build system.

Applications using nim-mbedtls are fully stand-alone, needing no additional DLL or shared library.

Usage

For now, the library is just a wrapper which exposes the raw C functions of mbedtls.

For each mbedtls header file, a corresponding Nim file exists - ssl.h ~ mbedtls/ssl.nim.

# You can import the whole library
import mbedtls

# ... or simply parts thereof, which can save compilation time
import mbedtls/ssl

Installation

You can install the development version of the library through nimble with the following command:

nimble install https://github.com/status-im/nim-mbedtls.git

Mbed-TLS itself is compiled as part of your project - there is no need to install any third-party libraries.

License

Licensed and distributed under either of

or

at your option. This file may not be copied, modified, or distributed except according to those terms.