Skip to content

Commit b25ed5a

Browse files
committed
Wolfssl support updated
1 parent e2de043 commit b25ed5a

File tree

8 files changed

+14
-6
lines changed

8 files changed

+14
-6
lines changed

apps/wolfssl/Makefile.wolfssl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ wolfssl_src += $(WOLFSSL_ROOT)/wolfcrypt/src/aes.c \
2020
$(WOLFSSL_ROOT)/wolfcrypt/src/coding.c \
2121
$(WOLFSSL_ROOT)/wolfcrypt/src/compress.c \
2222
$(WOLFSSL_ROOT)/wolfcrypt/src/cpuid.c \
23-
$(WOLFSSL_ROOT)/wolfcrypt/src/cryptodev.c \
2423
$(WOLFSSL_ROOT)/wolfcrypt/src/curve25519.c \
2524
$(WOLFSSL_ROOT)/wolfcrypt/src/des3.c \
2625
$(WOLFSSL_ROOT)/wolfcrypt/src/dh.c \

apps/wolfssl/wolfssl

Submodule wolfssl updated 727 files

apps/wolfssl/wolfssl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@
2525
#include <string.h>
2626
#include <stdlib.h>
2727
#include <stdio.h>
28+
#include <wolfssl/wolfcrypt/settings.h>
29+
#include <wolfssl/wolfcrypt/types.h>
2830
#include "wolfssl.h"
2931
#include <wolfssl/ssl.h>
3032
#include "uip.h"
33+
3134
static int wolfssl_is_initialized = 0;
3235

3336
//#define SSL_DATABUF_LEN (UIP_CONF_BUFFER_SIZE)

apps/wolfssl/wolfssl.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@
2323
*/
2424
#ifndef WOLFSSL_SK_H
2525
#define WOLFSSL_SK_H
26-
#include "wolfssl/ssl.h"
26+
#include <string.h>
27+
#include <stdlib.h>
28+
#include <stdio.h>
29+
#include "wolfssl.h"
30+
#include <wolfssl/ssl.h>
31+
#include "uip.h"
2732
#include "wolfssl/wolfio.h"
28-
#include "user_settings.h"
2933
#include "contiki-net.h"
3034
#include "lib/random.h"
3135
#include "sys/cc.h"
32-
#include <stdlib.h>
36+
#include <wolfssl/wolfcrypt/types.h>
3337

3438
struct uip_wolfssl_ctx *tls_socket_register(WOLFSSL_METHOD* method);
3539
int tls_socket_accept(uip_wolfssl_ctx *sk);

examples/dtls/user_settings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@
5959
#include "contiki-net.h"
6060
#include "sys/cc.h"
6161
#include "wolfssl.h"
62+
#include <wolfssl/wolfcrypt/types.h>

examples/ssl-client/user_settings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@
5757
#include "contiki-net.h"
5858
#include "sys/cc.h"
5959
#include "wolfssl.h"
60+
#include <wolfssl/wolfcrypt/types.h>

examples/ssl-server/ssl-server.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "contiki-net.h"
2626
#include "sys/cc.h"
2727
#include "wolfssl.h"
28-
2928
#include <stdio.h>
3029
#include <stdlib.h>
3130
#include <string.h>

examples/ssl-server/user_settings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@
5757
#include "contiki-net.h"
5858
#include "sys/cc.h"
5959
#include "wolfssl.h"
60+
#include <wolfssl/wolfcrypt/types.h>

0 commit comments

Comments
 (0)