mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 09:35:39 +00:00
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
|
* \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);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue