8 years, 8 months ago.

I am not sure whether the RSA in mbed TLS is compatible with the openssl or not, could you tell me?

Dears, I am not sure whether the RSA in mbed TLS is compatible with the openssl or not, is there anyone can tell me, thx.

1 Answer

8 years, 8 months ago.

RSA is standardized in PKCS #1. There are two versions of PKCS #1 currently in use: v1.5 (the only version used in TLS, and the most widely used in X.509 certificates) and v2.1, also know as RSA-PSS for signatures and RSA-OAEP for encryption. mbed TLS supports both versions, as does OpenSSL, so yes, both are compatible.

Generally speaking, all encryption primitives and protocols in mbed TLS are implemented according to standards, validated against test vectors, and tested with other widely used implementations (including, but not limited to, OpenSSL) to ensure the widest possible compatibility.

Accepted Answer