pub unsafe extern "C" fn mbedtls_rsa_check_pubkey(
    ctx: *const mbedtls_rsa_context
) -> c_int
Expand description

\brief This function checks if a context contains at least an RSA public key.

            If the function runs successfully, it is guaranteed that
            enough information is present to perform an RSA public key
            operation using mbedtls_rsa_public().

\param ctx The initialized RSA context to check.

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