Fixes #37084 (cherry picked from commit 2584eb9c69)
2584eb9c69
Custom instance implementation via the mbedtls module.