Mark the C version of md5_block_data_order static.

This doesn't really matter, but once less visible symbol.

Change-Id: If4ee8cfe5c9db9d1c05ca74b8c6fee5cf3ea5a9b
Reviewed-on: https://boringssl-review.googlesource.com/31764
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2018-09-07 14:38:52 -05:00 committed by Adam Langley
parent d66809580a
commit 967cd8219c

View File

@ -85,11 +85,14 @@ int MD5_Init(MD5_CTX *md5) {
(defined(OPENSSL_X86_64) || defined(OPENSSL_X86)) (defined(OPENSSL_X86_64) || defined(OPENSSL_X86))
#define MD5_ASM #define MD5_ASM
#define md5_block_data_order md5_block_asm_data_order #define md5_block_data_order md5_block_asm_data_order
extern void md5_block_data_order(uint32_t *state, const uint8_t *data,
size_t num);
#else
static void md5_block_data_order(uint32_t *state, const uint8_t *data,
size_t num);
#endif #endif
void md5_block_data_order(uint32_t *state, const uint8_t *data, size_t num);
#define DATA_ORDER_IS_LITTLE_ENDIAN #define DATA_ORDER_IS_LITTLE_ENDIAN
#define HASH_CTX MD5_CTX #define HASH_CTX MD5_CTX
@ -155,7 +158,8 @@ void md5_block_data_order(uint32_t *state, const uint8_t *data, size_t num);
#ifdef X #ifdef X
#undef X #undef X
#endif #endif
void md5_block_data_order(uint32_t *state, const uint8_t *data, size_t num) { static void md5_block_data_order(uint32_t *state, const uint8_t *data,
size_t num) {
uint32_t A, B, C, D, l; uint32_t A, B, C, D, l;
uint32_t XX0, XX1, XX2, XX3, XX4, XX5, XX6, XX7, XX8, XX9, XX10, XX11, XX12, uint32_t XX0, XX1, XX2, XX3, XX4, XX5, XX6, XX7, XX8, XX9, XX10, XX11, XX12,
XX13, XX14, XX15; XX13, XX14, XX15;