mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-17 08:45:00 +00:00
Test mbedtls in kitchen sink
This commit is contained in:
parent
9c265bc149
commit
b6bb87bd7e
@ -8,7 +8,6 @@
|
||||
#include "pico.h"
|
||||
#include "pico/rand.h"
|
||||
#include "mbedtls/sha256.h"
|
||||
#include "common.h"
|
||||
|
||||
/* Function to feed mbedtls entropy. */
|
||||
int mbedtls_hardware_poll(void *data __unused, unsigned char *output, size_t len, size_t *olen) {
|
||||
|
@ -11,4 +11,10 @@
|
||||
#define LWIP_DNS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define LWIP_NETCONN 0
|
||||
#endif
|
||||
|
||||
// For testing mbedtls
|
||||
#define LWIP_ALTCP 1
|
||||
#define LWIP_ALTCP_TLS 1
|
||||
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
||||
|
||||
#endif
|
||||
|
@ -61,3 +61,4 @@
|
||||
#define MBEDTLS_ECDSA_C
|
||||
#define MBEDTLS_ASN1_WRITE_C
|
||||
|
||||
#define MBEDTLS_PLATFORM_MS_TIME_ALT
|
||||
|
Loading…
x
Reference in New Issue
Block a user