Skip to content

Commit 46566f4

Browse files
committed
STM32 MBEDTLS: create mbedtls_device.h for all F437 and F439 targets
1 parent 3f42dfd commit 46566f4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
#define MBEDTLS_DEVICE_H
2222

2323
#define MBEDTLS_AES_ALT
24-
24+
#define MBEDTLS_MD5_ALT
2525
#define MBEDTLS_SHA1_ALT
26+
#define MBEDTLS_SHA256_ALT
27+
// #define MBEDTLS_CCM_ALT // not fully supported yet
28+
// #define MBEDTLS_GCM_ALT // not fully supported yet
2629

27-
#define MBEDTLS_MD5_ALT
2830

2931
#endif /* MBEDTLS_DEVICE_H */
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@
2020
#ifndef MBEDTLS_DEVICE_H
2121
#define MBEDTLS_DEVICE_H
2222

23+
#define MBEDTLS_AES_ALT
24+
#define MBEDTLS_MD5_ALT
25+
#define MBEDTLS_SHA1_ALT
26+
#define MBEDTLS_SHA256_ALT
27+
// #define MBEDTLS_CCM_ALT // not fully supported yet
28+
// #define MBEDTLS_GCM_ALT // not fully supported yet
29+
2330
#endif /* MBEDTLS_DEVICE_H */

0 commit comments

Comments
 (0)