There's a lot of `*mut` pointer usage in the MbedTLS C API but perhaps some of those usages should be `*const`, especially with regards to callbacks.