Skip to content

Commit 0eb6086

Browse files
ccli8cmonr
authored andcommitted
Support ECP H/W accelerator
1 parent ed6a8d8 commit 0eb6086

File tree

5 files changed

+946
-14
lines changed

5 files changed

+946
-14
lines changed

features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_PFM_M487/mbedtls_device.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,16 @@
2424

2525
#define MBEDTLS_AES_ALT
2626

27+
#define MBEDTLS_ECP_INTERNAL_ALT
28+
/* Support for Weierstrass curves with Jacobi representation */
29+
//#define MBEDTLS_ECP_RANDOMIZE_JAC_ALT
30+
#define MBEDTLS_ECP_ADD_MIXED_ALT
31+
#define MBEDTLS_ECP_DOUBLE_JAC_ALT
32+
#define MBEDTLS_ECP_NORMALIZE_JAC_ALT
33+
#define MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT
34+
/* Support for curves with Montgomery arithmetic */
35+
//#define MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT
36+
//#define MBEDTLS_ECP_RANDOMIZE_MXZ_ALT
37+
//#define MBEDTLS_ECP_NORMALIZE_MXZ_ALT
38+
2739
#endif /* MBEDTLS_DEVICE_H */

0 commit comments

Comments
 (0)