Janos Follath via mbed-tls mbed-tls@lists.trustedfirmware.org wrote: > To achieve that, you would need to swap the public and the private > exponents in the RSA context, then remove the CRT coefficients. All > these fields in the RSA context are private. That is, you would need to > enable MBEDTLS_ALLOW_PRIVATE_ACCES and even if you manage to make it > work like this, it is not guaranteed that it will keep working in later > versions.
Also, it will only work with RSA and not with E{CD}DSA.