Skip to content

Krowemoh/zig-mbedtls-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-mbedtls-example

An example of using mbedtls with Zig v11.

This is a translation of the ssl_server.c example from the mbedtls github.

The src directory contains a single file that has the mbedTLS struct that contains all the functions needed to make a ssl server.

The lib directory has 2 files as zig can't get the size of the mbedtls_ssl_config struct. I took this code from Ninjacato's zig-mbedtls.

The build.zig contains the steps needed to build the project.

The code in this project is an example for me to be able to use mbedtls in my ScarletDME project. YMMV :)

About

An Example of using mbedtls with Zig v11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published