From f3dc4a1a21f62a2eed01dbbfe2c95ed41f48c53a Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Mon, 3 Apr 2023 15:37:53 +0200 Subject: [PATCH] fixed guard position for doxygen Signed-off-by: Valerio Setti --- include/mbedtls/ecp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/mbedtls/ecp.h b/include/mbedtls/ecp.h index 0b72a837ab..8bddbae7b8 100644 --- a/include/mbedtls/ecp.h +++ b/include/mbedtls/ecp.h @@ -1276,6 +1276,7 @@ int mbedtls_ecp_read_key(mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, int mbedtls_ecp_write_key(mbedtls_ecp_keypair *key, unsigned char *buf, size_t buflen); +#if !defined(MBEDTLS_USE_PSA_CRYPTO) /** * \brief This function checks that the keypair objects * \p pub and \p prv have the same group and the @@ -1296,8 +1297,6 @@ int mbedtls_ecp_write_key(mbedtls_ecp_keypair *key, * \return An \c MBEDTLS_ERR_ECP_XXX or an \c MBEDTLS_ERR_MPI_XXX * error code on calculation failure. */ - -#if !defined(MBEDTLS_USE_PSA_CRYPTO) int mbedtls_ecp_check_pub_priv( const mbedtls_ecp_keypair *pub, const mbedtls_ecp_keypair *prv, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng);