Remove the `_MAC` part because those Kconfig options enable only hash algorithms, nothing MAC-related, and the `_ENABLED` part to align the naming to the Mbed TLS defines (plus we don't need such a part). As a bonus, enabling SHA-256 does not automatically enable SHA-224 anymore. See the migration guide entries for more details on the practical changes. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
38 lines
848 B
Plaintext
38 lines
848 B
Plaintext
# Copyright (c) 2019 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config WEBSOCKET_CLIENT
|
|
bool "Websocket client support [EXPERIMENTAL]"
|
|
select NET_SOCKETS
|
|
select HTTP_PARSER
|
|
select HTTP_PARSER_URL
|
|
select HTTP_CLIENT
|
|
select MBEDTLS
|
|
select BASE64
|
|
select MBEDTLS_SHA1 if MBEDTLS_BUILTIN
|
|
select EXPERIMENTAL
|
|
help
|
|
Enable Websocket client library.
|
|
|
|
config WEBSOCKET
|
|
bool
|
|
default y if WEBSOCKET_CLIENT
|
|
help
|
|
Helper symbol for generic Websocket support.
|
|
|
|
if WEBSOCKET_CLIENT
|
|
|
|
config WEBSOCKET_MAX_CONTEXTS
|
|
int "Max number of websockets to allocate"
|
|
default 1
|
|
help
|
|
How many Websockets can be created in the system.
|
|
|
|
module = NET_WEBSOCKET
|
|
module-dep = NET_LOG
|
|
module-str = Log level for Websocket
|
|
module-help = Enable debug message of Websocket client library.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
endif
|