Rename exported symbols to please check-names.sh

Exported symbols seem to need the "mbedtls_" prefix, which has been
added to be128 and gf128mul_x_ble.
This commit is contained in:
Aorimn 2016-01-31 13:16:30 +01:00 committed by Jaeden Amero
parent fb67fae83a
commit 9bbe3632e4
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ extern "C" {
/** /**
* \brief Big-Endian definition for 128 bits elements * \brief Big-Endian definition for 128 bits elements
*/ */
typedef unsigned char be128[16]; typedef unsigned char mbedtls_be128[16];
/** /**
* \brief Multiplication in GF(128): * \brief Multiplication in GF(128):
@ -39,7 +39,7 @@ typedef unsigned char be128[16];
* \param x the 128-bits number you want to multiply * \param x the 128-bits number you want to multiply
* \param r result * \param r result
*/ */
void gf128mul_x_ble(be128 r, const be128 x); void mbedtls_gf128mul_x_ble(mbedtls_be128 r, const mbedtls_be128 x);

View file

@ -1013,7 +1013,7 @@ int mbedtls_aes_crypt_xex( mbedtls_aes_context *crypt_ctx,
do do
{ {
gf128mul_x_ble( t_buf, t_buf ); mbedtls_gf128mul_x_ble( t_buf, t_buf );
first: first:
/* PP <- T xor P */ /* PP <- T xor P */