Skip to content

Commit 8b663cf

Browse files
Charley ChuRaymond Ngun
authored andcommitted
psoc64: Add ability to disable MXCRYPTO
Signed-off-by: Charley Chu <[email protected]>
1 parent ff74ea4 commit 8b663cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#ifndef MBEDTLS_DEVICE_H
1919
#define MBEDTLS_DEVICE_H
2020

21+
#ifndef MXCRYPTO_DISABLED
2122
/* Currently this target supports SHA1 */
2223
// #define MBEDTLS_SHA1_C
2324

@@ -44,4 +45,5 @@
4445
#define MBEDTLS_ECDSA_SIGN_ALT
4546
#define MBEDTLS_ECDSA_VERIFY_ALT
4647

48+
#endif /* #ifndef MXCRYPTO_DISABLED */
4749
#endif /* MBEDTLS_DEVICE_H */

0 commit comments

Comments
 (0)