pub unsafe extern "C" fn mbedtls_rsa_check_pub_priv(
    pub_: *const mbedtls_rsa_context,
    prv: *const mbedtls_rsa_context
) -> c_int
Expand description

\brief This function checks a public-private RSA key pair.

            It checks each of the contexts, and makes sure they match.

\param pub The initialized RSA context holding the public key. \param prv The initialized RSA context holding the private key.

\return \c 0 on success. \return An \c MBEDTLS_ERR_RSA_XXX error code on failure.