mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 13:20:21 +00:00
Disable code style correction for bignum assembly
The inline assembly defined in bn_mul.h confuses code style parsing, causing code style correction to fail. Disable code style correction for the whole section gated by "#if defined(MBEDTLS_HAVE_ASM)" to prevent this. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
262851df1c
commit
cb3b6ae580
@ -80,13 +80,12 @@
|
|||||||
|
|
||||||
#endif /* bits in mbedtls_mpi_uint */
|
#endif /* bits in mbedtls_mpi_uint */
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
#if defined(MBEDTLS_HAVE_ASM)
|
#if defined(MBEDTLS_HAVE_ASM)
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
|
||||||
#ifndef asm
|
#ifndef asm
|
||||||
#define asm __asm
|
#define asm __asm
|
||||||
#endif
|
#endif
|
||||||
/* *INDENT-ON* */
|
|
||||||
|
|
||||||
/* armcc5 --gnu defines __GNUC__ but doesn't support GNU's extended asm */
|
/* armcc5 --gnu defines __GNUC__ but doesn't support GNU's extended asm */
|
||||||
#if defined(__GNUC__) && \
|
#if defined(__GNUC__) && \
|
||||||
@ -1006,6 +1005,7 @@
|
|||||||
#endif /* MSVC */
|
#endif /* MSVC */
|
||||||
|
|
||||||
#endif /* MBEDTLS_HAVE_ASM */
|
#endif /* MBEDTLS_HAVE_ASM */
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#if !defined(MULADDC_X1_CORE)
|
#if !defined(MULADDC_X1_CORE)
|
||||||
#if defined(MBEDTLS_HAVE_UDBL)
|
#if defined(MBEDTLS_HAVE_UDBL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user