Function esp_idf_hal::sys::mbedtls_rsa_check_pubkey
source ยท pub unsafe extern "C" fn mbedtls_rsa_check_pubkey(
ctx: *const mbedtls_rsa_context,
) -> i32
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.