Skip to content

Commit 38522c2

Browse files
committed
Adding mpi_force_c_code feature
1 parent d2317b0 commit 38522c2

File tree

1 file changed

+2
-2
lines changed
  • mbedtls-sys/vendor/include/mbedtls

1 file changed

+2
-2
lines changed

mbedtls-sys/vendor/include/mbedtls/bn_mul.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
#include "mbedtls/bignum.h"
4646

47-
#if defined(MBEDTLS_HAVE_ASM)
47+
#if defined(MBEDTLS_HAVE_ASM) && !defined(MBEDTLS_MPI_FORCE_C_CODE)
4848

4949
#ifndef asm
5050
#define asm __asm
@@ -886,7 +886,7 @@
886886
#endif /* SSE2 */
887887
#endif /* MSVC */
888888

889-
#endif /* MBEDTLS_HAVE_ASM */
889+
#endif /* MBEDTLS_HAVE_ASM && !MBEDTLS_MPI_FORCE_C_CODE */
890890

891891
#if !defined(MULADDC_CORE)
892892
#if defined(MBEDTLS_HAVE_UDBL)

0 commit comments

Comments
 (0)