mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-23 16:20:49 +00:00
Revert "fix build warning with arm64 gcc 5.4"
This reverts commit da3c206ebde6c29904fb46a61ec7534f90c0d08e. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
da3c206ebd
commit
5b96b81980
@ -165,10 +165,7 @@ static inline const unsigned char *mbedtls_buffer_offset_const(
|
|||||||
* \param b Pointer to input (buffer of at least \p n bytes)
|
* \param b Pointer to input (buffer of at least \p n bytes)
|
||||||
* \param n Number of bytes to process.
|
* \param n Number of bytes to process.
|
||||||
*/
|
*/
|
||||||
static inline void mbedtls_xor(unsigned char *r,
|
inline void mbedtls_xor(unsigned char *r, const unsigned char *a, const unsigned char *b, size_t n)
|
||||||
const unsigned char *a,
|
|
||||||
const unsigned char *b,
|
|
||||||
size_t n)
|
|
||||||
{
|
{
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
#if defined(MBEDTLS_EFFICIENT_UNALIGNED_ACCESS)
|
#if defined(MBEDTLS_EFFICIENT_UNALIGNED_ACCESS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user