tinyDTLS backend implementation.
tinyDTLS backend implementation.

Summary:
Few basic common SSL functions deduplicated to common.h

Deduplicated system_socket_ssl

Deduplicated close_ssl

Deduplicated interface_name_ssl(), remote_host_ssl(), remote_port_ssl(), local_port_ssl()

Deduplicated get_socket_inner_mtu_or_zero(), get_opt_ssl()

Deduplicated decorate_ssl()

Deduplicated create_ssl_socket()

Deduplicated is_client_cert_empty()

Removed superflous empty line

Deduplicated _avs_net_create_ssl/dtls_socket()

Few basic common SSL functions deduplicated to common.h

Deduplicated system_socket_ssl

Deduplicated close_ssl

Deduplicated interface_name_ssl(), remote_host_ssl(), remote_port_ssl(), local_port_ssl()

Deduplicated get_socket_inner_mtu_or_zero(), get_opt_ssl()

Deduplicated decorate_ssl()

Deduplicated create_ssl_socket()

Deduplicated is_client_cert_empty()

Removed superflous empty line

Deduplicated _avs_net_create_ssl/dtls_socket()

Slightly refactored ssl initialization routines to get rid of duplicated code

Reordered functions a bit

Bumped copyright year

Deduplicated errno_ssl()

Made ssl_common.h header more "hermetic"

tinyDTLS backend stub

Detect SSL when tinydtls backend is enabled

Tinydtls backend stub

Deduplicated bind_ssl()

Working tinyDTLS backend

Fixed bugs, fixed memory leaks

Fixed CMakeLists.txt

Fixed multiple code-style related issues

Small rename

Removed unused variables

Cosmetic changes

Test Plan: make check

Reviewers: marian, kfyatek

Subscribers: marian, kfyatek

Differential Revision: https://phabricator.avsystem.com/D4120

AVSystem/avs_commons,AVSystem/avs_commons,AVSystem/avs_commons,AVSystem/avs_commons