Drop dummy self_test functions
diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h
index 977cc97..62c7f5b 100644
--- a/include/mbedtls/cipher.h
+++ b/include/mbedtls/cipher.h
@@ -757,13 +757,6 @@
const unsigned char *tag, size_t tag_len );
#endif /* POLARSSL_CIPHER_MODE_AEAD */
-/**
- * \brief Checkup routine
- *
- * \return 0 if successful, or 1 if the test failed
- */
-int cipher_self_test( int verbose );
-
#ifdef __cplusplus
}
#endif
diff --git a/include/mbedtls/ecdh.h b/include/mbedtls/ecdh.h
index 60f913d..b0bbde0 100644
--- a/include/mbedtls/ecdh.h
+++ b/include/mbedtls/ecdh.h
@@ -208,13 +208,6 @@
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng );
-/**
- * \brief Checkup routine
- *
- * \return 0 if successful, or 1 if the test failed
- */
-int ecdh_self_test( int verbose );
-
#ifdef __cplusplus
}
#endif
diff --git a/include/mbedtls/ecdsa.h b/include/mbedtls/ecdsa.h
index 9a04ee6..b1fd884 100644
--- a/include/mbedtls/ecdsa.h
+++ b/include/mbedtls/ecdsa.h
@@ -219,13 +219,6 @@
*/
void ecdsa_free( ecdsa_context *ctx );
-/**
- * \brief Checkup routine
- *
- * \return 0 if successful, or 1 if the test failed
- */
-int ecdsa_self_test( int verbose );
-
#ifdef __cplusplus
}
#endif
diff --git a/library/cipher.c b/library/cipher.c
index 5334851..e2d1786 100644
--- a/library/cipher.c
+++ b/library/cipher.c
@@ -897,19 +897,4 @@
}
#endif /* POLARSSL_CIPHER_MODE_AEAD */
-
-#if defined(POLARSSL_SELF_TEST)
-
-/*
- * Checkup routine
- */
-int cipher_self_test( int verbose )
-{
- ((void) verbose);
-
- return( 0 );
-}
-
-#endif /* POLARSSL_SELF_TEST */
-
#endif /* POLARSSL_CIPHER_C */
diff --git a/library/ecdh.c b/library/ecdh.c
index 5866c44..d620108 100644
--- a/library/ecdh.c
+++ b/library/ecdh.c
@@ -262,18 +262,4 @@
return mpi_write_binary( &ctx->z, buf, *olen );
}
-
-#if defined(POLARSSL_SELF_TEST)
-
-/*
- * Checkup routine
- */
-int ecdh_self_test( int verbose )
-{
- ((void) verbose );
- return( 0 );
-}
-
-#endif /* POLARSSL_SELF_TEST */
-
#endif /* POLARSSL_ECDH_C */
diff --git a/library/ecdsa.c b/library/ecdsa.c
index 11cf18a..c95f90b 100644
--- a/library/ecdsa.c
+++ b/library/ecdsa.c
@@ -486,17 +486,4 @@
mpi_free( &ctx->s );
}
-#if defined(POLARSSL_SELF_TEST)
-
-/*
- * Checkup routine
- */
-int ecdsa_self_test( int verbose )
-{
- ((void) verbose );
- return( 0 );
-}
-
-#endif /* POLARSSL_SELF_TEST */
-
#endif /* POLARSSL_ECDSA_C */
diff --git a/tests/suites/test_suite_cipher.function b/tests/suites/test_suite_cipher.function
index 471bcef..76aca14 100644
--- a/tests/suites/test_suite_cipher.function
+++ b/tests/suites/test_suite_cipher.function
@@ -667,10 +667,3 @@
TEST_ASSERT( dlen == (size_t) dlen_check );
}
/* END_CASE */
-
-/* BEGIN_CASE depends_on:POLARSSL_SELF_TEST */
-void cipher_selftest()
-{
- TEST_ASSERT( cipher_self_test( 0 ) == 0 );
-}
-/* END_CASE */