• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

samples/H10-Feb-2022-1,294921

wolfssl/H10-Feb-2022-10

KconfigH A D10-Feb-20222.8 KiB9376

Kconfig.tls-genericH A D10-Feb-20227.7 KiB273203

README.mdH A D10-Feb-20221.6 KiB7555

include.amH A D10-Feb-20221.5 KiB3331

module.ymlH A D10-Feb-202249 43

user_settings-tls-generic.hH A D10-Feb-20222.8 KiB15691

user_settings.hH A D10-Feb-20222.9 KiB16397

zephyr_init.cH A D10-Feb-20221.1 KiB419

README.md

1Zephyr Project Port
2===================
3
4## Overview
5
6This port is for the Zephyr RTOS Project, available [here](https://www.zephyrproject.org/).
7
8It provides the following zephyr code.
9
10- modules/crypto/wolfssl
11    - wolfssl library code
12- modules/crypto/wolfssl/zephyr/
13    - Configuration and CMake files for wolfSSL as a Zephyr module
14- modules/crypto/wolfssl/zephyr/samples/wolfssl_test
15    - wolfcrypt unit test application
16- modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_sock
17    - socket based sample of TLS
18- modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_thread
19    - socket based sample of TLS using threads
20
21## How to setup as a Zephyr Module
22
23### Modify your project's west manifest
24
25Add wolfssl as a project:
26```
27manifest:
28  remotes:
29    # <your other remotes>
30    - name: wolfssl
31      url-base: https://github.com/wolfssl
32
33  projects:
34    # <your other projects>
35    - name: wolfssl
36      path: modules/crypto/wolfssl
37      revision: master
38      remote: wolfssl
39```
40
41Update west's modules:
42
43```bash
44west update
45```
46
47Now west recognizes 'wolfssl' as a module, and will include it's Kconfig and CMakeFiles.txt in the build system.
48
49## Build & test
50
51build and execute wolfssl_test
52
53```
54cd [zephyrproject]
55west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_test
56west build -t run
57```
58
59### Run wolfSSL example wolfssl_tls_sock
60
61```
62cd [zephyrproject]
63west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_sock
64west build -t run
65```
66
67### Run wolfSSL example wolfssl_tls_thread
68
69```
70cd [zephyrproject]
71west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_thread
72west build -t run
73```
74
75