CFFI bindings for mbedTLS
cl-mbedtls provides CFFI bindings for mbedTLS, a secure networking and encryption library. cl-mbedtls is still work in progress. It currently provides enough features to run PolarSeal. Supports SBCL and CCL.
-
Configure & build mbedTLS
-
Download and unpack mbedTLS
-
Enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C in include/mbedtls/config.h
-
Build mbedTLS using
$ cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On . $ make $ sudo make install
-
-
Install dependencies
-
Build and load cl-mbedtls
-
Run
make
in the cl-mbedtls folderThis should generate the ctypes executable, mbed-ctypes.cl and libmbed_aux.so
-
Load with ASDF:
(asdf:load-system :cl-mbedtls)
-
- Fix memory leaks
- Improve installation process
- Add documentation
- Add hashing APIs