Skip to content

Commit 166a130

Browse files
adustmadbridge
authored andcommitted
Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef __cplusplus
1 parent 0060d8b commit 166a130

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

features/mbedtls/targets/TARGET_STM/md5_alt.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ extern "C" {
3838
*/
3939
typedef struct
4040
{
41-
uint32_t total[2]; /*!< number of bytes processed */
42-
uint32_t state[4]; /*!< intermediate digest state */
43-
unsigned char buffer[64]; /*!< data block being processed */
4441
HASH_HandleTypeDef hhash_md5;
4542
}
4643
mbedtls_md5_context;
@@ -99,14 +96,6 @@ void mbedtls_md5_process( mbedtls_md5_context *ctx, const unsigned char data[64]
9996
}
10097
#endif
10198

102-
#ifdef __cplusplus
103-
extern "C" {
104-
#endif
105-
106-
#ifdef __cplusplus
107-
}
108-
#endif
109-
11099
#endif /* MBEDTLS_MD5_ALT */
111100

112101
#endif /* md5_alt.h */

0 commit comments

Comments
 (0)