Skip to content

Commit 985a7a6

Browse files
committed
crypto: Adjust Mbed TLS legacy for Mbed TLS v3.6.1 support
-This removes setting of MBEDTLS_ECP_MAX_BITS as this would result in a build-issue when trying to resolve the largest enabled curve size. This needs to be followed up with a cleanup of MBEDTLS_ECP_LIGHT which is still dependent on BIGNUM and BUILTIN types to be enabled Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent d125dd6 commit 985a7a6

File tree

2 files changed

+0
-14
lines changed
  • crypto
    • nrf_cc310_mbedcrypto/include/mbedtls
    • nrf_cc312_mbedcrypto/include/mbedtls

2 files changed

+0
-14
lines changed

crypto/nrf_cc310_mbedcrypto/include/mbedtls/ecp_alt.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ mbedtls_ecp_group;
8383
* \{
8484
*/
8585

86-
#if !defined(MBEDTLS_ECP_MAX_BITS)
87-
/**
88-
* The maximum size of the groups, that is, of \c N and \c P.
89-
*/
90-
#define MBEDTLS_ECP_MAX_BITS 384 /**< The maximum size of groups, in bits. */
91-
#endif
92-
9386
#if !defined(MBEDTLS_ECP_WINDOW_SIZE)
9487
/*
9588
* Maximum "window" size used for point multiplication.

crypto/nrf_cc312_mbedcrypto/include/mbedtls/ecp_alt.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ mbedtls_ecp_group;
8383
* \{
8484
*/
8585

86-
#if !defined(MBEDTLS_ECP_MAX_BITS)
87-
/**
88-
* The maximum size of the groups, that is, of \c N and \c P.
89-
*/
90-
#define MBEDTLS_ECP_MAX_BITS 384 /**< The maximum size of groups, in bits. */
91-
#endif
92-
9386
#if !defined(MBEDTLS_ECP_WINDOW_SIZE)
9487
/*
9588
* Maximum "window" size used for point multiplication.

0 commit comments

Comments
 (0)