Skip to content

Commit

Permalink
crypto: Adjust Mbed TLS legacy for Mbed TLS v3.6.1 support
Browse files Browse the repository at this point in the history
-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]>
  • Loading branch information
frkv committed Sep 12, 2024
1 parent d125dd6 commit 985a7a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions crypto/nrf_cc310_mbedcrypto/include/mbedtls/ecp_alt.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ mbedtls_ecp_group;
* \{
*/

#if !defined(MBEDTLS_ECP_MAX_BITS)
/**
* The maximum size of the groups, that is, of \c N and \c P.
*/
#define MBEDTLS_ECP_MAX_BITS 384 /**< The maximum size of groups, in bits. */
#endif

#if !defined(MBEDTLS_ECP_WINDOW_SIZE)
/*
* Maximum "window" size used for point multiplication.
Expand Down
7 changes: 0 additions & 7 deletions crypto/nrf_cc312_mbedcrypto/include/mbedtls/ecp_alt.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ mbedtls_ecp_group;
* \{
*/

#if !defined(MBEDTLS_ECP_MAX_BITS)
/**
* The maximum size of the groups, that is, of \c N and \c P.
*/
#define MBEDTLS_ECP_MAX_BITS 384 /**< The maximum size of groups, in bits. */
#endif

#if !defined(MBEDTLS_ECP_WINDOW_SIZE)
/*
* Maximum "window" size used for point multiplication.
Expand Down

0 comments on commit 985a7a6

Please sign in to comment.