diff --git a/include/mbedtls/ecp.h b/include/mbedtls/ecp.h index e71a445104..395db14770 100644 --- a/include/mbedtls/ecp.h +++ b/include/mbedtls/ecp.h @@ -1281,7 +1281,7 @@ int mbedtls_ecp_check_pub_priv( /** * \brief This function exports generic key-pair parameters. * - * \param kp The key pair to export from. + * \param key The key pair to export from. * \param grp Slot for exported ECP group. * It must point to an initialized ECP group. * \param d Slot for the exported secret value. diff --git a/tests/suites/test_suite_ecp.data b/tests/suites/test_suite_ecp.data index 3c975cc882..2eb8c2dfe5 100644 --- a/tests/suites/test_suite_ecp.data +++ b/tests/suites/test_suite_ecp.data @@ -889,4 +889,4 @@ ecp_export:MBEDTLS_ECP_DP_SECP256R1:"37cc56d976091e5a723ec7592dff206eee7cf906917 ECP export key parameters #2 (invalid group) depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED -ecp_export:MBEDTLS_ECP_DP_SECP256R1:"37cc56d976091e5a723ec7592dff206eee7cf9069174d0ad14b5f76822596292":"4ee500d82311ffea2fd2345d5d16bd8a88c26b770d55cd8a2a0efa01c8b4edff":"00f12a1320760270a83cbffd53f6031ef76a5d86c8a204f2c30ca9ebf51f0f0ea7":MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE:1 \ No newline at end of file +ecp_export:MBEDTLS_ECP_DP_SECP256R1:"37cc56d976091e5a723ec7592dff206eee7cf9069174d0ad14b5f76822596292":"4ee500d82311ffea2fd2345d5d16bd8a88c26b770d55cd8a2a0efa01c8b4edff":"00f12a1320760270a83cbffd53f6031ef76a5d86c8a204f2c30ca9ebf51f0f0ea7":MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE:1