Rename md process functions with _internal_
diff --git a/include/mbedtls/md2.h b/include/mbedtls/md2.h
index 1f3b107..2c133a2 100644
--- a/include/mbedtls/md2.h
+++ b/include/mbedtls/md2.h
@@ -119,7 +119,7 @@
*
* \return 0 if successful
*/
-int mbedtls_md2_process_ext( mbedtls_md2_context *ctx );
+int mbedtls_internal_md2_process( mbedtls_md2_context *ctx );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -175,14 +175,14 @@
/**
* \brief MD2 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_md2_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_md2_process() in 2.5.0
*
* \param ctx MD2 context
*/
MBEDTLS_DEPRECATED static inline void mbedtls_md2_process(
mbedtls_md2_context *ctx )
{
- mbedtls_md2_process_ext( ctx );
+ mbedtls_internal_md2_process( ctx );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/md4.h b/include/mbedtls/md4.h
index 7968b69..671c6a4 100644
--- a/include/mbedtls/md4.h
+++ b/include/mbedtls/md4.h
@@ -120,8 +120,8 @@
*
* \return 0 if successful
*/
-int mbedtls_md4_process_ext( mbedtls_md4_context *ctx,
- const unsigned char data[64] );
+int mbedtls_internal_md4_process( mbedtls_md4_context *ctx,
+ const unsigned char data[64] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -177,7 +177,7 @@
/**
* \brief MD4 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_md4_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_md4_process() in 2.5.0
*
* \param ctx MD4 context
* \param data buffer holding one block of data
@@ -186,7 +186,7 @@
mbedtls_md4_context *ctx,
const unsigned char data[64] )
{
- mbedtls_md4_process_ext( ctx, data );
+ mbedtls_internal_md4_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/md5.h b/include/mbedtls/md5.h
index 7ecf49f..816d081 100644
--- a/include/mbedtls/md5.h
+++ b/include/mbedtls/md5.h
@@ -115,8 +115,8 @@
*
* \return 0 if successful
*/
-int mbedtls_md5_process_ext( mbedtls_md5_context *ctx,
- const unsigned char data[64] );
+int mbedtls_internal_md5_process( mbedtls_md5_context *ctx,
+ const unsigned char data[64] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -172,7 +172,7 @@
/**
* \brief MD5 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_md5_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_md5_process() in 2.5.0
*
* \param ctx MD5 context
* \param data buffer holding one block of data
@@ -181,7 +181,7 @@
mbedtls_md5_context *ctx,
const unsigned char data[64] )
{
- mbedtls_md5_process_ext( ctx, data );
+ mbedtls_internal_md5_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/ripemd160.h b/include/mbedtls/ripemd160.h
index 5ef4700..aea16b3 100644
--- a/include/mbedtls/ripemd160.h
+++ b/include/mbedtls/ripemd160.h
@@ -120,8 +120,8 @@
*
* \return 0 if successful
*/
-int mbedtls_ripemd160_process_ext( mbedtls_ripemd160_context *ctx,
- const unsigned char data[64] );
+int mbedtls_internal_ripemd160_process( mbedtls_ripemd160_context *ctx,
+ const unsigned char data[64] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -177,7 +177,7 @@
/**
* \brief RIPEMD-160 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_ripemd160_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_ripemd160_process() in 2.5.0
*
* \param ctx RIPEMD-160 context
* \param data buffer holding one block of data
@@ -186,7 +186,7 @@
mbedtls_ripemd160_context *ctx,
const unsigned char data[64] )
{
- mbedtls_ripemd160_process_ext( ctx, data );
+ mbedtls_internal_ripemd160_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/sha1.h b/include/mbedtls/sha1.h
index 9dde5b8..47a9f99 100644
--- a/include/mbedtls/sha1.h
+++ b/include/mbedtls/sha1.h
@@ -120,8 +120,8 @@
*
* \return 0 if successful
*/
-int mbedtls_sha1_process_ext( mbedtls_sha1_context *ctx,
- const unsigned char data[64] );
+int mbedtls_internal_sha1_process( mbedtls_sha1_context *ctx,
+ const unsigned char data[64] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -177,7 +177,7 @@
/**
* \brief SHA-1 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_sha1_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_sha1_process() in 2.5.0
*
* \param ctx SHA-1 context
* \param data buffer holding one block of data
@@ -186,7 +186,7 @@
mbedtls_sha1_context *ctx,
const unsigned char data[64] )
{
- mbedtls_sha1_process_ext( ctx, data );
+ mbedtls_internal_sha1_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/sha256.h b/include/mbedtls/sha256.h
index 3667e8c..76555f4 100644
--- a/include/mbedtls/sha256.h
+++ b/include/mbedtls/sha256.h
@@ -122,8 +122,8 @@
*
* \return 0 if successful
*/
-int mbedtls_sha256_process_ext( mbedtls_sha256_context *ctx,
- const unsigned char data[64] );
+int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx,
+ const unsigned char data[64] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -181,7 +181,7 @@
/**
* \brief SHA-256 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_sha256_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_sha256_process() in 2.5.0
*
* \param ctx SHA-256 context
* \param data buffer holding one block of data
@@ -190,7 +190,7 @@
mbedtls_sha256_context *ctx,
const unsigned char data[64] )
{
- mbedtls_sha256_process_ext( ctx, data );
+ mbedtls_internal_sha256_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED
diff --git a/include/mbedtls/sha512.h b/include/mbedtls/sha512.h
index 3049110..0fbdb3b 100644
--- a/include/mbedtls/sha512.h
+++ b/include/mbedtls/sha512.h
@@ -122,8 +122,8 @@
*
* \return 0 if successful
*/
-int mbedtls_sha512_process_ext( mbedtls_sha512_context *ctx,
- const unsigned char data[128] );
+int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
+ const unsigned char data[128] );
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
#if defined(MBEDTLS_DEPRECATED_WARNING)
@@ -181,7 +181,7 @@
/**
* \brief SHA-512 process data block (internal use only)
*
- * \deprecated Superseded by mbedtls_sha512_process_ext() in 2.5.0
+ * \deprecated Superseded by mbedtls_internal_sha512_process() in 2.5.0
*
* \param ctx SHA-512 context
* \param data buffer holding one block of data
@@ -190,7 +190,7 @@
mbedtls_sha512_context *ctx,
const unsigned char data[128] )
{
- mbedtls_sha512_process_ext( ctx, data );
+ mbedtls_internal_sha512_process( ctx, data );
}
#undef MBEDTLS_DEPRECATED