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:
parent
fb67fae83a
commit
9bbe3632e4
@ -30,7 +30,7 @@ extern "C" {
|
||||
/**
|
||||
* \brief Big-Endian definition for 128 bits elements
|
||||
*/
|
||||
typedef unsigned char be128[16];
|
||||
typedef unsigned char mbedtls_be128[16];
|
||||
|
||||
/**
|
||||
* \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 r result
|
||||
*/
|
||||
void gf128mul_x_ble(be128 r, const be128 x);
|
||||
void mbedtls_gf128mul_x_ble(mbedtls_be128 r, const mbedtls_be128 x);
|
||||
|
||||
|
||||
|
||||
|
@ -1013,7 +1013,7 @@ int mbedtls_aes_crypt_xex( mbedtls_aes_context *crypt_ctx,
|
||||
|
||||
do
|
||||
{
|
||||
gf128mul_x_ble( t_buf, t_buf );
|
||||
mbedtls_gf128mul_x_ble( t_buf, t_buf );
|
||||
|
||||
first:
|
||||
/* PP <- T xor P */
|
||||
|
Loading…
Reference in New Issue
Block a user