OVMS3-idf/components/mbedtls/port
Jon Shallow 1aaec808da Add DTLS support to libcoap using MbedTLS
This update supports DTLS, TLS is a future TODO

components/coap/CMakeLists.txt:
components/coap/component.mk:

Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c

components/coap/libcoap:

Update the version to include the current version for supporting MbedTLS

components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:

New port files for DTLS

components/coap/port/include/coap_config_posix.h:

Include building with MbedTLS

examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:

Update CoAP client to support DTLS

examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key

New PKI Certs for CoAP client (copied from wpa2_enterprise example)

examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:

Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion

examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key

New PKI Certs for CoAP server (copied from wpa2_enterprise example)

Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379
2019-08-06 10:37:40 +05:30
..
esp32 Update esp_config and add new feature 2019-07-12 11:42:48 +05:30
include Update esp_config and add new feature 2019-07-12 11:42:48 +05:30
esp_bignum.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_hardware.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
esp_mem.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
esp_sha.c esp32: Rewrite esp_sha function 2019-05-13 12:32:45 +08:00
esp_sha1.c move hwcrypto from esp32 to mbedtls 2019-03-26 16:24:22 +08:00
esp_sha256.c move hwcrypto from esp32 to mbedtls 2019-03-26 16:24:22 +08:00
esp_sha512.c move hwcrypto from esp32 to mbedtls 2019-03-26 16:24:22 +08:00
esp_timing.c Add DTLS support to libcoap using MbedTLS 2019-08-06 10:37:40 +05:30
mbedtls_debug.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
net_sockets.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00