Hello, I am using ESP32 Dev Module, which supports MbedTLS. I have two questions, but I can't find the answer on the forum:
1.Is there any way to import RSA keys from string(ideally from PEM format) to mbedtls_pk context?
2.How to encrypt with RSA private key and decrypt with RSA public key?  
Thanks
Radim Kohout